Test-Driven Development

Forces Claude into strict red-green-refactor discipline.

Test report

Verdict
Tested · Works
Score
9.6/10
Tested
Jun 25, 2026
Environment
Claude Code 2.x

Enforced red-green-refactor across a 3-feature session; Claude wrote failing tests first every time and refused to skip the cycle. Noticeably fewer regressions.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 9/10
  • Docs & honesty 5/5

What it does

Part of the Superpowers collection. Makes Claude write the failing test before any implementation, every time. The difference in output quality on non-trivial features is real and repeatable.

Install

/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Appears in