bug-regression-red-green
Fix a bug by reproducing it with a failing test, then fixing the code until green and preserving regression protection. Use when the user says "write a regression test", "red test first", "fix this bug properly", "make sure this never breaks again", or when fixing incorrect behaviour with no test covering the broken path.
Pinned to revision 6b6939023979, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/bug-regression-red-green/SKILL.md
- skills/bug-regression-red-green/agents/openai.yaml
- skills/bug-regression-red-green/assets/calm-craft-icon.png
Every link opens the file at its source, pinned to the revision this page describes.