What problem does it solve?
Flaky tests create unreliable CI pipelines, waste developer time on false failure debugging, and erode trust in test suite results. This skill automates the end-to-end process of identifying, diagnosing, and fixing non-deterministic test failures across Python, Go, and JavaScript/TypeScript codebases.
Core Features & Use Cases
- Multi-language pattern scanning: Detects known flaky test anti-patterns in Python, Go, and JS/TS test files using a curated severity-ranked catalog.
- Empirical failure detection: Runs test suites repeatedly to catch intermittent failures that static analysis misses.
- Actionable fix generation: Maps detected issues to concrete before/after code fixes with clear explanations of the flakiness root cause.
Use case: A team experiencing random CI test failures can use this skill to automatically identify the root cause (such as unseeded random values or unmocked external dependencies) and receive a ready-to-implement fix.
Quick Start
Use the detect-flaky skill to scan your project's test suite for flaky patterns and get prioritized, actionable fixes for any issues found.