← The Directory
Skill

Test-Driven Development

Strict red-green-refactor loop: write the failing test first, always.

View source

Test-Driven Development

  1. Write a failing test
  2. Watch it fail
  3. Write minimal code to pass
  4. Refactor

The skill forbids writing production code without a failing test.