Agent skill
tdd-plan-review
Review and reorder existing implementation plans to follow TDD methodology. Use when user has a plan that puts implementation before tests, or when validating plan structure for TDD compliance. Reorganizes steps to ensure test-first approach.
Stars
1
Forks
2
Install this agent skill to your Project
npx add-skill https://github.com/uuta/dotfiles/tree/main/skills/tdd-plan-review
SKILL.md
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)
Didn't find tool you were looking for?