What problem does it solve?
Writing consistent, well-scoped tests is often skipped or done inconsistently during AI-assisted development. This Skill provides a structured testing mode that enforces project testing standards, scopes test runs to changed files, and produces documented test summaries.
Core Features & Use Cases
- Scoped Test Execution: Runs only tests relevant to changed files rather than the entire suite, with configurable commands for full, specific, and coverage runs.
- Test Authoring Guidance: Provides priorities for unit and integration tests, covering happy paths, error states, edge cases, and invalid inputs.
- Hard-to-Test Code Strategy: Offers a seam ladder (pure helper, injectable adapter, module mock, integration test) plus characterization tests for legacy code and a coverage-debt ledger.
- Use Case: After implementing a new feature, invoke this Skill to author tests for the changed modules, run them with coverage, and generate a versioned test summary in docs/4-unit-tests/.
Quick Start
Ask the AI to enter testing mode and write tests for the authentication module, then run the relevant test suite with coverage.