Most bad AI answers come from vague prompts. “Write a post about coffee” gives you a bland, generic article. Add a few details and the same tool gives you something you can actually use.
This guide shows a simple 5-part formula for writing good AI prompts, with a real before and after so you can see the difference it makes.
The 5-part prompt formula
- Role: who the AI should act as. “You are an experienced travel writer.”
- Task: exactly what you want. “Write an Instagram caption.”
- Context: the details only you know: your audience, product, goal, what already exists.
- Format: length, structure, tone. “Under 40 words, 2 emojis max, friendly.”
- Limits: what to avoid. “No hashtags, no clichés like ‘game-changer’.”
You do not need all five every time, but the more of them you include, the less editing you do afterwards.
Before and after: the real difference
The vague prompt
Stay hydrated in style with our premium water bottle. Designed for everyday use, it keeps your drinks cold for hours and hot when you need it. Durable, leak-proof and easy to carry, it’s the perfect companion for work, the gym or your next adventure.
It reads fine, but it could describe any bottle in any shop. Nothing in it would make a buyer choose this one.
The same request with the 5-part formula
Pakistani summers are long, and warm water from a plastic bottle by noon is nobody’s idea of a break. This 1-litre steel bottle keeps your water cold for about 12 hours, so the bottle you fill in the morning is still cold after your last class or meeting. At Rs 1,850, it costs less than a few weeks of bought water.
- Keeps water cold for about 12 hours
- Fits most car cup holders
- Steel body, no plastic taste
Same tool, same topic. The second answer is specific, local and ready to paste, because the prompt gave the AI the facts it could not guess.
Why each part matters
Role sets the voice
“You are a copywriter for a small shop” gives a different style from “you are a university professor”. Pick the person whose writing you want.
Context is where quality comes from
The AI does not know your price, your customers or your city. Every fact you add is one less generic sentence in the answer. If you only improve one part of your prompts, improve this one.
Format saves editing time
Ask for the length and structure you need. Otherwise you get a 400-word answer when you wanted three lines.
Limits remove the “AI sound”
Telling the tool which words to avoid is the fastest way to stop answers sounding like every other AI text.
A copy-paste template
3 more tips
- Give an example. Paste one piece you like and say “write in this style”.
- Ask for options. “Give me 3 versions” lets you pick the best and combine them.
- Improve in the same chat. “Make it shorter” or “more formal” works better than starting again.
Frequently asked questions
Does this formula work in ChatGPT, Gemini and Claude?
Yes. All three follow detailed instructions much better than one-line requests. The formula is about giving clear information, not about any one tool.
How long should a prompt be?
As long as it needs to be to include the facts the AI cannot guess. Two or three sentences is often enough; complex tasks may need a paragraph.
Should I write prompts in English?
English usually gives the most reliable results, but you can ask for the answer in Urdu, Roman Urdu or any language by adding “Write the answer in [language]”.
See the formula in action in our 25 ChatGPT prompts for blog writing.