Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

qa-flaky-test-hunter

/qa-flaky-test-hunter

Diagnozuje niestabilne testy: klasyfikuje przyczynę jako czasową, kolejnościową, zasobową lub zewnętrzną, izoluje je i opisuje plan naprawy.

Repozytorium
guild ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.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

Diagnozuje niestabilne testy: klasyfikuje przyczynę jako czasową, kolejnościową, zasobową lub zewnętrzną, izoluje je i opisuje plan naprawy.

Wyzwalacze z opisu

this test is flakydiagnose why X keeps failing intermittentlyhunt down the flaky tests in Xwhy does X pass locally but fail on CIquarantine the flaky tests in Xinvestigate the intermittent failures in X
Oryginalny opis (EN)

Diagnoses flaky tests — classifies the cause (timing / ordering / resource / external), quarantines the test safely, and lays out a fix plan. Output: per-test flakiness report, quarantine list, and remediation plan. Pulled by the `qa` specialist. TRIGGER: "this test is flaky", "diagnose why X keeps failing intermittently", "hunt down the flaky tests in X", "why does X pass locally but fail on CI", "quarantine the flaky tests in X", "investigate the intermittent failures in X". DO NOT TRIGGER for: picking test shapes for a new feature (use `qa-test-strategy`), authoring property-based tests (us

Jak działa

  1. What you do
  2. Output shape
  3. Anti-patterns
  4. Handoff
Sekcje z nagłówków SKILL.md, w oryginale · 39 linii, 355 słów
Podgląd SKILL.md
---
name: qa-flaky-test-hunter
description: Diagnoses flaky tests — classifies the cause (timing / ordering / resource / external), quarantines the test safely, and lays out a fix plan. Output: per-test flakiness report, quarantine list, and remediation plan. Pulled by the `qa` specialist. TRIGGER: "this test is flaky", "diagnose why X keeps failing intermittently", "hunt down the flaky tests in X", "why does X pass locally but fail on CI", "quarantine the flaky tests in X", "investigate the intermittent failures in X". DO NOT TRIGGER for: picking test shapes for a new feature (use `qa-test-strategy`), authoring property-based tests (use `qa-property-based-tests`), writing snapshot tests (use `qa-snapshot-tests`), fixing an application bug exposed by a test (owning service group), CI runner capacity tuning (devops-infrastructure-as-code), observability of prod flakiness (devops-observability-setup).
when_to_use: The parent `qa` specialist pulls this skill when the task requires investigating intermittent test failures, classifying them, and returning a remediation plan. Also fires on explicit user request.
type: specialist
---

# qa-flaky-test-hunter

Flaky tests rot the signal of the whole suite; diagnosis-before-fix prevents both silent data loss and hidden bugs.

## What you do

Treat flakiness as a diagnosable phenomenon, not a nuisance to retry. Classify each flaky test, quarantine responsibly with an expiry, and hand back a concrete fix plan — never "we added a retry."

- Reproduce with a tight loop (`--repeat 50` / `--count` / stress harness) to confirm flakiness.
- Classify: timing (sleep / race), ordering (shared state / test order), resource (port / file / DB), external (network / clock / third-party), nondeterminism (unsorted output, hashing).
- Inspect test isolation: shared mutable state between tests is a top cause.
- Quarantine with an expiry date and an owner — never "quarantine and forget."
- Write the fix plan: what change eliminates the cause, not masks it.
- If blocked on environment, flag that explicitly — don't call it fixed.

## Output shape

A `flakiness-report.md` containing:

1. **Per-test entries** — test id · reproduction command · classification · evidence.
2. **Quarantine list** — tests moved out of the blocking suite, each with expiry + owner.
3. **Fix plan** — ordered list of remediations, smallest first.
4. **Prevention** — policy changes (e.g. ban `sleep`, require DB cleanup in fixtures).
5. **Metrics** — before/after flake rate from CI telemetry if available.

## Anti-patterns

- Blanket retries — hides the bug and trains devs to ignore failures.
- Deleting tests without diagnosis — you lose the symptom and the signal.
- Quarantine with no expiry — tests rot indefinitely and bitrot becomes the norm.
- `sleep(ms)` as the fix — replaces one race with a slower one.
- Hiding time bombs — a test that fails only on Feb 29 is still broken.
- Fixing symptoms (adding assertions) without finding the race.

## Handoff

Return the report path and quarantine list to the invoking `qa` specialist. If a fix lives in application code, the qa agent hands off to the owning service specialist (backend / mobile). If the root cause is CI infrastructure, handoff chains to `devops-infrastructure-as-code` or `devops-observability-setup`. This skill does not dispatch.
Pliki w paczce (2)
  • SKILL.md 3 KB
  • evals.json 1 KB

Wersje

W bazie nie ma innych skilli o nazwie qa-flaky-test-hunter.

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

Pobrania w ostatnich 30 dniach: 2 · ranking

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

Podobne skille

  • 100flaky-test-diagnosis
    Diagnozuje niestabilne testy przez powtarzanie, klasyfikuje przyczynę, czyli czas, kolejność, stan wspólny lub środowisko, i naprawia albo izoluje.
  • 95wicked-garden-qe-flaky-test-hunter
    Wykrywa niestabilne testy, analizuje ich historię i klasyfikuje przyczyny, nie traktując ponownych prób jako poprawki.
  • 90Flaky Test Detector
    Wykrywa, analizuje i naprawia niestabilne testy w dowolnym runnerze, zwłaszcza gdy przechodzą lokalnie, a w CI padają.
  • 90test-flakiness-triage
    Przegląda raporty niestabilnych testów, historię powtórzeń CI i testy zawodzące sporadycznie, przypisuje każdemu kategorię przyczyny źródłowej oraz ścieżkę naprawy lub kwarantanny, wyłącznie statycznie.
  • 100flaky-test-management
    Pomaga wykrywać, triażować, szukać przyczyn, poddawać kwarantannie i eliminować niestabilne testy, w tym strategię ponowień i testy przechodzące lokalnie, ale padające w CI.
  • 100fix-flaky
    Triażuje i naprawia niestabilne testy w projekcie Semaphore: wskazuje najgorsze przypadki, diagnozuje przyczynę, pisze poprawkę lub uzasadnioną kwarantannę i weryfikuje ponownym uruchomieniem.

Uwagi i zgłoszenia

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