How to Write Better Prompts
Vague instructions lead to vague answers. A good prompt gives AI the right context and direction to produce stronger, more useful results.
The prompt framework
Use these eight elements to build prompts that get better results. You do not need all eight every time: start with role, task, and context. This is the core of prompt engineering, and it works the same way across ChatGPT, Claude, and Gemini.
Bad prompt vs better prompt
Write me content ideas.
Too vague. No context, audience, format, or direction. AI has to guess everything.
Act as a content strategist. Give me 20 short content ideas for beginners who want to use AI to save time at work. Make each idea practical, simple, and useful for Threads posts. Avoid hype and generic advice.
Clear role, task, audience, format, tone, and constraint. AI knows exactly what to produce.
What the better prompt actually produces
Here is what a response to that better prompt looks like in practice.
- "3 emails I let AI draft this week, and how much time each one saved."
- "The one-line prompt I use to turn meeting notes into a task list."
- "A before/after of a vague prompt vs a specific one, same task."
- "5 minutes with AI vs. 30 minutes without: a real comparison."
- "The AI prompt I reuse every Monday to plan my week."
Illustrative example. Actual wording will vary by tool, model, and your exact input.
Your simple prompt formula
Copy this template and fill in the brackets. Start here and adjust from the results.
Quick prompting tips
Vague prompts give vague results. The more detail you give, the better.
Tell AI about your goal, your audience, and any important background.
Ask for 5 or 10 variations so you can pick the best one.
Your first prompt is a draft. Refine it based on what you get back.
When a prompt works well, save it somewhere and reuse it.
Better prompts give AI more direction. More direction usually means better output. Start with role, task, and context, then add more elements as needed.
Frequently Asked Questions
What is the difference between a bad prompt and a good prompt?
A bad prompt gives AI a vague instruction and leaves everything else to guesswork. A good prompt specifies the role, task, audience, format, tone, and any constraints, so AI has enough direction to produce a focused, usable answer on the first try.
Does this prompt framework work with ChatGPT, Claude, and Gemini?
Yes. The role, task, context, and format approach works the same way across ChatGPT, Claude, Gemini, and most other AI assistants, since it is about how you structure your request, not which model reads it.
Do I need to use all 8 elements every time?
No. Start with role, task, and context for most requests. Add format, tone, constraints, or examples only when the default output is not close enough to what you need.
How many times should I refine a prompt before giving up?
Most prompts improve significantly after 1 or 2 rounds of feedback. If a third attempt still misses the mark, the task may need more context than a single prompt can hold, so consider breaking it into smaller steps.