tdd-workflow
Installation
SKILL.md
TDD Workflow for Tetris Game
Test-driven development guidance following the project's strict TDD requirements.
TDD Principles
- Test First: Write tests before implementation
- Red-Green-Refactor: Fail → Pass → Improve
- Co-located Tests: Test files must be next to implementation (
*.test.ts) - 160+ Tests: Comprehensive coverage for all game logic
- Property-based Testing: Use fast-check for critical game mechanics
Test Execution
# Run all tests (160+ tests)
bun test