Skip to main content
The /plan command creates a detailed project plan using the project-planner agent. This workflow generates only planning documents—no code is written.

Critical rules

NO CODE WRITING: This command creates plan files only. Code implementation comes later.
Socratic Gate: The planner will ask clarifying questions before creating the plan.
Dynamic Naming: Plan files are named based on your task (e.g., PLAN-ecommerce-cart.md).

When to use this

Large projects

Complex projects that need upfront planning

Time estimates

You need to understand effort and timeline

Team coordination

Multiple people need to understand the plan

Approval needed

Stakeholders need to review before implementation

How it works

1

Context check

The project-planner agent analyzes:
  • Your project context
  • Existing codebase (if any)
  • Tech stack and patterns
2

Socratic questioning

Clarifying questions to understand:
  • Exact requirements
  • Constraints and preferences
  • Success criteria
3

Plan generation

Creates docs/PLAN-{task-slug}.md with:
  • Task breakdown
  • Agent assignments
  • Verification checklist
  • Time estimates

Output format

You’ll receive a plan file at docs/PLAN-{task-slug}.md containing:
SectionContent
OverviewHigh-level summary
Task BreakdownNumbered steps and subtasks
Agent AssignmentsWhich agents handle what
Verification ChecklistHow to verify completion
Time EstimatesExpected duration per phase

Naming examples

RequestPlan File
/plan e-commerce site with cartdocs/PLAN-ecommerce-cart.md
/plan mobile app for fitnessdocs/PLAN-fitness-app.md
/plan add dark mode featuredocs/PLAN-dark-mode.md
/plan fix authentication bugdocs/PLAN-auth-fix.md
/plan SaaS dashboarddocs/PLAN-saas-dashboard.md

Usage examples

/plan e-commerce site with cart
Create detailed plan for e-commerce project
/plan mobile app for fitness tracking
Plan mobile app architecture and features
/plan SaaS dashboard with analytics
Structure a SaaS product plan

After planning

Once your plan is created, you can:
  1. Review the plan: Read through and refine if needed
  2. Run /create: Start implementation based on the plan
  3. Modify manually: Edit the plan file directly if you want changes
The plan file serves as a source of truth throughout implementation. Agents will reference it during /create or /orchestrate.

Build docs developers (and LLMs) love