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.
In the author’s words
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
The description field from SKILL.md, quoted as written.
Read it before you install it
SKILL.md · 33 lines
Install on its own
Or add it to your stack above and install everything at once.
npx skills add https://github.com/mattpocock/skills --skill tddTrust audit
View the source ↗- Checked automatically and confirmed.
- Resolved (HTTP 200), passed
- Checked automatically and confirmed.
- Resolves · 263,541 stars, passed
- Checked automatically and confirmed.
- Transcribed from the author's own page, passed
- Checked automatically and confirmed.
- Last updated 28 days ago, passed
- Checked automatically and confirmed.
- Credited to Matt Pocock, passed
Goes well with
test-driven-development
Test first, on every feature and every bugfix.
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.
npx skills add https://github.com/obra/superpowers --skill test-driven-development
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