What problem does it solve?
This Skill identifies test anti-patterns that make suites pass for the wrong reasons, fail intermittently, or stop meaningfully validating production behavior.
Core Features & Use Cases
- Detects structural test flaws like mocks that only assert call counts instead of observable outcomes.
- Flags snapshot misuse where snapshots become the only contract for new logic.
- Finds non-determinism and timing issues such as real time, real randomness, and missing fake timers.
- Evaluates test robustness including brittle selectors, shared mutable state, async races, and coverage games.
- Improves test meaning by requiring negative-case parity, proper Arrange/Act/Assert structure, and mocks that match real behavior.
Quick Start
Ask the AI to review this PR’s test changes for brittle selectors, flaky time/random usage, weak assertions, and missing negative-case coverage, and to produce a bounded list of fix-before-merge items.