What problem does it solve? Test suites often accumulate flaky, over-mocked, or low-signal tests that fail for the wrong reasons or never fail at all. This Skill provides concrete criteria for writing and reviewing tests that fail when behavior breaks, pass when it works, and stay cheap to maintain. ## Core Features & Use Cases - Behavior-focused test design: Tests target public contracts rather than implementation details, with guidance on assertions, mocking at real seams, and boundary coverage. - Layered test strategy: Distinct rules for unit, integration, end-to-end, property-based, and fuzz testing, including determinism, isolation, and bounded resource requirements. - Flakiness diagnosis and cleanup: Instructions to preserve first intermittent failures, diagnose root causes, and delete redundant or low-signal tests instead of retrying into green. - Use Case: When reviewing a pull request, ask the agent to evaluate the new tests; it will name the behavior each test protects, flag flakiness risks like wall-clock dependence or shared state, and point out missing edge cases. ## Quick Start Ask the agent to review the tests in your current change and identify which ones are flaky, over-mocked, or missing boundary coverage.