Plan Mode
Plan Mode writes a reviewable implementation plan before any code. Agent researches the repo, asks clarifying questions, and waits until you approve the build. Official page: Plan Mode.
How to enter
Press Shift+Tab in the Agent input to rotate modes (desktop is usually Agent / Plan / Ask). You can also use the mode dropdown. Cursor sometimes suggests Plan Mode when your text looks like a complex task.
The CLI matches the editor:
In an interactive CLI session use /plan, or the same Shift+Tab shortcut.
The official loop
- Ask questions until the requirement is clear
- Research the codebase for relevant files
- Write a full implementation plan
- You review / edit it in chat or as markdown
- Build when you are ready
Plans are saved under your home directory by default. Save to workspace moves the file into the repo for sharing and later reference.
When to use it (and when not)
Officially best for:
- Complex features with several valid approaches
- Work that touches many files or systems
- Unclear requirements that need scoping first
- Architecture you want to review before coding
Quick edits or tasks you have done many times can stay in normal Agent. Plan Mode on a one-line copy change only adds round-trips.
Rule of thumb:
An opener prompt
Put a definition of done and bans in so questions stay concrete:
The plan should list paths and commands. If it is only adjectives (“add health checks elegantly”), send it back.
When you review:
- Is the file list too wide (“refactor utils while we are here”)?
- Are the test commands scripts the repo already has?
- Are migrations / feature flags paired with a rollback?
Edit the plan markdown, or reply: Revise the plan: no new dependencies; add one unit test only.
After a bad build: start from the plan
If the implementation drifts, do not stack ten “just fix it” prompts:
- Revert files with a checkpoint or
git checkout/git restore - Make the plan narrower and more specific
- Build again
Officially this is often faster and cleaner than repairing a wandering Agent. The hard part is deciding what to change; then delegate implementation.
The queue still helps after you approve: enqueue Then run the existing lint and typecheck only. See Agent.
Rules and MCP
Plan Mode uses Available Tools, including MCP. During research it can read issues, designs, or docs if those servers are on. Project rules still apply—put “plan first if more than N files change” in .cursor/rules instead of repeating it orally.
For teams, Save to workspace (for example docs/plans/) and link the file from the PR. That reviews better than a chat transcript.
Short drill
- Open any repo, press
Shift+Tab. - Paste the
/healthprompt (rename to match the stack). - Answer clarifying questions.
- Confirm the plan has not edited product code yet.
- Either approve and review the diff, or discard the plan.