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

Abstract geometric illustration in navy and orange for the guide: How to Write Better AI Prompts: A Beginner's Guide

Quick answer: an AI assistant gives better answers when you tell it exactly what you want. Say what the task is, give the background it needs, describe the format you want, and then refine the result with follow-up messages. You do not need special wording; you need clear instructions.

Last checked against official sources: 7 November 2026.

What a prompt is

A prompt is the message you type to an AI assistant. The assistant does not know your situation unless you describe it, so a vague prompt leaves it to guess. OpenAI’s help centre advises being specific, descriptive and detailed about the context, outcome, length, format and style you want. The same advice applies whichever assistant you use.

Six habits that improve almost every prompt

1. Say what you want first

OpenAI recommends putting your instructions at the start of the prompt and separating them clearly from any text you want the assistant to work on, for example by placing the text between triple quotation marks. This stops the assistant from confusing your instruction with the material.

2. Give the background

Tell it who the answer is for, what you already know, and what the goal is. “Explain what a VPN is” gets a generic answer. “Explain what a VPN is to a retired relative who only uses email and online banking” gets a more useful one.

3. Be precise about length, format and style

OpenAI suggests cutting vague, fluffy wording and being exact instead. It contrasts a loose request for a “fairly short” description with a precise one asking for a paragraph of three to five sentences. Ask for what you need: a numbered list, a table, a short email in a friendly tone, or a summary of no more than 100 words.

4. Show an example of what you want

The OpenAI guide says models respond better when they are shown the format you want. Start by asking without an example; if the result is not right, paste in one or two examples of the style or layout you would like and ask for more in the same pattern.

5. Say what to do, not only what to avoid

Another tip from OpenAI is to describe the behaviour you want instead of just listing things not to do. “Keep the explanation to plain language a beginner can follow” works better than “do not be too technical”.

6. Improve the answer in steps

The first answer is a draft. Reply with what to change: “shorter”, “add an example”, “explain step 3 in more detail”, or “rewrite for a younger reader”.

A simple template

Fill in the blanks for tasks you repeat:

  • Task: what you want done.
  • Context: the background and who it is for.
  • Material: any text or notes to work from, placed after your instruction.
  • Format: the length, layout and tone.

Before and after

Vague: “Help me with a meeting.”

Better: “Write an agenda for a 30-minute team meeting about next month’s schedule. There are five people on the team. Use a numbered list with a time for each item and keep each item to one line.”

Vague: “Summarise this.”

Better: “Summarise the text below in five bullet points for someone who has not read it. Put any dates or deadlines at the end.” Then paste the text after your instruction.

Always check the answer

A clear prompt makes an answer more useful, but it does not make it correct. AI assistants can state mistakes confidently, so check important facts, figures and names against reliable sources before you rely on them. See our guide to using AI chatbots safely for what to share and how to check answers.

More in Everyday AI Tools, or browse all guides.

Sources

The six habits above draw on OpenAI’s help centre article “Best practices for prompt engineering with the OpenAI API”. The examples are our own. See also our Editorial Policy.

This guide is for general information. Software changes often, so please check the publisher’s official help pages if a step looks different. See our Editorial Policy and Disclaimer.

More guides like this