Superpowers
Back to skills

06

Test-Driven Development

Write the test first. Watch it fail. Write minimal code to pass.

RED-GREEN-REFACTOR. No production code without a failing test first. If you wrote code before the test, delete it and start over.

Read full SKILL.mdNext skill: Systematic Debugging