What problem does it solve?
It removes the guesswork from unit testing by turning source code or feature specifications into focused, isolated tests that cover real behavior, edge cases, and error paths.
Core Features & Use Cases
- Standalone file testing: Generate tests directly from one or more source files when no feature spec is available.
- Feature-context testing: Map tests to FEAT-IDs and TASK-IDs when working from
.spec-lite feature plans and implementation files.
- Coverage strategy: Classify files as testable, partially testable, or excluded, then update coverage settings for boilerplate and non-behavioral code.
- Real-world use case: A team adds a validation service with branching rules, boundary checks, and fallback logic; this Skill produces a test suite that exercises each meaningful path while skipping DTOs and framework wiring.
Quick Start
Use the write-unit-tests skill to generate a unit test plan and test cases for the target source file or feature spec, including mocks, edge cases, and coverage exclusions.