Test Driven Development

Claude Code Skill · development

Test‑Driven Development skill for Claude Code helps developers write tests first, run them, then add minimal code to pass. It’s ideal for anyone who wants reliable, maintainable code before coding.

You MUST use this before writing or changing any production code, including one-line fixes and when the user is in a hurry: a new feature, a bug fix, a refactor, a behavior change. Write the failing test first, run it and watch it fail for the right reason, write the minimal code that passes, then run the whole test suite before saying it is done. Skip it only for throwaway prototypes, generated code or configuration

Install

npx claude-code-templates@latest --skill development/test-driven-development

View on GitHub · by Jesse Vincent (obra/superpowers), adapted by claude-code-tem