Plan Skill - Implementation Planning
Create comprehensive implementation plans with Codex consultation.
Workflow
- •
Gather Context
- •Explore codebase for related code
- •Understand existing patterns
- •Identify dependencies
- •
Consult Codex for Design
codeTask(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
- •Break down into actionable tasks
- •Set dependencies
- •Estimate scope (not time)
- •
Review with User
- •Present plan
- •Gather feedback
- •Adjust as needed
Output Format
markdown
## 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}
When to Use
- •Starting new features
- •Significant refactoring
- •Architecture changes
- •Complex bug fixes
Example Usage
User: "/plan Add user authentication"
Response:
- •Explore existing auth-related code
- •Consult Codex for auth design
- •Create task breakdown
- •Present plan for approval