tdd-flow
Forces the red-green-refactor cycle on any feature add. Test first, smallest passing implementation second, refactor third.
When to activate
Trigger phrases: add feature, implement, write a function, add support for, should also handle.
Skip when:
- Bug fixing existing code (use a different skill)
- Pure refactor with no behavior change
- One-line edit
- User explicitly disables TDD ("just write it")
The loop
Red — write the test, run it, confirm it fails:
[Description truncada. Veja o README completo no GitHub.]