What problem does it solve?
This skill solves the common failure mode where AI agents write tests and implementation simultaneously, leading to rubber-stamp tests that fail to catch bugs or enforce minimal code. It enforces a rigorous, gated workflow that ensures tests are written against a locked specification before any implementation begins.
Core Features & Use Cases
- Context-Isolated Subagents: Uses separate agents for RED (test writing), GREEN (implementation), and REFACTOR phases to prevent feedback-loop bias.
- Three-Dimension Verification: Validates every cycle for Completeness, Traceability, and Coherence, with severity-tiered findings.
- Spec-Defect Escape Hatch: Automatically halts the pipeline if the specification is found to be contradictory or unimplementable, preventing the encoding of bugs into the codebase.
- Use Case: Use this when building new features where high reliability is required, such as payment logic, authentication flows, or complex data transformations.
Quick Start
Invoke the tdd skill to implement a new feature by typing /tdd followed by your feature requirement.