Superpowers: Test-Driven Development
The test-driven-development skill from obra/superpowers: enforces a strict red-green-refactor cycle, with no production code written before a failing test exists.
What it does
Changes how the agent writes code: it must write a failing test first, watch it fail, write the minimal code to pass, then refactor — and it pushes back when asked to skip the test-first step.
Key capabilities
- Red-green-refactor enforcement
- Failing-test-first workflow
- Refactoring discipline
- Rationalisation resistance (agent argues for the process)
Installation
Follow the obra/superpowers README install for your tool (Claude Code plugin marketplace, Codex, Cursor and others are documented there); the skill lives in skills/test-driven-development/. Review the SKILL.md before enabling.
Source & popularity
| Original source | https://github.com/obra/superpowers/tree/main/skills/test-driven-development |
|---|---|
| GitHub stars | 327212 |
| Forks | 29017 |
| Contributors | 44 (repo) |
| Last updated (source repo) | 2026-11-26 |
Popularity figures are the source repository's, read from the GitHub API at verification time — they describe the repository, not this listing.
Review evidence
GitHub API 2026-11-26 (repo-level): 327,212 stars, 29,017 forks, 44 contributors, pushed 2026-11-26 (same day — actively maintained). No individual user reviews collected; popularity is repo-level evidence only.
Quality score — internal assessment
96/100 — this is our own internal quality assessment against the library rubric (popularity, genuine reviews, GitHub activity, documentation, usefulness, maintenance, compatibility, installation reliability, security). It is not a community rating. Only skills scoring 80+ that also pass every safety, compatibility and authenticity gate are published here.
| popularity | 15 |
| reviews | 9 |
| github | 15 |
| docs | 13 |
| usefulness | 15 |
| maintenance | 10 |
| compat | 5 |
| install | 5 |
| security | 9 |