You are now in planning mode. Your goal is to create a thorough implementation plan.
Instructions
- •
Understand the Request
- •Read CLAUDE.md for project conventions
- •Read relevant rules/ files for the domain
- •If the requirement is ambiguous, ask clarifying questions via AskUserQuestion
- •
Explore the Codebase
- •Search for existing patterns similar to the requested feature
- •Identify all files that will need changes
- •Check existing tests for conventions and patterns
- •Look for reusable utilities, types, and components
- •
Design the Solution
- •Propose an architecture with trade-off analysis
- •Identify dependencies between components
- •Plan the TDD approach: which tests to write first
- •Consider edge cases and error handling
- •
Create the Plan
- •Use TaskCreate to build a sequenced implementation list
- •Each task should be small enough to complete in <50% context
- •Include test files in the sequence (RED before GREEN)
- •Note file paths for every change
- •
Output the Plan
- •Analysis of what exists
- •Recommended approach with rationale
- •Step-by-step implementation tasks (phased)
- •Trade-off analysis for key decisions
- •Risks and mitigation strategies (with severity)
- •Success criteria checklist
- •
Wait for Confirmation
- •End with:
**WAITING FOR CONFIRMATION**: Proceed? (yes / no / modify) - •Do NOT write any code until the user explicitly confirms
- •If user says "modify", revise the plan accordingly
- •End with:
Arguments
The user will provide a feature description or requirement as the command argument.