
#122 by installsTesting & QA
test-driven-development
TDD loop: write the failing test first, implement the minimal fix, verify, then refactor
245K
6.2K
295.3K
Jan 19, 2026
Install
npx skills add https://github.com/obra/superpowers --skill test-driven-developmentWhat it does
Write tests first, watch them fail, then implement minimal code to pass. Use when implementing any feature or bugfix, before writing implementation code
- Follows the red-green-refactor cycle: write a failing test, verify it fails correctly, implement minimal code to pass, then refactor while keeping tests green
- Requires deleting any production code written before tests exist; no exceptions for "reference" or "adaptation"
- Emphasizes watching tests fail as proof they actually test the right thing; tests that pass immediately prove nothing