tdd
Installation
SKILL.md
Test-Driven Design (tdd)
The distinction that matters
Test-first is about ordering. Test-driven is about the design being driven and defended by tests. Writing the test first is a means; it is not the goal. The goal is four properties of what you produce:
- A suite so strong a lazy hack cannot pass it. (defensible)
- Every edge and malformed input explicitly decided, never accidental. (decided)
- A design that changed when the tests told you it was wrong. (design feedback)
- A suite that reads as the specification of the design. (spec)
If you wrote tests first but produced none of these, you did test-first, not test-driven. This skill exists to produce these results in a single pass, by attacking your own work with things you actually run — because reasoning about whether your tests are good is unreliable, but running a cheat against them is not.