flaky-test
/flaky-test
Sprawdza test, który na przemian przechodzi i pada bez zmian w kodzie, szuka źródła niedeterminizmu i nie cofa działającego kodu.
- Autor
- moah0911 ↗
- Repozytorium
- aftermath ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 07.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 07.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Sprawdza test, który na przemian przechodzi i pada bez zmian w kodzie, szuka źródła niedeterminizmu i nie cofa działającego kodu.
Oryginalny opis (EN)
Use when the same test alternates between pass and fail without code edits, or when a failure cannot be reproduced. Rerun to confirm, find the source of nondeterminism, and never revert working code on an unconfirmed flake.
Jak działa
- Confirm before you act
- Plugin behavior
- Never
Podgląd SKILL.md
--- name: flaky-test description: > Use when the same test alternates between pass and fail without code edits, or when a failure cannot be reproduced. Rerun to confirm, find the source of nondeterminism, and never revert working code on an unconfirmed flake. license: MIT --- # Flaky Test A test that changes its mind is evidence about the test or its environment, not about your last edit. ## Confirm before you act 1. Stop. Do not revert or edit yet. 2. Re-run the exact same test command. Capture each outcome. 3. Pass/fail flips with no edit in between → flaky suspected. State the sequence explicitly, for example `pass → fail → pass`. 4. Check the usual sources of nondeterminism, in this order: - time and timezone (`Date.now`, `TZ`, frozen clocks) - ordering and shared state (test isolation, parallel workers) - randomness and seeds (`Math.random`, faker, randomized fixtures) - network, ports, and external services - filesystem state left by an earlier run 5. Label the suspected source as theory until a repeat/seed/isolate experiment proves it. 6. Fix the nondeterminism, not the assertion. Do not delete the test to get green. ## Plugin behavior - The outcome tracker flags `pass → fail → pass` (or the reverse) with no editing between runs. - A flaky signal suppresses checkpoint auto-revert and does not freeze forward edits; rerunning is the next action. - The signal is one-shot. If the next run passes cleanly, stand down. ## Never - Never claim a flake without at least one rerun. - Never weaken or skip an assertion to make a flake disappear. - Never mix a flake fix with unrelated changes. - Never use a flaky result as justification for a broad refactor.
Wersje
W bazie nie ma innych skilli o nazwie flaky-test.
Migawka bazy z 13.11.2026 · wersja paczki f88acde341c0 (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
- 100test-driven-development
Pisze najpierw test, który pada, potem najmniejszy kod, który go przechodzi, przy każdej funkcji, poprawce lub refaktoryzacji. - 90fix-flaky-test
Naprawia przyczynę źródłową testu, który zawodzi sporadycznie, czyli przechodzi raz, a raz nie, albo pada w CI i nie lokalnie, w samym teście lub w produkcie, bez zasłaniania problemu ponowieniem. - 100flaky-test-hunting
Potwierdza i precyzyjnie wskazuje niestabilny test przed poprawką: powtórki, szukanie ziarna, bisekcja kolejności i izolacja. - 100fix-flaky-test
Znajduje i usuwa przyczynę testu, który czasem nie przechodzi, zamiast dokładać ponowienia i dłuższe czekanie. - 90Flaky Test Detector
Wykrywa, analizuje i naprawia niestabilne testy w dowolnym runnerze, zwłaszcza gdy przechodzą lokalnie, a w CI padają. - 100flaky-test-investigation
Pomaga zbadać testy, które przechodzą i padają bez zmian w kodzie albo przechodzą osobno, a padają w pełnym zestawie.