What problem does it solve?
Test-Driven Development helps you prevent regressions and reduce guesswork by forcing you to define desired behavior with a failing test before writing production code.
Core Features & Use Cases
- Test-first design loop: Write a single failing test for the smallest next behavior, then implement the minimum code to make it pass, then refactor without changing behavior.
- Clear sequencing and guardrails: Enforces Red → Green → Refactor discipline, including “run tests and ensure failure first,” “don’t generalize prematurely,” and “run all tests after each change.”
- Behavior-driven development: Helps you decide what to test next by moving from degenerate and happy paths to variations, edges, error cases, and integration.
Quick Start
Tell the tdd skill what feature or function signature you want to build, and ask it to guide you through writing one failing test, implementing the minimum passing code, and refactoring while running the full test suite each time.