Create implementation plan with Codex consultation. Use when starting new features or significant changes. Triggers: "/plan", "plan this", "create a plan", "implementation plan".
Create comprehensive implementation plans with Codex consultation.
Gather Context
Consult Codex for Design
Task(subagent_type="general-purpose", prompt="""
Consult Codex for implementation plan:
codex exec --model o3 --sandbox read-only --full-auto "
Plan implementation for: {feature}
Context:
- Existing codebase structure: {structure}
- Related files: {files}
- Requirements: {requirements}
Provide:
1. High-level approach
2. Key components to create/modify
3. Potential challenges
4. Recommended order of implementation
"
Return concise plan summary.
""")
Create Task List
Review with User
## Implementation Plan: {feature}
### Overview
{Brief description of approach}
### Components
1. {Component 1} - {what it does}
2. {Component 2} - {what it does}
### Tasks
- [ ] Task 1
- [ ] Task 2 (depends on Task 1)
- [ ] Task 3
### Considerations
- {Risk or consideration 1}
- {Risk or consideration 2}
### Codex Recommendation
{Summary of Codex's advice}
User: "/plan Add user authentication"
Response: