What problem does it solve?
This skill addresses the common pitfalls of test-driven development, such as testing implementation details instead of behavior, and prevents the anti-pattern of horizontal slicing where tests are written in bulk without actual implementation feedback.
Core Features & Use Cases
- Vertical Slicing: Guides you through the tracer bullet approach, ensuring each test corresponds to a single, minimal implementation step.
- Behavior-Driven Design: Focuses on testing public seams and observable behavior, ensuring your test suite remains resilient during refactoring.
- Refactoring Guardrails: Provides clear criteria for when to refactor and how to maintain behavior-preserving changes without adding scope.
Quick Start
Invoke the tdd skill to help me implement the new user authentication feature using a vertical red-green-refactor cycle.