test-driven-development

Installation
SKILL.md

Test-Driven Development

Iron Law

No production code without a failing test first.

No exceptions. Not for "simple" changes. Not for "obvious" fixes. Not under time pressure.

RED-GREEN-REFACTOR

1. RED — Write a failing test

  • One minimal test with a clear name
  • Use real code, not mocks (unless unavoidable)
  • Watch it fail. Verify it fails for the RIGHT reason.

2. GREEN — Write minimal code to pass

  • Only enough code to make the test pass
Related skills
Installs
2
GitHub Stars
3
First Seen
Apr 2, 2026