Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Drives feature, bug-fix, and behavior changes test-first with red-green-refactor, Tidy First separation, and a Canon test list.
73% 86%+14 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 16 of 22 without it.
3 of 3 safety checks passed
Not used yet
Write the test first. Watch it fail. Write minimal code to pass. Then tidy.
Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.
Announce at start: "I'm using the test-driven-development skill to drive this change test-first."
This skill is language-agnostic. The discipline below holds in every language; concrete framework, runner, and idiom examples live in references/languages/ — load the one matching your project.
references/languages/<lang>.md)Always:
Exceptions (ask your human partner first):
Thinking "skip TDD just this once"? Stop. That's rationalization.
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
Wrote code before the test? Delete it. Start over.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.