# test-driven-development

> test-driven-development enforces red-green-refactor: no production code without a failing test first. Install with npx skills add obra/superpowers --skill test-driven-development.

- Page: https://skill123.app/skills/test-driven-development/
- Category: development
- Platforms: cursor, claude, codex, agents
- Quality score: 95/100
- Last verified: 2026-06-22
- Source: https://github.com/obra/superpowers

## When to use

- Implementing a feature
- Fixing a bug
- Refactoring behavior

## Install

```bash
npx skills add https://github.com/obra/superpowers/tree/main/skills/test-driven-development
```

Agents can also read https://skill123.app/install/skill123.md and install this skill.
