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

fix-with-proof

/fix-with-proof

Naprawia błąd lub spowolnienie na dowodach: odtwarza problem, szuka, gdzie się zaczął, i potwierdza poprawkę tym samym odtworzeniem.

Repozytorium
ccm-stack ↗
Licencja
MIT
Ostatnia zmiana repozytorium
10.11.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 10.11.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

Naprawia błąd lub spowolnienie na dowodach: odtwarza problem, szuka, gdzie się zaczął, i potwierdza poprawkę tym samym odtworzeniem.

Oryginalny opis (EN)

Fix a defect with evidence: reproduce, find where it started, prove the fix with the same reproduction; explain any measured number. Use for any bug or slowness.

Jak działa

  1. 1. Reproduce
  2. 2. Find where it started
  3. 3. When two fixes fail, attack the premise
  4. 4. Prove the fix
  5. 5. Explain every number
  6. Report
Sekcje z nagłówków SKILL.md, w oryginale · 41 linii, 440 słów
Podgląd SKILL.md
---
name: fix-with-proof
description: Fix a defect with evidence: reproduce, find where it started, prove the fix with the same reproduction; explain any measured number. Use for any bug or slowness.
---

# Fix with proof

Every line you ship in a fix traces to something you saw happen. A change that "might help" is a guess, and guesses do not ship.

## 1. Reproduce

See the defect yourself on the surface the person uses: the screen, the route, the command. Write down the exact steps and the wrong result. If it does not reproduce, narrow the conditions, add logging, or build the trigger until it does. A fix without a reproduction is not done.

## 2. Find where it started

The symptom is where a wrong state became visible. The cause is the first place the system did something it should not.

- Ask "why" at each step until the answer is a wrong decision in the code, not a consequence of an earlier one.
- When unsure, instrument: read the real error, the real values, the real state. Do not guess from reading code.
- Ask whether the state that broke is legitimate. If it may happen, handling it where it broke is the fix. If it should never exist, a guard there hides the bug: find what produced it.
- Guards, retries, swallowed errors and clamped values are the usual ways a bug gets hidden.
- Something fails only after a restart? Suspect saved state first: caches, config files, lock files.
- Fix the pattern, not just the instance: search for the same fault elsewhere.

## 3. When two fixes fail, attack the premise

If two fixes that share one belief failed the same way, write that belief as one sentence and test it directly before a third fix. Look at how the failures are distributed, not only at how big they are.

## 4. Prove the fix

Run the same reproduction. "Inconclusive" or "passed on a different surface" is not a pass. Where a cheap test exists, commit the failing test first and the fix on top.

## 5. Explain every number

Before you report a speedup, a regression, a latency or a score:

- State how many runs, the spread between them, and the result that would have changed your decision.
- Name what limits the number (CPU, a lock, the network, the load generator). If you cannot say why it is not twice as good, you do not know what you measured.
- Rule out the usual impostors: errors, cached or skipped work, code that never ran, a side left on defaults, noise.
- If the spread is larger than the effect, there was no effect.

## Report

What was broken, the cause, the fix, and the reproduction output before and after, pasted as it ran.

Wersje

W bazie nie ma innych skilli o nazwie fix-with-proof.

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

Pobrania w ostatnich 30 dniach: 1 · ranking

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

Podobne skille

  • 100fix-bug
    Odtwarza błąd, znajduje przyczynę, naprawia ją w miejscu i sprawdza poprawkę na tym samym odtworzeniu.
  • 100bug-fix
    Naprawia błędy zgłoszone w projekcie Device: odtwarza je, pisze mały test, znajduje przyczynę i potwierdza poprawkę.
  • 96fix
    Naprawia błąd metodą Concordia: najpierw odtwarza go w nieprzechodzącym teście, szuka przyczyny, stosuje najmniejszą poprawkę i ją dowodzi.
  • 100fix-bug
    Naprawia zgłoszony błąd w React Router na podstawie zgłoszenia GitHub: pobiera issue, znajduje reprodukcję, pisze nieprzechodzący test i implementuje poprawkę.
  • 96fix-bug
    Naprawia usterkę: odtwarza ją, pisze nieprzechodzący test, znajduje przyczynę, poprawia kod i zapisuje wniosek.
  • 90reproduce-and-fix-issues
    Odtwarza i naprawia zaufane zgłoszenie błędu lub problemu z wydajnością w ramach wskazanej funkcji.

Uwagi i zgłoszenia

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