What problem does it solve?
Teams often build features without a disciplined feedback loop, leading to fragile code and missed requirements. This skill provides a clear workflow for adopting Test-Driven Development (TDD) using red-green-refactor cycles to guide design and ensure public behavior is validated by tests.
Core Features & Use Cases
- Planning with tracer bullets: Define one observable behavior, write a failing test, and implement just enough code to pass.
- Vertical slices over horizontal work: Focus on end-to-end functionality through small, testable increments.
- Safe refactoring guardrails: Use refactor steps after each passing test to improve design without changing observable behavior.
- Educational guidance: Includes anti-patterns and best practices to help teams learn TDD in real projects.
Quick Start
Identify a single observable behavior, write a failing test, then implement just enough code to make it pass.