Flaky Test Detector — Testing skill for Claude Code
Detect, analyze, and eliminate flaky tests across any test runner.
How to install Flaky Test Detector
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sametcelikbicak/flaky-test-detector and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Flaky Test Detector does
Detect, analyze, and eliminate flaky tests across any test runner. An AI agent skill that identifies non-deterministic test failures, categorizes root causes, and applies targeted fixes.
Alternatives in Testing
- Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
- Flaky Fix — 不安定なテスト(flaky test)の原因を分析し、テストの安定化を試みます 974 ★
- Spy — by spylang - Enforces strict coding conventions with comprehensive testing guidelines, multiple code compilati 678 ★
README
Flaky Test Detector
[](https://awesome.re) [](https://github.com/sametcelikbicak/flaky-test-detector)
Detect, analyze, and eliminate flaky tests across any test runner. An AI agent skill that identifies non-deterministic test failures, categorizes root causes, and applies targeted fixes.
Compatible with **opencode**, **Claude Code**, **Cursor**, **Windsurf**, and **GitHub Copilot**.
What it does
- Detects your test runner (Vitest, Jest, Playwright, Cypress, Mocha, AVA)
- Harvests flaky candidates by running tests multiple times
- Analyzes root causes across 5 categories:
- Async timing issues
- Shared mutable state
- Test isolation gaps
- Environment sensitivity
- Race conditions
- Applies category-specific fixes with proven strategies
- Verifies fixes by re-running the detection loop
- Generates a flaky test report
Install
# rolecraft — install from GitHub (recommended)
npx rolecraft install sametcelikbicak/flaky-test-detector
# or via agentskill.sh
/learn @sametcelikbicak/flaky-test-detector
# or copy manually
cp -r flaky-test-detector .opencode/skills/
Supported runners
- Vitest
- Jest
- Playwright
- Cypress
- Mocha
- AVA
- react-scripts (CRA)
License
MIT
Related Skills
Parallel Fix
Use when facing 3+ independent test failures or broken subsystems with different root causes. Dispatches one a
Claude Skill Flaky Test Detector
Claude Code skill for detecting flaky test patterns that cause intermittent CI failures
Scope Creep Detector
Reads a PRD, spec, or project brief line by line and flags every sentence that will cause scope creep. Identif
Skill CI Churn
GitHub Actions cost analyzer & flaky-test detector for pull requests. Measures wasted CI compute, classifies c
Strategy Smell Test
Applies 7 rigorous smell tests based on Richard Rumelt's framework to detect weak strategy disguised as good s
Flaky Test
Diagnose a flaky test by running it N times. Delegates to flaky-test-isolator subagent — N runs, signature-gro
Related Agents
Dnp Build Error Resolver
🔧 Autonomous iterative build-error fixing — parses dotnet build/test output, diagnoses root causes, and appli
Auto Error Resolver
Fix compilation errors, build failures, type errors, or test failures. Systematically identifies root causes a
Deepseek Tester
DeepSeek testing agent that runs test suites, inspects failures, identifies root causes and suggests fixes wit