Coding agents (Claude Code, Copilot agents, Cursor and friends) don't just answer — they act: they read files, edit, run tests, and keep going. A vague instruction doesn't produce one bad answer anymore; it produces ten confident steps in the wrong direction before anyone checks.
A good agent prompt reads like a job description: the goal, the boundaries (what must not be touched), the definition of done, and how to verify. Front-load constraints — an agent discovers 'don't modify the public API' much more cheaply in its instructions than in your code review. For anything non-trivial, ask for a plan first: 'show me the files you'll change and why, then wait.'