test-driven-development (superpowers)
- Testing
The discipline of writing a failing test before any production code: watch it fail for the right reason, add just enough code to make it pass, then refactor. It governs the ORDER in which you write code, not which framework runs it — it is a way of working, not a test runner or a coverage tool.
A situation it fits
Your team wants a lightweight rule to make new work safer: write something that forces you to think about the desired behavior before coding changes and keeps your edits tiny and reversible.
4 scenarios in the bank answer to test-driven-development (superpowers). The rest are in the game.
Skills it gets confused with
These share a family with test-driven-development (superpowers), which is another way of saying they are the ones you might reach for by mistake.
- ai-test-generation (petrkindlmann)Turns a spec, user story, code diff, or API schema into brand-new test code through a staged pipeline — pull out requirements, build a coverage matrix, define the oracles, then emit the tests — with guardrails against invented APIs and assertion-free filler. It AUTHORS fresh tests from requirements; it is not for driving a browser or auditing a suite you already have.
- playwright-cli (microsoft)Drives a real browser one command at a time — open a page, click and type by element reference, read back a DOM snapshot — so an agent can walk through and verify a whole web flow end to end. It is a live browser-driving CLI, not a unit-test framework and not a static page analyzer.
- test-data-generation (ajgeddes)Manufactures realistic, consistent fixtures and seed data with factories and fake-data libraries, so tests get varied users, records, and edge cases without hand-writing each one. It produces the DATA a test feeds on — not the test logic, the assertions, or the runner itself.
Knowing what test-driven-development (superpowers) does is the easy half. Telling it apart from the others under time pressure is the game.
Today's sessiontest-driven-development (superpowers) is part of obra/superpowers. Licence: MIT. The description above was written for this game, not taken from the skill.