What problem does it solve?
This skill addresses the common pitfalls of Test-Driven Development, such as horizontal slicing (writing all tests before implementation) and coupling tests to internal implementation details rather than observable behavior.
Core Features & Use Cases
- Vertical Slicing Workflow: Guides the user through a cycle of one test followed by one minimal implementation, ensuring the system is always in a verifiable state.
- Behavior-Driven Design: Focuses on testing public interfaces and system behavior, ensuring tests remain robust even after internal refactoring.
- Deep Module Design: Provides principles for creating small interfaces with deep implementations, reducing cognitive load and maintenance debt.
Quick Start
Apply the tdd skill to guide the development of the new data collector module by defining the most critical public behavior first.