Custom flows
Once you’ve completed your first flow, you can adapt the plan-then-build pattern for different kinds of tasks. This guide shows common flow patterns and how to get the most out of each agent mode.
Flow patterns
Section titled “Flow patterns”Understand, then build
Section titled “Understand, then build”Use /plan to analyze existing code before making changes:
/plan How does the module system work in this project? Walk me through the lifecycle.In plan mode the agent reasons about your code and proposes an approach without editing files. Once you understand the structure, follow up with /build to make targeted changes.
Webflow-first flow
Section titled “Webflow-first flow”When your project is connected to Webflow, the agent automatically gets Webflow MCP tools — there’s no separate mode. Use /build and describe the cross-surface task:
/build Create a testimonial slider component — build the structure in Webflow and wire it to a moduleThe agent creates elements and styles in the Webflow Designer via MCP, then writes the corresponding module JS in your project. This is the fastest path when you need both Designer work and code in sync.
Figma-to-code flow
Section titled “Figma-to-code flow”With Figma MCP connected, the agent can read your designs while it works. Use /build and reference the design:
/build Build the pricing card component matching the selected Figma frameThe agent reads your Figma design specs and generates code that matches the layout, spacing, and typography. Keep the relevant file open in Figma Dev Mode.
Research and multi-step
Section titled “Research and multi-step”Use /general for broader tasks that span multiple concerns:
/general Audit the project for accessibility issues and fix themThis mode gives the agent more room for multi-step reasoning — it may read, analyze, and then edit across several files.
Working with multiple conversations
Section titled “Working with multiple conversations”Complex projects benefit from parallel conversations. Each conversation slot is independent, so you can:
- Keep a
/planconversation in one slot for architecture decisions. - Run
/buildin another slot for implementation. - Use a third
/planslot to investigate bugs without touching files.
Press ⌘N / Ctrl+N to create a new conversation slot. Switch between them using the carousel dots at the top of the AI panel. Each slot keeps its own model selection and prompt history.
Iterative refinement
Section titled “Iterative refinement”The most effective flows are iterative:
- Plan — Ask the AI to analyze before committing to an approach.
- Build — Implement the plan with
/build. - Test — Run the dev server and check the result.
- Refine — Describe what needs fixing in a follow-up prompt. The AI has conversation context and can build on previous work.
If a conversation gets long or veers off track, archive it (⌘W) and start fresh (⌘N). You can always restore archived conversations from the Past Conversations drawer.
Tips for effective prompts
Section titled “Tips for effective prompts”- Be specific — “Add a 200ms ease-out fade to the
.cardelements on scroll” works better than “add some animations.” - Reference files — Type
@to mention specific files in your prompt, giving the agent focused context. - Use follow-ups — Don’t restart from scratch; tell the AI what to adjust in the current result.
- Match the mode — Use
/planfor thinking and analysis,/buildfor code changes,/generalfor broader multi-step work.
- Your first flow — Run through the basic flow if you haven’t yet.
- Quick start tutorial — Broader project setup from scratch.
- AI edits — Full reference for agent modes, models, and conversations.