Back to Skills

test-driven-development

Enforces a strict RED → GREEN → REFACTOR loop with an anti-patterns reference. The flagship skill from the Superpowers library.

Testing & DebuggingINTERMEDIATEby obra (Jesse Vincent)
Claude Codetddtestingworkflow

Key Information

Install / Load
/plugin install superpowers@claude-plugins-official
View Source & Install Guide

How This Skill Works

From the Superpowers library. Holds the agent to genuine test-driven development: write a failing test (RED), make it pass with the minimum code (GREEN), then refactor — never skipping ahead or writing implementation before the test.

Includes a testing anti-patterns reference so the agent avoids tautological tests, over-mocking, and tests that can't fail. Installs as part of the Superpowers plugin.