kalilurrahman/kr-claudiator-skills/flaky-test-management
Claude Code and agent skill by kalilurrahman/kr-claudiator-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Detect, quarantine, fix, and prevent flaky tests in your test suite. Outputs flakiness detection pipeline, quarantine workflow, root cause categories, and prevention guidelines.
Install
npx vskill@latest install kalilurrahman/kr-claudiator-skills/flaky-test-managementSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Flaky Test Management
Flaky tests — tests that pass and fail without code changes — destroy developer trust in CI. Teams learn to re-run failed builds habitually, hiding real failures. Flaky tests must be systematically detected, quarantined, fixed, and prevented.
Flakiness Detection
Quarantine Workflow
Root Causes and Fixes
Prevention Linting
Anti-Patterns to Avoid
| Anti-Pattern | Problem | Fix | |
|---|---|---|---|
| Retrying without fixing | Masks the problem; wastes CI time | Quarantine + fix within one sprint | |
| Deleting flaky tests | Hides bugs; coverage gap | Fix root cause; delete only if test adds no value | |
| No tracking | Cannot identify systemic patterns | Record every test outcome; track trends | |
| Sleeping instead of waiting | Timing-dependent; brittle | Poll with conditions and explicit timeouts | |
| Global state between tests | Order-dependent; non-reproducible | Isolated fixtures; fresh state per test |
10 Rules
- A test that sometimes fails is always wrong — investigate, don't retry.
- Quarantine flaky tests within 24 hours — don't let them block CI.
- Every quarantined test has an owner and a fix-or-delete deadline (one sprint).
- Track test outcomes over time — detect flakiness before it becomes painful.
- All flaky tests have a root cause: timing, isolation, external deps, or concurrency.
time.sleep()in tests is a red flag — replace with explicit condition polling.- Each test runs in complete isolation — no shared state between tests.
- External services are mocked in unit tests — real calls only in integration tests.
- Parallel execution requires test isolation — separate DB schema per worker.
- Flakiness rate belongs on the quality dashboard — it is a team-level metric.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking07-testing-quality/flaky-test-management/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kalilurrahman/kr-claudiator-skills/flaky-test-management)