- Home
- Skills
- Testing & Debugging
- flaky-test-detector
Flaky Test Detector
Detect, diagnose, and fix intermittent test failures to stabilize your CI pipeline and restore developer trust.
Free
Works with the AI tools you already use
flaky-test-detector
Example session with this skill installed
Investigate why test_auth_flow is failing intermittently in the CI pipeline. Run a detection loop and provide a diagnosis.
- Read your context and instructions
- Compiled the flaky-test-detector
FLAKY TEST DETECTED: test_auth_flow
Failure rate: 12% (6/50 runs)
Root Cause: Race condition in async session store.
Diagnosis: Fails under high load (-n auto) but passes in isolation.
Recommended Fix: Replace time.sleep(2) with poll-based wait_for(condition).
Connects securely to your tools. The creator never sees your data.
About this skill
What it does
The Flaky Test Detector is a specialized diagnostic skill designed to stabilize your CI/CD pipeline by identifying and resolving non-deterministic test failures. It systematically hunts for the root causes of "intermittent" failures—tests that pass or fail without any code changes—across any language or framework including Python (pytest), JavaScript (Jest), Go, and Java (JUnit).
Why use this skill
Manually debugging flaky tests is a massive time sink. This skill automates the investigative heavy lifting: it runs stress tests with rerun loops, analyzes CI logs for environmental patterns, and scans your codebase for anti-patterns like hardcoded sleeps, shared mutable state, and unmocked external dependencies. It doesn't just find the flakiness; it provides standardized fixes and quarantine strategies to unblock your team immediately.
Supported Features
- Detection Loops: Automated execution of suspected tests (50+ runs) to calculate failure rates.
- Isolation Testing: Detects shared state by running tests in isolation vs. parallel execution.
- Pattern Scanning: Greps for problematic syntax like
Math.random(),sleep(), or global fixtures. - Automatic Quarantining: Generates standard
@skipor@mark.flakywrappers and tracking registries. - CI Integration: Provides YAML configurations for GitHub Actions to detect and report flakes automatically.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
1 install
Downloaded by developers to date
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 3 months ago
- Free to download with an account