/superpowers:test-driven-developmentfrom superpowers
Use when implementing any feature or bugfix, before writing implementation code
Ships in superpowers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Production code that exists without a test that failed first: delete it and start at step 1. Keeping it as reference and adapting it while writing tests is testing after.
Assert on real behaviour, not on mock behaviour. Match test style to the surrounding suite. If a test is hard to write, the interface is probably hard to use — treat that as a design signal.
For a bug: write a test that reproduces it, watch it fail, then fix it. The test is what stops the bug coming back.
Terminal state: invoke requesting-code-review.
Depth: writing-good-tests.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tim-hub/superpowers-slim --plugin superpowers9 skills in this plugin
/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./executing-plansUse when you have a written implementation plan to execute task by task/finishing-a-development-branchUse when implementation is complete and tests pass, and the work needs integrating/receiving-code-reviewUse when code review feedback has arrived, before implementing the suggestions