Trigger Conditions
- When implementing a new feature
- When starting a bug fix with a regression-prevention test
- When safely refactoring existing code
Execution Checklist
- Review
docs/web-frontend/twada-tdd.mdand narrow the target to a single behavior. - Write a failing test (Red) first.
- Add only the minimal implementation to make the test pass (Green).
- Refactor to remove duplication and improve naming.
- Re-run tests after each cycle and proceed to the next behavior.
Reference Documents
docs/web-frontend/twada-tdd.md- t_wada-based TDD strategy (adapted for this project)docs/web-frontend/unit-testing.md- Vitest usage, table-driven testsdocs/web-frontend/api-testing.md- API integration tests