What problem does it solve?
This Skill helps you build features and fix bugs through a disciplined test-driven development loop, so behavior stays correct while the code evolves.
Core Features & Use Cases
- Behavior-first testing: Focuses tests on public interfaces and observable outcomes instead of internal implementation details.
- Red-green-refactor workflow: Guides you through writing one failing test, implementing the minimum change, and then refactoring safely after the suite is green.
- Design and refactoring support: Reinforces deep modules, testable interfaces, and boundary-only mocking to keep tests stable through future changes.
- Use case: Ideal when you are adding a feature, fixing a bug, or untangling a module and want the work to stay organized around small, verifiable behavioral steps.
Quick Start
Use the tdd skill to define the public interface and the next behavior to test, then write one failing test, make the smallest change to pass it, and repeat until the feature is complete.