\n

How to Write Better AI Prompts: 7 Simple Rules

How to Write Better AI Prompts: 7 Simple Rules

Short answer: a good AI prompt tells the AI who it is helping, what you want, what to use, and what the result should look like. The more clearly you say those four things, the better the answer.

Most people type a short, vague request and then blame the AI when the answer is generic. The fix is rarely a secret trick. It is usually just being clearer. This guide gives you seven rules that work in ChatGPT, Claude, Gemini and most other AI chat tools, each with a before-and-after example you can copy.

What is a prompt?

A prompt is the message you type to an AI tool. It can be a question, an instruction, or a long set of details. The AI has no idea what is in your head, so everything it needs to know has to be in the prompt or earlier in the same chat.

Rule 1: Say exactly what you want

Vague requests get vague answers. Name the task, the topic and the goal.

Before: Write about healthy eating.

After: Write a 300-word beginner’s guide to healthy eating for busy office workers. Focus on meals that take under 15 minutes to prepare.

Rule 2: Give the AI some background

Tell the AI who the answer is for and why you need it. Background changes the vocabulary, depth and examples it chooses.

Before: Explain how interest rates work.

After: I’m a first-year university student with no finance background. Explain how interest rates work using everyday examples, and avoid jargon.

Rule 3: Assign a role

Asking the AI to answer as a specific kind of helper often improves focus and tone.

Before: Check my CV.

After: Act as an experienced recruiter in the marketing industry. Review my CV below and tell me the 5 biggest weaknesses, in order of importance.

Rule 4: Specify the format

If you want a table, a list, an email or exactly 100 words, say so. Otherwise the AI will guess.

Before: Compare Python and JavaScript.

After: Compare Python and JavaScript in a table with these columns: main uses, learning difficulty, speed, and best for beginners. Add a one-sentence recommendation below the table.

Rule 5: Show an example

Examples are one of the strongest ways to steer an AI. If you have a sample of the style you want, paste it in.

Before: Write a product description for my candle.

After: Write a product description for my lavender soy candle in the same friendly, short style as this example: “Our oat cookie candle smells like Sunday morning. Hand-poured, 40-hour burn time.” Keep it under 50 words.

Rule 6: Break big tasks into steps

Long, complicated requests often produce messy results. Ask for one step at a time, or tell the AI to work in stages.

Before: Create a full marketing plan for my new bakery.

After: I’m opening a bakery in a small town. Step 1: list 5 types of customers I should target and what each one wants. Wait for my feedback before moving on to Step 2.

Rule 7: Ask for changes, not a restart

Your first prompt rarely gives the perfect answer, and that is normal. Treat the chat like a conversation and improve the result with follow-ups:

  • “Make it shorter and more casual.”
  • “Rewrite the second paragraph with a real-life example.”
  • “Give me 3 different versions of the opening line.”
  • “What did you assume that I didn’t tell you?”

That last question is useful because it shows you what information to add next time.

A simple prompt template you can reuse

Copy this and fill in the blanks:

Role: Act as a [type of expert]. Task: Help me [specific task]. Background: I am [who you are] and this is for [purpose or audience]. Details: Use [facts, text or data]. Avoid [things you don’t want]. Format: Give the answer as [list, table, email, word count].

Common prompt mistakes

  • Being too short. One-line prompts almost always give generic answers.
  • Asking for too much at once. Split big jobs into steps.
  • Not checking the answer. AI can sound confident and still be wrong, so verify facts, numbers and quotes.
  • Sharing private data. Do not paste passwords, personal IDs or confidential client information into AI tools.
  • Giving up after one try. Follow-up prompts are where most of the quality comes from.

Frequently asked questions

Do I need special “prompt engineering” skills? No. Clear writing is most of it. The seven rules above cover what most people need.

Do these rules work in ChatGPT, Claude and Gemini? Yes. Different tools respond a little differently, but clear instructions, background, examples and a requested format help in all of them.

How long should a good prompt be? As long as it needs to be. A few sentences with clear details usually beat a single short line.

Why does the AI give a different answer each time? AI tools generate answers freshly each time, so wording and details can vary. If you like a result, ask the AI to keep that style in later replies.

Final thoughts

Better prompts come down to clarity. Say what you want, who it is for, what to use and how it should look, then improve the answer with follow-ups. Try one before-and-after example from this guide on your next task and compare the result.

Related reading on aiinfo.blog: add 2 to 3 internal links here, for example your guides to free AI tools and AI risks.