Playbook · Builders who ship sites and tools with AI coding agents
Review AI-written code before you ship it: five checks for non-developers
A short review routine you run on every AI change, and a prompt that makes the agent explain its own change in plain words before you accept it.
- No code
- Your details stay with you
- Free AI tools
- checks before you merge
- 5checks before you merge
- of developers in Stack Overflow's 2025 survey spend more time fixing almost-right AI code
- 66%of developers in Stack Overflow's 2025 survey spend more time fixing almost-right AI code
- commit to undo any change
- 1commit to undo any change
DIGITO ·
AI coding agents can build a working page in minutes. The risk is not code that fails loudly. It is code that is almost right: it builds, it looks fine, and it quietly breaks a form, a link or a page you did not look at.
The routine below is the one this site's changes go through before they go live: read what changed, run the automatic checks, look at the preview, keep every change small enough to undo in one step, and when something breaks twice, find the cause instead of adding another patch.
What changes
Today
- You accept the change because the agent says it works.
- A fix breaks something two pages away.
- Undoing it means guessing what changed.
After this playbook
- You know in plain words what changed and why.
- Checks and a preview run before anything goes live.
- Every change can be undone in one step.
Five checks before you merge
- 1
Read the change, not the summary
Look at the list of files changed. Anything outside what you asked for, like settings, payments or tracking, needs a reason before you accept it.
- 2
Run the automatic checks
Lint, tests and a full build. If the project has none, ask the agent to add a build check first. A change that does not build does not ship.
- 3
Test the preview like a visitor
Open the preview link on your phone. Click the thing that changed and one thing next to it. Submit any form the change touched.
- 4
Keep it undoable
One change per branch or pull request, small enough that undoing it is one step. Do not stack five fixes in one change.
- 5
Broke twice? Find the cause
If the same thing fails again, stop patching. Ask the agent to explain why it fails before it writes any more code.
Build your change-review prompt
Change the details. The prompt updates as you type. Copy it into ChatGPT, Claude or Gemini.
Your prompt
Before I accept your change, explain it to me as someone who is not a full-time developer. Write in English. What I asked for: add a bilingual contact form to the services page Files you changed: src/app/services/page.tsx, src/components/contact-form.tsx, package.json, next.config.ts What must not break: the existing booking link, page speed on phones, the Spanish version 1. In plain words, what did you change in each file and why? 2. Did you change anything I did not ask for? List it, and say what happens if I undo just that part. 3. What could this break, especially the things I listed? 4. What exactly should I click or test in the preview to know it works? 5. Did you add any new package, setting, tracking or outside service? If yes, why is it needed? Do not make new changes while answering.
Nothing you type here is sent anywhere. It stays in this page until you paste it.
Paste it into the AI you already use
- 1Open chatgpt.com or the ChatGPT app and start a new chat.
- 2Paste the prompt and send it.
- 3Paste the diff and the answer together, and ask it to point out anything the explanation left out.
- 4Merge only when the checks pass, the preview works and you understand every file in the list.
- 1Open claude.ai or the Claude app and start a new chat.
- 2Paste the prompt and send it.
- 3In Claude Code, ask for this review before you approve the pull request, and keep the answer in the pull request description.
- 4Merge only when the checks pass, the preview works and you understand every file in the list.
- 1Open gemini.google.com or the Gemini app and start a new chat.
- 2Paste the prompt and send it.
- 3Ask it to turn point 4 into a numbered test list you can follow on your phone.
- 4Merge only when the checks pass, the preview works and you understand every file in the list.
Done when
0 / 4 done
Ticks are not saved. Reloading the page clears them.
Questions
I cannot read code. Is this still useful?
Yes. You do not need to read every line to check what changed, test the preview and keep changes small. The prompt makes the agent explain the rest.
What is a preview?
Most hosts, such as Vercel and Netlify, build a private copy of your site for each change. You test there before the change reaches your real site.
What if the agent says the checks passed?
Run them yourself or look at the result in your host or repository. An agent can be wrong about whether something passed.
Where the numbers come from
- Stack Overflow: 2025 Developer Survey results
49,000+ developers. Trust in the accuracy of AI tools fell to 29% from about 40%. The top frustration (45%) was AI answers that are almost right, but not quite, and 66% said they spend more time fixing almost-right AI code.
Next up, picked by DIGITO bot
Anyone letting an AI agent browse, shop or fill forms
House rules for an AI agent that uses a browser: what it may read, click and never do
A one-page rules file for your browser agent, split into allowed, ask first and never, plus a short test to see whether the agent follows it.
Open playbook →
Builders who shipped an app with AI and are not sure how it works
Understand the app AI built for you: a one-page map before you change anything
A one-page map of your app in plain words, saved in the project as a file every future AI session reads first, plus a list of the three riskiest places to change.
Open playbook →
Owners, freelancers and team leads who check ten apps every morning
Start each day with five numbers: design a short daily numbers note with AI
A list of five numbers with where each comes from, a template for the daily note, and a prompt that writes it from what you paste.
Open playbook →