test-driven-development

Installation
SKILL.md

Test-Driven Development

Iron Law

No production code without a failing test first.

If you have written production code before a failing test:

  1. Delete the production code
  2. Write the failing test
  3. Make it pass with minimal code
  4. Then refactor

There are no exceptions. "This is too simple to need a test first" is rationalisation.

Red-Green-Refactor Cycle

RED — Write the failing test

Installs
1
GitHub Stars
8
First Seen
Jun 3, 2026
test-driven-development — tstapler/dotfiles