What problem does it solve?
This skill eliminates the common pitfalls of AI-assisted development, such as writing tests that are coupled to implementation details or failing to maintain a proper red-green-refactor loop, ensuring code remains production-grade and maintainable.
Core Features & Use Cases
- Red-Green-Refactor Enforcement: Guides the AI to author honest failing tests before implementation and ensures refactoring only occurs after tests pass.
- Determinism Classification: Automatically classifies code as strict or emergent to determine the appropriate testing strategy.
- Worthiness Audit: Provides a structured, fresh-context review process for emergent surface tests to ensure they provide genuine value.
- Use Case: When building a new feature, use this skill to ensure you are writing integration-style tests that verify behavior through public interfaces, preventing brittle tests that break during refactors.
Quick Start
Use the tdd skill to guide the implementation of the new user authentication module using a test-driven approach.