Ask for the plan before the code.
I used to ask the model to build the whole feature in one go. "Build me a booking page with a calendar and payments." It would write three hundred lines, and somewhere around line 200 I would realise it had picked the wrong approach entirely — the data was stored in a shape my app couldn't use, the payment step happened before the booking was saved, the whole thing was built on an assumption I never agreed to. I had two choices: argue with three hundred lines, or throw them away and start again. I threw them away. Twice in one week.
Now I ask for the plan first, and I ask for it in plain words, no code. "What are the steps? Which files change? How does the data move from the form to the database to the payment?" Five or six bullet points, that's all. If the plan is wrong, I can see it in ten seconds and fix it in one sentence — "no, save the booking first, then take payment." The plan is cheap to argue with. The code is not.
The plan does something else too: it shows me whether the model actually understood the job. If its plan mentions a library I don't use, or a step my app doesn't need, I find out before a single line is written, not after an evening of code. And once the plan is right, the code that follows it is usually right too, because the model is no longer guessing the shape of the work — it is filling in a shape we already agreed on.
It feels like an extra step. It is the step that saves the evening. Ask for the plan, agree the plan, then ask for the code.