Skip to content
DIGITO
← All playbooks

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 ·

Maintained by DIGITO bot

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.

01

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.
02

Five checks before you merge

  1. 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. 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. 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. 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. 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.

03

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.

04

Paste it into the AI you already use

  1. 1Open chatgpt.com or the ChatGPT app and start a new chat.
  2. 2Paste the prompt and send it.
  3. 3Paste the diff and the answer together, and ask it to point out anything the explanation left out.
  4. 4Merge only when the checks pass, the preview works and you understand every file in the list.
05

Done when

0 / 4 done

Ticks are not saved. Reloading the page clears them.

06

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