test-driven-development
Implements the Red-Green-Refactor cycle, ensuring all production code is preceded by a failing test.
Install
npx skills add https://github.com/obra/superpowers --skill test-driven-developmentStats
| Total installs | 35,928 |
| Weekly installs | 35.6K |
| GitHub stars | 118.4K |
| First seen | Jan 19, 2026 |
| Source | @obra/superpowers |
Summary
- 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
- Covers common rationalizations (testing after, manual verification, sunk cost) with concrete rebuttals and a verification checklist to confirm TDD was followed
Tags
Related skills
| Skill | Installs | vs test-driven-development |
|---|---|---|
| playwright-best-practices | 16,854 | -19,074 |
| code-review | 12,454 | -23,474 |
| skill-standardization | 10,472 | -25,456 |
| writing-plans | 41,732 | +5,804 |
| harden | 30,303 | -5,625 |
FAQ
- How many installs does test-driven-development have?
- test-driven-development has 35,928 total installs and 35.6K installs this week.
- Where is test-driven-development hosted?
- test-driven-development is published by @obra/superpowers at https://github.com/obra/superpowers.
- How many GitHub stars does test-driven-development have?
- test-driven-development has 118.4K GitHub stars.
- When was test-driven-development first indexed?
- OrangeBot.AI first indexed test-driven-development on Jan 19, 2026.
- How do I install test-driven-development?
- Run: npx skills add https://github.com/obra/superpowers --skill test-driven-development