TDD Plan Review
既存の実装計画をレビューし、TDD順序に並べ替えます。
Review Process
-
Analyze current plan structure
- Identify where test files are mentioned
- Identify where implementation files are mentioned
-
Check TDD compliance
- Are tests listed before implementation? ✅ or ❌
- Is Step 1 about writing tests? ✅ or ❌
- Are phases (Red/Green/Refactor) labeled? ✅ or ❌
-
Reorder if needed
- Move test-related steps to the beginning
- Add phase labels (Red/Green/Refactor)
- Ensure verification comes last
Before/After Example
Before (Non-TDD)
Step 1: Interface Layer ← implementation first
Step 2: Implementation Layer ← more implementation
Step 3: Use Case Layer ← still implementation
Step 4: Test Files ← tests last (WRONG)
After (TDD)
Step 1: Test Files (Red Phase) ← tests FIRST
Step 2: Implementation (Green Phase)
Step 3: Verification (Refactor Phase)
Output Format
After review, provide:
- TDD Compliance: ✅ or ❌
- Issues found (if any)
- Reordered plan (if needed)