What problem does it solve?
This Skill addresses the common pitfalls of test-driven development, such as horizontal slicing and improper mocking, by enforcing a disciplined, vertical-slice approach to software construction.
Core Features & Use Cases
- Vertical Slicing: Guides you through the tracer bullet workflow, ensuring each test corresponds to a single, minimal implementation step.
- Mocking Guidelines: Provides clear rules on when to mock at system boundaries versus when to use real objects, preventing brittle test suites.
- Refactoring Discipline: Enforces the rule of only refactoring while in a GREEN state, ensuring code quality improvements never break existing functionality.
Quick Start
Initiate the tdd skill to plan a new feature by listing the behaviors to test and confirming the public interface design.