DocsAI

Scopes and modes

Every AI request has a scope — what it may change — and a mode — how far it goes. Together they keep “make this bolder” from redesigning the whole page.

Scopes#

ScopeThe request may changeAvailable
Selected elementThe selectionWhen something is selected
Current sectionThe section around the selectionWhen something is selected
Current pageThe page you’re editingOn pages
Current templateThe template you’re editingWhen a template is open
Global componentThe Global Block you’re editingWhen a Global Block is open
Entire siteAnything on the site, at the level that fits — see Site-wide changesAlways

Automatic (the default) follows what you’re looking at: with a heading selected, “make this bolder” changes the heading; with nothing selected, it works on the page. If you pick a scope that doesn’t apply any more, the request falls back to automatic.

Modes#

ModeWhat it does
EditChanges what you point at.
RefactorImproves structure and consistency — cleaner nesting, shared classes, tokens instead of one-off values — keeping the content and layout.
RedesignSignificant visual changes, keeping content and site structure. Proposes a plan first.
GenerateCreates new pages, sections or components.

Examples#

RequestScope and mode
“Make this heading shorter and punchier”Selected element · Edit
“Tidy up this page’s spacing and use our classes”Current page · Refactor
“Give the whole site a warmer, more editorial look”Entire site · Redesign
“Add an FAQ page answering these questions: …”Entire site · Generate