tdd-laravel
Installation
SKILL.md
Test-Driven Development
π CRITICAL: The Refactor Phase Is Mandatory
After EVERY red-green cycle, you MUST:
- Complete the refactor checklist (see refactor-checklist.md)
- Propose refactors to the user with specific code examples
- Get explicit user approval before making any changes
- Execute approved refactors and verify tests still pass
- Display the completed checklist to the user before proceeding
Do NOT skip refactoring. Do NOT proceed to the next test without user approval of refactoring.
The TDD Mantras are:
- ποΈ RED β GREEN β REFACTOR (with user approval) β RED β GREEN β REFACTOR (with user approval) β ...
- π Production code may not be written or modified unless we have a RED test and are trying to make it GREEN.