AI Prompting 101: How to Get the Best Responses from Your AI Agent
Remember that saying, "it’s not what you ask, but how you ask"?
When I first started working with Goose as an AI agent, I was convinced there had to be one ‘best' prompting style. I spent so much time trying to figure out which one was superior, but the more I used Goose, the more I realized that couldn't be further from the truth. There isn’t one right way to prompt AI, but there are better approaches depending on what your end goal is.
So, let’s go through which prompt style works best for your specific needs, and how you can use them to vibe code a little better with Goose.
Instruction-Based Prompting
If you’re not a developer or you're just new to Goose, this is a great place to start. The best way to get good responses is to be as clear and direct as possible. Goose works best when given specific instructions, so tell it exactly what you need and include all of the important details. If you’re too vague, you might end up with an overly technical or even a possibly incomplete answer that doesn’t actually help you.
For example, instead of saying:
❌ Okay Prompt:
Goose, what’s a pull request?
This might give you a super technical definition that assumes you already know the basics.
So, you could say:
✅ Better Prompt:
Goose, explain how GitHub pull requests work like I’m new to coding
This tells Goose exactly what you need and at what level.
If you want Goose to remember your preferences, you can say,
Goose, remember I’m not a developer. Explain things at a high level unless I ask for technical details
If you have the Memory Extension enabled, Goose will save this preference so you won’t have to remind it every time.
Chain-of-Thought Prompting
Sometimes a topic or task can just be too much to tackle all at once, and that’s where Chain-of-Thought Prompting comes in. Instead of getting this enormous and complicated response back, you can guide Goose to break things down step by step so it’s easier to follow.
For example, instead of saying:
❌ Okay Prompt:
Goose, what are Model Context Protocol Servers, and how are they used in goose?
which might get you a response that's hard to follow, you could say:
✅ Better Prompt:
Goose, walk me through what MCPs are and how they're used in gosoe, step by step
This forces Goose to slow down and explain each part clearly, making it easier to understand.
Now, if you want to take it a step further and make sure Goose understands the exact style of responses you're expecting, that’s when Few-Shot Prompting is the way to go.
Few-Shot Prompting
If you need Goose to match a specific style or format, the best way to get there is by showing it what you want. I use this all the time! Since AI models learn patterns from examples, giving Goose a reference helps it skip the guesswork and just get straight to the point.
For example, instead of saying:
❌ Okay Prompt:
Goose, summarize this report
you could say:
✅ Better Prompt:
Goose, here’s how I usually summarize reports: (example summary). Can you summarize this new report the same way?
By providing an example, you’re guiding Goose to the answer that you actually want.
Now, what if you've given Goose an example and it’s first response isn’t quite right? There's no need to end the session and start over, that’s when Iterative Refinement Prompting is useful.
Iterative Refinement Prompting
Let’s be real, Goose just like any AI agent isn’t always going to get it 'right' on the first try. Sometimes, it gives you a response that's way too technical, other times, it might completely miss the mark or even worse, hallucinate its way into a weird, made-up answer, that kind of sounds true. But instead of giving up and starting over, you can steer the conversation by giving feedback on what needs to change.
Since Goose allows you to bring your own LLM, the way it responds depends a lot on which model you’re using. Some LLMs need a little extra guidance, while others might require a few rounds of refinement before they get things right. The good news? You can shape the response without completely starting over.
For example, if Goose spits out something overly complicated, don’t just accept it, you can push back! Try saying:
Goose, this response is too technical. Can you simplify it?
Or if something sounds off and you want to do a fact check:
Goose, where did you get that information? How do you know it's accurate?
Think of working with Goose like pair programming or collaborating with a coworker. Sometimes, you need to clarify what you want or redirect the conversation to get make sure you're both on the same page.
But what if you don’t have a clear example or specific instructions to guide Goose? That’s when I would use Zero-Shot Prompting.
Zero-Shot Prompting
Sometimes, you just want Goose to take a wild guess, get a little creative, and run with it. That’s exactly what Zero-Shot Prompting is for, it lets Goose figure things out on its own, without any examples or extra guidance from you.
For example, you might say:
Goose, write me a project update for my team
or:
Goose, I want to build a cool prompt directory
I love using this approach when I have a rough idea but no real clear direction. It’s like brainstorming but with AI, Goose will throw out ideas, suggest next steps, and sometimes even point out things I would’ve never even thought of. More often than not, my original idea ends up 10x better just by letting Goose take the lead.
Now, if you want Goose to not just come up with amazing ideas but also be funny, helpful, and maybe even a little nicer to you, that’s when you need to put those manners you learned in elementary school to use.
Politeness-Based Prompting
Believe it or not, being polite actually makes AI responses better! Even though Goose isn’t self-aware……yet…… 👀, AI models tend to generate more thoughtful, structured, and sometimes even friendlier replies when asked nicely. So yes, saying “please” and “thank you” actually makes a difference.
For example, instead of saying:
❌ Okay Prompt:
Goose, generate a project update
you could say:
✅ Better Prompt:
Goose, could you generate a project update for me, please? Thanks!
Goose will respond either way, but trust me, polite prompts tend to get you better answers. One of our users once got the sweetest response from Goose at the end of a project, like it was genuinely grateful for the collaboration and even wished them sweet dreams. It was adorable!!
Here’s the actual response, Goose is really out here making people’s day.
And the best part? This works with any prompting style. So, if you want Goose to be helpful, clear, and maybe even a little extra nice to you, be good to Goose and Goose will be good to you.
The Best Prompts Feel Natural
At the end of the day, all these prompting styles are just tools, at your disposal. The most important thing is to keep your prompts clear and natural. You don’t have to overthink it, but adding a little structure can make a huge difference in getting the responses you actually want.
Goose is here to make your life easier, so the next time you open up a session, just keep your goal in mind, experiment with different prompting styles, and see what works best for you.