How to Ask an AI Coding Tool to Change Your Website, and Check It Actually Did
AI coding tools can update your site in minutes, but they often get most of a change right and miss a detail. This guide shows you how to write a clear request, split it into small steps and check every part before you publish.
If you run a small business website, an AI coding tool can save you hours. You describe what you want, the tool edits the code, and a few minutes later the change is there. The catch is that these tools are often very good at doing most of what you asked and quietly missing one part of it.
A new benchmark called Co-Design Bench shows how common that is. In tests built from real users'' requests to change existing web apps, the best agent met about 70% of the requirements on average but got every requirement right on only 26.4% of tasks. Performance fell further when a single request mixed several kinds of change. (We covered the study in our news article.) Those tasks were deliberately hard, but the lesson applies to everyday edits too: the way you ask, and the way you check, makes a big difference.
This guide works with any AI tool that can edit a website, whether that is a chat assistant you paste code into or a coding agent that works on your files directly.
Step 1: Back up before you start
Before any AI touches your site, make sure you can go back. If your site lives in a code repository, commit your current version first. If you use a website builder, check whether it has version history or duplicate the page. If you are pasting code into a chat, save a copy of the original file. A change you can undo is a change you can try without fear.
Step 2: Write down what "done" looks like
The Co-Design Bench researchers graded every task against a hidden checklist of acceptance criteria. You can borrow that idea, except your checklist should not be hidden. Before you ask for anything, write a short list of things that must be true when the job is finished.
For example, if you want to add a new opening-hours section, your list might be:
- A section titled "Opening hours" appears below the contact form.
- It lists Monday to Saturday, 9am to 5pm, and says closed on Sunday.
- It uses the same font and colours as the rest of the page.
- It looks right on a phone as well as a laptop.
- The old phone number no longer appears anywhere on the page, including the footer.
That last kind of item matters. AI tools often update the obvious place and forget the second or third place the same information appears.
Step 3: Give the AI the checklist, not just the idea
Paste your list straight into the request. A good prompt looks something like this:
Please add an opening-hours section to the contact page. When you are finished, all of these must be true: [your list]. Do not change anything else on the page. When you are done, go through the list and tell me, item by item, where in the code each one is handled.
Asking the tool to map each item to the code does two things. It nudges the AI to actually check its own work, and it gives you a quick way to spot anything it skipped.
Step 4: Split big changes into small ones
The benchmark found that every model did worse when one request combined several types of change, such as layout, design, interaction and content. So do not ask for a new layout, a colour refresh, a working booking form and rewritten text all at once.
Instead, break the job into separate requests and finish each one before moving on:
- Content first: update the words, prices or details.
- Layout next: move or add sections.
- Design after that: colours, fonts, spacing.
- Interaction last: buttons, forms, menus, anything that does something when clicked.
Smaller steps are easier for the AI to get fully right, and easier for you to check.
Step 5: Include the files and examples it needs
If your request depends on a document, a screenshot or a price list, give the tool the actual file or paste the exact text. Do not make it guess. If the same value appears in several places, such as a price shown on a product card, a basket total and a confirmation email, say so explicitly: "this price appears in three places; update all of them".
Step 6: Check every item yourself
This is the step people skip, and it is the one that matters most. When the AI says it is finished, treat that as "ready for checking", not "done".
- Open the page in a browser. Do not just read the code or trust the summary. Look at the real thing.
- Tick off your list. Go through each item one by one.
- Click everything that should do something. Buttons, links, forms and menus. A button that looks right but does nothing is a classic miss.
- Try it on your phone. Many layout problems only show on a small screen.
- Look for fakes. The benchmark''s graders specifically hunted for mock-ups and hard-coded results. If a form says "Thanks, we got your message", check that the message really arrived.
- Check what should not have changed. Scan the rest of the page for anything that moved or broke.
Step 7: Report misses precisely
When something is wrong, be specific. "It''s broken" gives the AI little to work with. "The opening-hours section is missing on mobile, and the old phone number still appears in the footer" gives it exactly what to fix. Paste the item from your checklist that failed, and if you can, include a screenshot.
If the tool keeps going round in circles on the same problem, stop, undo to your backup and ask again with a smaller request. Often a fresh, narrower ask works better than a fifth attempt at a fix.
Step 8: Publish only when the list is all ticks
Once every item on your list passes, and nothing else has broken, publish the change. Keep your checklist; next time you ask for a similar change, you can reuse it.
A quick template you can copy
Change I want: [one clear change]
Files or text it should use: [attach or paste]
Done means all of these are true:
1. ...
2. ...
3. ...
Do not change anything else.
When finished, list each item and where you handled it.
The bottom line
AI coding tools are genuinely useful for small business websites, and they keep improving. But today they are best treated as a fast assistant whose work you review, not a builder you can leave unsupervised. Clear checklists, small steps and a proper check at the end will catch most of the details they miss.