Category: Development
Test-Driven Development (Superpowers)
Superpowers TDD skill: write tests before implementation code.
Works with
What it does
- Test-Driven Development (TDD)
- Write the test first. Watch it fail. Write minimal code to pass.
- Core principle:* If you didn't watch the test fail, you don't know if it tests the right thing.
- Violating the letter of the rules is violating the spirit of the rules.*
When to use it
Superpowers TDD skill: write tests before implementation code.
How to install
- Run the command below in your terminal. Pick the agents you use (Claude Code, Codex, Cursor, Gemini CLI, Copilot, and more) and it installs into the right folder.
npx skills add https://github.com/obra/superpowers --skill test-driven-development
- To install manually, download the
test-driven-developmentskill folder from the GitHub repository and copy it into your agent's skills folder, such as~/.claude/skills/or.cursor/skills/. - Ask your agent for a related task and the skill is used automatically.