How to check AI output before you publish it
Use a practical review process for AI-written text and code, especially when other people will rely on the result.
A confident answer is still a draft
AI can produce fluent explanations and useful code while misunderstanding a requirement or inventing a detail. Its confidence does not verify the result. Treat an answer as something to inspect, test and improve before it reaches a customer or a live website.
First, restate the goal
Write what the output must accomplish and what must stay untouched. “Improve my website” is broad. “Make this contact link usable by keyboard without changing where messages are sent” gives you something specific to check. Keep a copy of the starting version before editing a working project.
Separate claims from suggestions
Underline names, dates, prices, specifications and statements about laws or policies. Check important claims against current primary sources. A suggestion such as “try shorter paragraphs” is different from a statement such as “this service costs $10 per month.” Ask for a source, then open it and confirm that it supports the claim.
For code, test the behavior people need
- Try the intended path. Does the button or form actually perform the stated action?
- Try missing and unusual input. What happens with an empty form, a long name or a failed request?
- Check identity boundaries. In an isolated test, can one user see another user’s private records? A hidden button is not proof of authorization.
- Return and reload. A success message does not prove that a record was saved.
- Use a keyboard and a small screen. Can you find the action, see focus, read the text and complete the task?
- Keep a recovery path. Know what version you can restore if a release fails.
Use fictional information while practicing
Replace passwords, API keys and real customer records with placeholders or synthetic examples. Keep production secrets in protected server settings. An error report can be useful without exposing the credentials that caused it.
Keep the claim as small as the evidence
“This saved correctly in our test environment” is a useful result. It does not prove the hosted email system works or that every customer device is supported. Say what you checked and where uncertainty remains. For sensitive, regulated or high-impact decisions, involve a qualified reviewer with the relevant expertise.
This is also a product-design habit: honest status messages and clear actions build trust. See Heather’s project stories for examples of turning ideas into usable workflows, or plan the scope of your own project.
Read more: NIST AI Risk Management Framework and MDN web development learning resources.