When refining code, fix one issue per iteration. This produces better results than asking for multiple fixes at once.
Instead of: "Fix the security issues, improve performance, and add error handling."
Try: "Fix only the SQL injection vulnerability on line . Don't change anything else."
Focused prompts get focused fixes. Broad prompts get scattered, incomplete changes.