How do I write better AI prompts?
Short answer
Better prompts give the AI a clear role, a specific task, and an example of what good looks like. The most common mistake is being too vague. Tell it who you are, who the output is for, the format you want, and any rules to follow. Specific instructions produce specific results.
Updated July 3, 2026
Most people blame the tool when AI gives a generic or unhelpful answer. The real issue is almost always the prompt. A vague question gets a vague answer. A specific, well-constructed prompt gets something you can actually use. The good news is that writing better prompts is a skill you can build in a day or two of practice.
The anatomy of a good prompt
A prompt that consistently produces good output has five elements. You do not always need all five, but knowing what they are lets you diagnose why a prompt is not working.
- Role: tell the AI who it is acting as. 'You are a customer service rep for a home cleaning business.'
- Task: say exactly what you want it to do. 'Write a reply to this customer complaint about a missed appointment.'
- Context: give it the information it needs. 'The customer has been with us for two years and this is their first complaint.'
- Format: tell it how to structure the output. 'Write in a friendly but professional tone, under 100 words, no bullet points.'
- Constraints: list what to avoid. 'Do not apologize more than once. Do not offer a refund unless I say so.'
An example: before and after
Bad prompt: 'Write an email for a customer.' This gives the AI almost nothing to work with and produces a generic result that you will need to rewrite anyway.
Better prompt: 'You are the owner of a local house cleaning company. Write a friendly reply to a customer who messaged to say their appointment was missed today. Tell them we are sorry, that we are looking into what happened, and that we will reschedule at no charge. Keep it under 80 words and do not make excuses.' That prompt gives a role, context, a task, and specific constraints. The output will be close to ready to send.
Context: the most underrated part
Context is what makes the difference between an AI that sounds like it knows your business and one that sounds like it has never met you. The more relevant context you give, the more the output fits your actual situation.
Good context includes: who your customers are and how you normally talk to them, any specific facts about the situation, your preferences and non-negotiables, and an example of something you wrote that you liked. Pasting in a few sentences you previously wrote is often the fastest way to match your tone.
Format instructions that actually help
AI tools default to long, formatted output if you do not tell them otherwise. If you want something short and direct, say so. If you want a list, say you want a list. If you need it under a word count, give the word count. If you want plain prose with no headers, say that explicitly.
Format instructions also help with tone. 'Confident but not pushy', 'warm but professional', 'plain and direct like a text message' all give the AI real direction that changes the output meaningfully.
Saving prompts that work
Once you find a prompt that produces good output, save it somewhere your team can reuse it. A simple document with a dozen high-quality prompts for your most common tasks is worth more than any AI course. Label each one with the task it handles and the output it produces.
Shared prompts also create consistency: everyone on your team gets similar-quality output from the same tasks, and new team members ramp up faster. This is the practical version of building an AI workflow without any custom software.
For building this habit across your whole team, our approach to training employees to use AI well focuses on real tasks and shared prompts rather than abstract lessons.
When the output is still wrong
If you have added role, task, context, format, and constraints and the output is still not right, try two things before giving up: first, add an example of what good looks like. Paste in a piece of your own writing and say 'write it in this style.' Second, run it through a follow-up prompt: 'That was too long. Make it half the length and remove the opening sentence.' Iteration is normal.
Some tasks are not well suited to AI no matter how good the prompt is. If you find yourself spending more time fixing output than it would take to just write the thing, that task may not be a good AI use case. That is useful information too.
For a practical look at the blog post how better AI prompts save an hour a day covers common time-saving prompt patterns your team can put to use right away.
Once you have good prompts, the next question is which tool to run them on. Our comparison of ChatGPT vs Claude vs Gemini for small business helps you pick based on your real use cases rather than marketing claims.
And if you are still figuring out which tasks to target first, our answer on what AI can actually do for your business is a useful starting point before you spend time refining prompts for tasks that might not be good fits.