unit-test-writer - Write failing unit tests for TDD Red
Writes unit tests before implementation, emphasizing non-obvious branches and confirming that tests fail for the expected reason.
Tags
Updated: 2026-12-05Capabilities
Typical Inputs
What this skill does
- Read feature specifications
- Write failing unit tests
- Cover non-obvious branches
- Run tests and verify failures
- Document unreachable branches
- Return test files
Inputs
- Feature specification
- Plan ancestry
- Repository source code
- Test runner configuration
Outputs
- Unit test files
- Confirmed failing test results
- Unreachable-branch documentation
Requirements
- Repository read access
- Repository write access
- Test execution access
- Opus model support
