What problem does it solve?
Deciding which tests to write for a feature, bug fix, or refactor is often inconsistent and subjective. This Skill provides a structured decision framework that matches the right testing approach to the risk and nature of each code change.
Core Features & Use Cases
- Strategy Selection: Chooses among test-first, regression-first, characterization-first, implementation-first with coverage, or no new test based on the change type.
- Layer Guidance: Directs tests to the lowest sufficient layer—unit, integration, E2E, or manual smoke—so effort matches the boundary being proven.
- Quality and Execution Rules: Enforces behavior-focused assertions, deterministic fixtures, and an efficient narrow-to-broad test execution order.
- Use Case: When fixing a bug in a legacy parser, the Skill guides you to reproduce the failure in a narrow regression test first, then verify the root-cause fix without freezing broken behavior.
Quick Start
Ask the agent to choose and add the right regression test for the bug you are fixing.