Plan mode

Review and approve a step-by-step build plan before the AI writes code.

Plan mode lets the AI draft a structured implementation plan before executing file changes. You review, edit, and approve the plan in the workbench Plan view.

When to use plan mode

  • Large features spanning multiple screens
  • Backend schema + UI changes together
  • When you want visibility into what the AI will do before it runs

Workflow

  1. Enable Plan mode from the chat toolbar
  2. Describe what you want to build
  3. The AI produces a markdown plan (steps, files, schema changes)
  4. Open the Plan panel in the workbench to review
  5. Approve or ask for revisions in chat
  6. After approval, the AI executes the plan as code changes

Plan editor

The plan editor shows the full markdown plan. You can:

  • Read each step before execution
  • Request changes: "Skip the settings screen for now" or "Add offline support to step 3"
  • Approve to start the build phase

Tips

Tip: Use plan mode for your first complex feature in a new project — it reduces wasted credits on wrong assumptions.

Tip: Combine plan mode with Skills & knowledge when you have strict layout or theme rules.