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”Explore, then build
Section titled “Explore, then build”Use @@explore to understand existing code before making changes:
@@explore How does the module system work in this project? Walk me through the lifecycle.The agent reads your code and explains it without modifying anything. 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, use @@webflow to work across code and the Designer:
@@webflow 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, use @@figma to translate designs into code:
@@figma 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.
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
@@explorein a third to investigate bugs.
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,@@buildfor code changes,@@explorefor understanding.
- 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.