Promptles
AI & Prompt Engineering

Plan Mode

beginner

Definition

A mode in many AI coding assistants where the model can read your code and draft a step-by-step plan, but cannot edit files or run destructive commands until you approve. It's a cheap way to catch wrong assumptions before any code is written.

In the wild

Before a cross-file refactor, you ask the assistant to switch to plan mode. It returns a numbered list of files and changes. You tweak one step, approve the rest, and only then does it start editing.

More from AI & Prompt Engineering