Prompts1 min read

Do not ask Codex to fix everything

Asking AI to fix everything at once is the fastest way to make your app worse. Here is why, and what to do instead.

What this means

When you paste a large chunk of code into Codex and say "fix all the errors," it tries to solve every problem it sees. But fixing one thing often breaks something else. You end up with a different set of problems than you started with — and no clear picture of what changed or why.

What to do

Identify one specific problem. Describe it in plain language. Paste only the code related to that one problem. Ask for one fix. Review the change before you move on to the next issue. Repeat the process.

Try this prompt

Here is the code for [screen or function name]. I have one specific problem: [describe the problem clearly in plain terms]. Please fix only this one issue. Do not change anything else in the code.