How to Write Better AI Prompts: A Beginner’s Guide With Examples

A simple 5-part formula and seven habits that make ChatGPT, Claude or Gemini give you much better answers, with before-and-after examples.

·

· Updated

·

5–7 minutes
How to Write Better AI Prompts: A Beginner’s Guide With Examples

Ask two people the same question in an AI chatbot and they can get completely different answers. Usually the difference isn’t the tool. It’s the prompt.

The good news is that writing better prompts isn’t a technical skill. It’s mostly about giving the AI the same information you’d give a smart new colleague. This guide covers the simple habits that make AI answers more useful, with before-and-after examples you can copy.

Why vague prompts get vague answers

AI tools don’t know who you are, what you’re working on or what “good” looks like for you. If you type “write a post about healthy eating”, it has to guess everything: the audience, the length, the tone, the format. The result is usually bland because bland is the safest guess.

The 5-part prompt formula

You don’t need all five every time, but the more you include, the better the answer.

  • Role: who the AI should act as (“You’re an experienced hiring manager”)
  • Task: exactly what you want (“Review my resume summary”)
  • Context: the background it needs (“I’m applying for junior marketing roles”)
  • Format: how the answer should look (“3 bullet points, under 50 words each”)
  • Constraints: what to avoid (“No jargon. Don’t invent details.”)

Before and after examples

Example 1: Getting advice

  • Vague: How can I be more productive?
  • Better: I work from home as a graphic designer and lose focus after lunch. Suggest 5 practical changes I can try this week. Keep each one to two sentences and skip generic advice like “drink more water”.

Example 2: Writing something

  • Vague: Write an Instagram caption for my bakery.
  • Better: Write 3 short Instagram captions for a small family bakery posting a photo of fresh cinnamon rolls on a rainy Monday morning. Warm, friendly tone. Under 30 words each. One should include a question to get comments.

Example 3: Learning something

  • Vague: Explain inflation.
  • Better: Explain inflation to someone with no economics background, using an example about grocery prices. Then give me one question to check I understood.

7 habits that improve almost any prompt

1. Give an example

If you want a certain style, show it. “Write it like this: [example]” works better than describing the style in words.

2. Ask it to ask you questions first

Before you answer, ask me up to 5 questions about anything you need to know to give me a great result.

This one line often improves results more than anything else.

🧪 Tested example

We ran this in ChatGPT in October 2026 using the “ask me questions first” line on a deliberately vague request. Below is the exact prompt and a real screenshot of the answer.

The exact prompt we used:

Write an Instagram caption for my bakery. Before you answer, ask me up to 5 questions about anything you need to know to give me a great result.

Screenshot of ChatGPT asking five questions before writing a bakery Instagram caption
Real screenshot of ChatGPT’s answer, taken October 2026. Nothing edited.

What stood out: Instead of guessing, ChatGPT stopped and asked for the bakery name, what the post is about, the vibe, the goal and the language. It even turned them into a quick form. Those are exactly the details a vague prompt leaves out, which is why this one line is worth adding whenever you are not sure what to include.

3. Set the length and format

“A table with 3 columns”, “5 bullet points”, “under 100 words”. AI is very good at following format instructions, and it saves you editing time.

4. Tell it what not to do

“Don’t use cliches”, “don’t make up statistics”, “don’t rewrite my wording, only point out problems”. Constraints are just as useful as instructions.

5. Break big tasks into steps

Instead of “write my business plan”, start with “list the sections a business plan for [business] should have”, then work through them one at a time.

6. Iterate instead of starting over

If the first answer is close, don’t rewrite the whole prompt. Reply with what to change: “Shorter”, “more casual”, “replace the second point with something about pricing”.

7. Ask it to check its own work

Review your answer. Is anything inaccurate, unclear or missing? Fix it and tell me what you changed.

A reusable prompt template

You are [role].
I need you to [task].
Context: [who it's for, what it's about, any background].
Format: [length, structure, tone].
Avoid: [things you don't want].
Before you start, ask me any questions you need answered.

Save this somewhere handy and fill in the brackets whenever you need it.

Common mistakes

  • Trusting facts without checking. AI can state wrong information confidently. Verify anything important, especially numbers, dates, names and sources.
  • Sharing private information. Leave out passwords, financial details and other people’s personal data.
  • Giving up after one try. The second or third version is usually much better than the first.

Frequently asked questions

Do prompts work the same in ChatGPT, Claude and Gemini?

The same principles work in all of them. Clear context, a specific task and a defined format improve results in any AI chatbot.

Do I need to learn “prompt engineering”?

Not for everyday use. The habits in this guide cover most of what regular users need. Advanced techniques matter more for developers building AI products.

Why does AI give different answers to the same prompt?

Most chatbots include some randomness so answers don’t sound repetitive. If you need consistency, give more specific instructions and examples.

Put it into practice

Take a prompt you used recently that gave a disappointing answer. Rewrite it using the 5-part formula and the “ask me questions first” line. Compare the two answers. Most people notice the difference straight away. When you’re ready, try these habits on real tasks like writing professional emails or studying for an exam.

Related guide: learn how to make a budget with AI.

Not sure which tool to use these prompts in? See our side-by-side test of ChatGPT vs Claude vs Gemini.

These prompt tips work the same way in Google AI Mode and in Claude.

Abdul Wasay

Written by

More about me →

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *