# Test Driven Development (agent skill)

> Test Driven Development is an agent skill (a SKILL.md file) from obra/superpowers. Agents load it when implementing any feature or bugfix, before writing implementation code. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 296,071 GitHub stars across a repository of 10 listed skills.

Use when implementing any feature or bugfix, before writing implementation code Write the test first. Watch it fail. Write minimal code to pass.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/obra/superpowers |
| Skill path | skills/test-driven-development/SKILL.md |
| Skill name | test-driven-development |
| GitHub stars | 296,071 |
| Installs on skills.sh | 242,482 |
| License | MIT |
| Skills in repo | 10 |
| Plugin marketplace | superpowers-dev |
| Official | no |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode |
| Category | Testing & QA |
| Last commit | Sep 25, 2026 |

## Add this skill

### Claude Code

```sh
/plugin marketplace add obra/superpowers
/plugin install superpowers@superpowers-dev
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/obra/superpowers.git
cp -r superpowers/skills/test-driven-development .agents/skills/test-driven-development   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/obra/superpowers.git
cp -r superpowers/skills/test-driven-development .cursor/skills/test-driven-development   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/obra/superpowers/test-driven-development

---

Canonical page: https://appsgit.com/skills/obra-test-driven-development
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
