Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Drives code test-first through a BDD-framed red-green-refactor loop with an enforced observed-failure gate.
65% 52%−13 ptsof test cases passed
Passed 12 of 23 test cases with the skill, and 15 of 23 without it.
3 of 3 safety checks passed
Not used yet
This is the canonical reference for the red-green-refactor mechanics the /tdd skill enforces. It is the single source
for the verbatim rules — the SKILL body links here rather than restating them.
Use this phrasing. It resolves the compile-vs-assertion question and the one-test-at-a-time question explicitly:
The laws operate second-by-second. You iterate them roughly a dozen times before a single test is complete. You are never more than a few unwritten lines from a run, and never more than one change from a green or red bar.
The reference loop. Deviations should be deliberate, not accidental:
The test list is a first-class artifact. It starts with every operation you know you need and the null/degenerate version of each. As you make tests pass, the implementation implies new tests and refactorings — write them on the list, do not implement them now. Items left when the session ends are handled explicitly: continue them next session, or move clearly out-of-scope refactorings to a "later" list. A test you can think of that might not work is never moved to "later".
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.