test-driven-development
Provides a detailed Test-Driven Development (TDD) workflow: write a failing test first, implement minimal code to pass, then refactor, with verification steps, examples, a checklist, and guidance for common situations and rationalizations. Intended to be followed when implementing features, bug fixes, refactors, or behavior changes.
Use when implementing any feature or bugfix, before writing implementation code
- Category: Software development
- Source: obra/superpowers at commit 22f0b46
- Stars: 328234
- License: MIT
- Automated scan and AI review: passed on commit 22f0b46 (2026-11-28). All 2 files read in full by the automated scan and the AI review.
What this skill does on your computer
Instructions only: nothing beyond what your agent normally does.
We checked version 22f0b46 on 2026-11-28. Later changes to the repository haven't been checked; the install command gets the checked version.
Works with
- Claude Code: copy the folder to ~/.claude/skills/test-driven-development/ (or .claude/skills/<skill>/ in a project)
- OpenAI Codex: copy the folder to ~/.codex/skills/test-driven-development/
- GitHub Copilot: copy the folder to .github/skills/test-driven-development/ in your repository
- Cursor: copy the folder to the skills folder in your Cursor settings
- Gemini CLI: copy the folder to the skills folder in your Gemini CLI settings
- Amp: copy the folder to the skills folder in your Amp settings
Install the checked version: npx degit obra/superpowers/skills/test-driven-development#22f0b463e7a5e579904dd6211a520321035526f7 test-driven-development. AI Agents Store never runs skills, and checks can miss things: review the files before you install. How we review skills