The Superpowers take on TDD, written to trigger before implementation code exists rather than after. Pairs with verification-before-completion, which is what stops the agent declaring the tests green without running them.
In the author’s words
Use when implementing any feature or bugfix, before writing implementation code
The description field from SKILL.md, quoted as written.
Read it before you install it
SKILL.md · 315 lines
Install on its own
Or add it to your stack above and install everything at once.
npx skills add https://github.com/obra/superpowers --skill test-driven-developmentTrust audit
View the source ↗- Checked automatically and confirmed.
- Resolved (HTTP 200), passed
- Checked automatically and confirmed.
- Resolves · 287,591 stars, passed
- Checked automatically and confirmed.
- Transcribed from the author's own page, passed
- Checked automatically and confirmed.
- Last updated 2 months ago, passed
- Checked automatically and confirmed.
- Credited to Jesse Vincent, passed
Goes well with
tdd
Red, green, refactor, run by the agent.
Test-first for features and bug fixes, with integration tests rather than mocks where the integration is the risk. The discipline it adds is writing the failing test before the agent is allowed near the implementation.
npx skills add https://github.com/mattpocock/skills --skill tdd
TestingFull page & trust audit →verification-before-completion
No success claim without the command output behind it.
Fires the moment the agent is about to say something is done, fixed or passing. It has to run the verification and read the output first. If you have ever been told the build is green when it is not, this is the skill for that.
npx skills add https://github.com/obra/superpowers --skill verification-before-completion
webapp-testing
Drives a local web app with Playwright.
Lets the agent open your dev server, click through it, screenshot what it sees and read the browser console. The gap it closes is an agent that writes frontend code it has never actually run.
npx skills add https://github.com/anthropics/skills --skill webapp-testing