#What it does
The /plan skill creates a detailed implementation plan before writing any code. It analyzes the codebase, considers architecture trade-offs, and presents a step-by-step plan for your approval.
#How to use
bash
/plan Add OAuth login with GitHub and Google#What you get
- Context analysis β Current codebase state, relevant files, patterns
- Architecture decisions β Technology choices with rationale
- File plan β Exactly which files to create, modify, or delete
- Build phases β Ordered steps with dependencies
- Verification β How to test the implementation
#Key feature
The plan waits for your confirmation before executing. You can:
- Approve and start building
- Request changes to the plan
- Ask questions about specific decisions
- Reject and try a different approach
#When to use
- Before any non-trivial feature (more than 2-3 files)
- When you want to understand the approach before committing
- When coordinating with team members on architecture
- Before refactoring that touches many files