tdd
Build features and fix bugs with a test-first red/green loop.
By Matt PocockMIT licence
What it does
Helps build a feature or fix a bug by first agreeing which user-visible behaviour to test. The assistant writes one failing test, makes the smallest change that passes it, then repeats for the next behaviour. Tests use the software's public interfaces rather than its internal structure. Refactoring belongs to a separate review stage, outside this skill's red/green loop.
Installation
This command adds the whole Matt Pocock's skills collection, which includes tdd.
- Choose the target agent when prompted.
- Include setup-matt-pocock-skills, then run /setup-matt-pocock-skills once per repository.
- This installs editable files. The README also documents agent-specific plugin options; choose one route per agent.
Part of a collection
- Development, Operations