The safest website change is the one you planned before touching any file. Codex (or any AI coding assistant) works best when you give it a clear, small, reviewable task instead of a vague wish.
This guide shows a simple routine: describe, plan, review, apply, verify.
Step 1: Write down what 'done' looks like
Before opening any tool, write one or two sentences describing the result, not the method: 'the contact page shows the new phone number' is good; 'edit some files' is not. This sentence is what you will check at the end.
Step 2: Ask for a plan, not for code
Give Codex your description and ask it to list which files it will change and why, before changing anything. Read the plan. If it touches files that have nothing to do with your request, stop and ask why — that is how small tasks turn into broken sites.
Step 3: Keep the change small
One task per session. 'Update the phone number' and 'redesign the homepage' in the same request is how you lose track of what changed. Small changes are easy to review and easy to undo.
Step 4: Review the actual changes
Look at the diff (the list of changed lines) before accepting. You do not need to understand every line — you are checking that only the expected files changed and that nothing was deleted that you still need.
Step 5: Verify before publishing
Open the page in a browser and check your sentence from Step 1. Click around the pages next to the one you changed. Only then publish or deploy.
Safety rules that always apply
- Never paste passwords, API keys or customer data into an AI tool.
- Keep a backup or a Git history so any change can be undone.
- If the assistant suggests installing something or running a command you do not understand, ask what it does first.
With this routine, AI tools become a careful assistant instead of a risky one. If you are planning a bigger change to your own site, a Digital Checkup is a good place to think it through first.