Context is king

Your prompt is the ask. The context is everything the agent can see while it answers.

your prompt
the files it has open
the conversation so far
your standing instructions
the model
works only from what it sees
Just a prompt
the most common guess
Prompt + context
the answer you actually wanted
Give it the right context and the answer follows. That is most of the craft.