/plan
Enter plan mode to design your approach before coding. Claude proposes an execution plan for review before any implementation starts.
Syntax
/plan [description]Example
/plan refactor the auth module to use JWTAbout
Switches Claude Code into plan mode where it researches the codebase and produces a reviewable plan. Pass an optional description to enter plan mode and immediately start with that task, e.g. /plan fix the auth bug. While a task is already running, /plan is temporarily unavailable.
When to use
- ▸Before making a large multi-file change
- ▸When requirements are unclear and you want Claude to ask questions first
- ▸Architectural decisions that need human review before code is written
- ▸Reducing risk on complex refactors
More Claude Code commands
parallel-agents
/agents
Manage agent configurations and monitor background agents running in parallel.
parallel-agents
/background
Detach the current session to run as a background agent and free this terminal. Optionally pass a final instruction before detaching.
parallel-agents
/batch
Orchestrate large-scale changes across a codebase in parallel. Decomposes work into 5–30 independent units, each in its own git worktree with its own PR.
context-management
/btw
Ask a quick side question without adding it to the main conversation history.