Programowanie · Analiza
principle-attack-the-premise
/principle-attack-the-premise
Zapisuje założenie wspólne dla kilku nieudanych poprawek i sprawdza je wprost, zanim napisze kolejną poprawkę.
Dla kogo
- Autor
- michael-denyer ↗
- Repozytorium
- pstack-claude ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
86/ 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ść21 / 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 13.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
Zapisuje założenie wspólne dla kilku nieudanych poprawek i sprawdza je wprost, zanim napisze kolejną poprawkę.
Oryginalny opis (EN)
Apply when two or more fixes that share one premise have failed the same gate. Write the premise down and test it directly before you write another fix that assumes it.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 17 linii, 257 słów
Podgląd SKILL.md
--- name: principle-attack-the-premise description: "Apply when two or more fixes that share one premise have failed the same gate. Write the premise down and test it directly before you write another fix that assumes it." user-invocable: false --- # Attack the Premise When two or more fixes that share one premise have failed the same gate, suspect the premise, not the fixes. **Why:** Each failed fix is evidence against the belief it assumed. A third fix on the same premise spends effort where the evidence already says the cause is not. **Pattern:** - **Write the premise down.** The premise is the one sentence that every failed fix assumed. - **Test the premise before the next fix.** Find an observation that would come out differently if the premise were false, and make it. Look at how the failures are distributed, not only at how large they are. Make the check rerunnable per [Build the Lever](../principle-build-the-lever/SKILL.md). - **Follow the evidence.** If it contradicts the premise, the cause is elsewhere. Look for what the failures have in common that the premise did not predict. If it confirms the premise, ask the next "why" per [Fix Root Causes](../principle-fix-root-causes/SKILL.md). The earlier fixes may have treated a consequence instead of the cause. - **Remove the condition instead of compensating for it**, per the [Laziness Protocol](../principle-laziness-protocol/SKILL.md). If the evidence shows that one part always lands on the losing side, change what puts it there. A mechanism that cleans up after it leaves the cause in place and adds work on every run. **Stop:** Do not start the next fix before the premise is written down and tested. This principle is distinct from [Redesign from First Principles](../principle-redesign-from-first-principles/SKILL.md), which rebuilds a design around a new requirement. It questions a fact the current design assumes.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · michael-denyer/pstack-claude | 86 | MIT |
| arjitj2/open-pstack | 86 | MIT |
| xinhi6716/axiom-atropos | 86 | MIT |
| workerstack/clients | 86 | MIT |
| jirayusueb/egm-stack | 86 | Apache-2.0 |
| robansuini/pstack-codex | 86 | MIT |
| Sup-Film/pstack-omp-lean | 86 | MIT |
| alexanderop/pstack | 86 | MIT |
| chmonitor/chmonitor | 81 | GPL-3.0 |
Migawka bazy z 13.11.2026 · wersja paczki fe93af9b8199 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 100verifiable-premises
Wiąże założenia zadania z cytowanymi źródłami i sprawdza testami, czy zmiana kodu nie łamie tych założeń. - 90proof-covers-the-wrong-thing
Sprawdza, czy dowód obejmuje to, co faktycznie zmieniono, i wskazuje, czego nie obejmuje: zły fragment kodu, zły odbiorca albo nieprzetestowane założenie. - 100nw-refactor
Stosuje poziomy L1 do L6 Refactoring Priority Premise (RPP) do systematycznej refaktoryzacji kodu w uporządkowanych przebiegach poprawiających jakość. - 96principle-test-behavior-not-implementation
Pisze testy przez sposób wywołania kodu przez użytkownika i sprawdza dokładny wynik, który użytkownik widzi. - 100app
Oblicza masę kodu według Absolute Priority Premise Micaha Martina i porównuje alternatywne implementacje, np. podczas refaktoryzacji w TDD. - 100debug
Diagnozuje błąd, niestabilny test lub incydent produkcyjny, zanim ktokolwiek zaproponuje albo napisze poprawkę.