AI Prompts

How to Write Better AI Prompts: The Prompt Formula

To write a better AI prompt, tell the AI four things: who to be, what to do, the context it needs, and the format you want back. That one habit — the Role + Task + Context + Format formula — turns vague, generic answers into sharp, usable ones. This guide shows you exactly how, with before-and-after examples and a copy-paste template you can reuse for anything.

It works the same in ChatGPT, Claude, Gemini or any other AI tool. No technical skill needed.

Why most AI prompts give disappointing answers

Most people type a few words — “write me a blog post about marketing” — and then feel let down by the bland result. That’s not the AI failing. It’s the prompt. A short, vague prompt forces the AI to guess who you are, what you want, and who it’s for, so it plays it safe and gives you the most average answer possible.

The fix isn’t a longer prompt. It’s a clearer one. Give the AI the few details it actually needs, and the quality jumps immediately.

The prompt formula: Role + Task + Context + Format

Almost every great prompt has four parts. You don’t always need all four, but the more you include, the better the answer.

1. Role — tell the AI who to be

Starting with a role sets the expertise and tone for everything that follows.

Act as an experienced {SEO strategist / copywriter / teacher}.

2. Task — say exactly what you want it to do

Be specific about the action and the quantity. “Write 10 blog titles” beats “help with blog ideas”.

Write {number} {thing} that {clear goal}.

3. Context — give it the details only you know

This is the part most people skip, and it’s the one that matters most. Your business, your audience, your constraints.

It's for {who it's for}. My business is {what you do}. The goal is {what you want to happen}. Avoid {anything to stay away from}.

4. Format — say how you want the answer

Tell it the shape of the output so you don’t have to reformat it afterwards.

Give it to me as {a numbered list / a table / a 100-word paragraph}. Keep the tone {friendly / professional}.

Before and after: the same request, two results

Here’s how much difference the formula makes. First, the weak version most people type:

Write a product description for my candle.

Now the same request with Role + Task + Context + Format:

Act as a conversion copywriter. Write a product description for a hand-poured soy candle called "{name}". It's for eco-conscious buyers who care about clean ingredients and a calm home. Highlight the {scent}, the {burn time}, and that it's non-toxic. Keep it warm and sensory, about 80 words, and end with a soft call to action.

Same tool, same candle — but the second prompt gives the AI everything it needs to write something you could actually publish.

7 ways to get noticeably better answers

Once you’ve got the formula, these habits push your results further.

Give it an example to copy

Showing beats telling. Paste one example of what “good” looks like and ask it to match the style.

Here's an example of the tone I want: {paste example}. Now write {new thing} in that same style.

Ask it to think step by step

For anything involving reasoning or planning, this single line improves accuracy.

Think through this step by step before you give your final answer.

Set clear constraints

Limits make answers sharper: word counts, reading level, what to avoid.

Keep it under 120 words, at a Grade 7 reading level, with no jargon.

Ask for options, then refine

Don’t expect perfection on the first try. Ask for several, pick the best, then improve it.

Give me 5 different versions with different angles. Then I'll tell you which to develop.

Let it interview you

When you’re not sure what details to give, make the AI ask.

Before you write this, ask me up to 5 questions that would help you do it better.

Tell it who the reader is

The same answer should sound different for a beginner and an expert. Say which.

Explain this for a complete beginner, using a simple analogy.

Iterate with short follow-ups

You don’t need to rewrite the whole prompt. Just nudge it: “shorter”, “more casual”, “add a stat”, “make the hook stronger”.

Common prompting mistakes to avoid

  • Being vague. “Make it better” tells the AI nothing — say how (shorter, warmer, more specific).
  • Asking for too much at once. Break big jobs into steps rather than one giant prompt.
  • Not giving context. The AI can’t read your mind about your business or audience — tell it.
  • Accepting the first draft. The first answer is a starting point, not the finish line.
  • No format instructions. If you want a table, ask for a table.

Your copy-paste prompt template

Keep this somewhere handy. Fill in the blanks and you’ve got a strong prompt for almost anything:

Act as a {role}.
Your task: {what you want, with a number if it helps}.
Context: it's for {audience}; my business is {what you do}; the goal is {outcome}; avoid {what to skip}.
Format: give it as {list / table / paragraph}, in a {tone} tone, {length}.
If anything's unclear, ask me before you start.

Skip the trial and error

Writing great prompts is a skill — but you don’t have to build every one from scratch. My AI prompt packs give you ready-made, tested prompts for SEO, content, social media, ads and business, each already built on this formula. Fill in the blanks and go.

New to prompts? Start with the 50+ best ChatGPT prompts you can copy today.

Browse the AI prompt packs →

Frequently asked questions

What is the best way to write an AI prompt?

Use the Role + Task + Context + Format formula: tell the AI who to be, exactly what to do, the context it needs (your audience, business and goal), and the format you want back. The more specific each part is, the better the answer.

What is prompt engineering?

Prompt engineering is simply the skill of writing clear instructions for an AI tool so it gives you useful results. You don’t need coding or technical knowledge — just a clear structure like the formula in this guide.

Why are my ChatGPT answers so generic?

Usually because the prompt is too short or vague. Add context about who the answer is for and what you’re trying to achieve, give an example of the style you want, and ask for a specific format. That alone fixes most generic replies.

Does the same prompt work in ChatGPT, Claude and Gemini?

Yes. The formula and techniques here work in any AI tool. You may notice small differences in tone or length, but a well-structured prompt improves results everywhere.

How long should a good prompt be?

Long enough to include the details that matter, and no longer. A few clear sentences covering role, task, context and format usually beats both a one-liner and a huge wall of text.