flaky-tests
Installation
SKILL.md
Flaky Test Detection
Run the test suite multiple times sequentially and identify tests that exhibit intermittent behavior (sometimes pass, sometimes fail). This helps identify unreliable tests that may cause CI failures.
Arguments
Parse $ARGUMENTS as follows:
- First numeric argument: number of runs (default: 10)
- Additional arguments: passed directly to the test command (e.g.,
--filter,-t)
Examples:
/flaky-tests→ 10 runs withpnpm test --run/flaky-tests 5→ 5 runs/flaky-tests 20 --filter=worker→ 20 runs with filter