Skip to content
Back to the public prompt library
Working With AI ToolsWorking With AI Tools12 min lesson

The Build-Review-Verify Loop

Master the core AI-agent workflow: set a goal, make one reviewable change, verify it, and iterate only while you still understand the work.

ai-toolsworkflowsvibe-codingiteration
Copy-ready prompt
"I want to work in a build-review-iterate loop for this feature.
Start with the smallest reviewable slice that proves the approach.
Goal: [outcome]
Scope: [files, routes, components, or systems in scope]
Proof: [test, command, browser check, or manual check]
Stop condition: [when to stop]
Do not touch: [protected systems]

Before editing, give me a short plan and tell me whether this needs a stronger model, a subagent, MCP, browser control, or a bounded loop.
After you propose or implement that slice, stop and show me:
1. what you changed
2. what assumptions you made
3. what verification passed or failed
4. what could still go wrong
5. what the next iteration should focus on

Keep each iteration scoped to one to three concrete changes.
If we pass five iterations on one feature, tell me to step back and reassess instead of patching blindly."

Prompt FAQ

Questions to answer before you paste it

When should I use the The Build-Review-Verify Loop prompt?

Master the core AI-agent workflow: set a goal, make one reviewable change, verify it, and iterate only while you still understand the work. Use it when you need a safer starting point than a blank prompt and you want the agent to stay inside explicit constraints.

Should I paste this prompt exactly as written?

No. Treat it as a safe starter. Replace the task, files, constraints, and verification details with your actual context before you run it.

What should I do after the agent answers?

Read the diff, run the checks, and stop after one reviewable step. If you need deeper context, open the lesson that explains the reasoning behind the prompt.

Related prompts worth copying next

Working With AI Tools

Refactoring With AI — Making Code Better Without Breaking It

Use AI to safely improve, reorganize, and simplify existing code without changing what it does.

Open prompt page
Working With AI Tools

When to Stop Prompting and Start Reading

Recognize when AI stops helping and learn when reading code yourself is the faster path forward.

Open prompt page
Working With AI Tools

Bolt.new and Lovable — Instant Full-Stack Apps

Build complete web applications from a text prompt with Bolt.new and Lovable.

Open prompt page