Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

fix

/fix

Prowadzi test-first cykl naprawy błędu, a potem wchodzi w wyraźnie zażądany przepływ SDLC; uruchamia się wyłącznie na jawne wywołanie.

Autor
fx ↗
Repozytorium
cc ↗
Licencja
MIT
Ostatnia zmiana repozytorium
08.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 08.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Prowadzi test-first cykl naprawy błędu, a potem wchodzi w wyraźnie zażądany przepływ SDLC; uruchamia się wyłącznie na jawne wywołanie.

Oryginalny opis (EN)

Explicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Runs a test-first bug-fix lifecycle and then enters the explicitly requested SDLC workflow.

Jak działa

  1. Critical Rule: Test-First Verification
  2. Why Test-First?
  3. Action
Sekcje z nagłówków SKILL.md, w oryginale · 94 linii, 513 słów
Podgląd SKILL.md
---
name: fix
description: "Explicit-use only — invoke when the user explicitly names this skill, or when an active explicitly invoked workflow calls it. Runs a test-first bug-fix lifecycle and then enters the explicitly requested SDLC workflow."
---

# Fix (Test-First Bug Resolution)

Entry point for bug fixes that **mandates test-first verification**. Before ANY fix is implemented, the bug MUST be reproduced via automated test.

## Critical Rule: Test-First Verification

**NEVER proceed with a fix without first writing a failing test that reproduces the bug.**

This is NON-NEGOTIABLE. The workflow is:

1. **Understand** the bug report/error
2. **Write a failing test** that reproduces the issue (most concise test possible)
3. **Verify** the test fails for the right reason
4. **Then and only then** implement the fix
5. **Verify** the test passes

If you cannot reproduce the bug via automated test:
- Ask the user for more information
- Investigate further to understand the root cause
- DO NOT guess at fixes

## Why Test-First?

- **Confirms understanding**: If you can't write a test, you don't understand the bug
- **Prevents false fixes**: A test proves the fix actually works
- **Prevents regressions**: The test lives on to catch future breaks
- **Most efficient**: Avoids back-and-forth of "try this, did it work?"

## Action

**MANDATORY: Load the SDLC skill, then follow the Fix Workflow variation.**

```
Skill tool: skill="fx-dev:dev"
```

After the skill loads, execute with this modified Step 2 (Requirements Analysis):

### Modified Step 2: Bug Reproduction via Test

Before ANY implementation:

1. **Analyze the bug report** to understand expected vs actual behavior
2. **Write the most concise failing test** that reproduces the bug:
   ```
   Agent tool:
     prompt: "Load the dev skill (Skill tool: skill='fx-dev:dev') and act in its Implementer role, then:

              Write a FAILING test that reproduces this bug:

              [BUG DESCRIPTION]

              Requirements:
              - Test must be as concise as possible
              - Test must fail with the reported error/behavior
              - Test must pass after the bug is fixed
              - NO implementation yet - only the test
              - Commit the failing test

              Output: Test file path and failure output"
     description: "Write failing bug test"
   ```
3. **Verify the test fails** for the expected reason
4. **Only then** proceed to Step 3 (Planning) and Step 4 (Implementation)

### Modified Step 4: Fix Implementation

When implementing the fix:

```
Agent tool:
  prompt: "Load the dev skill (Skill tool: skill='fx-dev:dev') and act in its Implementer role, then:

           Fix this bug. The failing test is at [TEST PATH].

           [PLAN FROM STEP 3]

           [PASTE THE SCOPE BRIEF VERBATIM HERE]

           Requirements:
           - Implement the minimal fix
           - The failing test must now pass
           - All other tests must still pass
           - Commit the fix

           Output: Files changed and test results"
  description: "Implement bug fix"
```

**"Minimal fix" is the scope contract of this skill.** A bug report authorizes fixing that bug, not refactoring the code around it. Carry the Scope Brief (`fx-dev/skills/dev/references/scope-contract.md`) into implementation and into every reviewer call, and if the bug turns out to require a redesign, a migration, or changes to subsystems the report never mentioned, **stop and tell the user** with the cheapest option first — do not deliver a refactor in response to "fix this bug real quick".

The SDLC skill provides the remaining mandatory steps (PR creation, review, CI). Follow them exactly.

Wersje

RepozytoriumWynikLicencja
Ta strona · fx/cc100MIT
swingerman/engineer100MIT
Hainrixz/claude-seo-ai100MIT
vanducng/skills100MIT
RemiPelloux/kill-my-idea100MIT
tony/skills100MIT
applelog/nondev-kit100MIT
A7-studio/jobmigo100MIT
koda-ai-studio/agent-bom100Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki 970924e26a83 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100upstream-contrib
    Wykonuje wskazany przepływ pracy, zgłaszając zmiany z konsumenta do upstreamu fx/ui, wyłącznie na wyraźne wezwanie.
  • 92pr-check-monitor
    Monitoruje sprawdzenia pull requesta i koordynuje poprawki CI, ale tylko wtedy, gdy użytkownik wyraźnie o to poprosi.
  • 100workflow-fix-and-ship
    Prowadzi jeden cykl naprawy błędu: triage, odtworzenie, debugowanie, test regresji, poprawka, kontrola na żywo, pull request i opcjonalna weryfikacja wdrożenia.
  • 100dev-workflow
    Uruchamia zarządzany potok SDLC dla elementu pracy, wyłącznie po jawnym wywołaniu /dev-workflow z identyfikatorem, nigdy autonomicznie ani z subagenta.
  • 100sdlc-test-first
    Prowadzi budowę lub zmianę zachowania pętlą testów automatycznych, tylko na wyraźne wywołanie polecenia.
  • 90sdlc-bugfix
    Odtwarza zgłoszony błąd, znajduje jego przyczynę źródłową, naprawia go i dodaje test regresji, wyłącznie na wyraźne wywołanie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.