In this article
- What is a prompt, and how does AI read it?
- How do I write a good prompt? The Five Rivets
- What does a prompt look like as I build it?
- How do I fix a prompt that is not working?
- What do prompt words like context window and few-shot mean?
- Which prompt style suits which job?
- What habits keep prompts safe and honest?
- Writing AI prompts: questions people ask
The short answer
To write a good AI prompt, cover five things: the role the AI should take, the exact ask, the context it needs, the format you want back, and the checks it must apply. If you only have thirty seconds, give context and format. Then reply with short corrections instead of starting again.
There is a word for people who are good at writing prompts. It is "clear". That is all. Nobody is born with it, and nobody needs a qualification. You need a repeatable shape, a few examples and the willingness to say what you meant.
This is the full guide: how AI reads a prompt, a five-part method I call the Five Rivets, a worked example built up in front of you, a plain-English dictionary and a short loop for improving anything that is not working. It is the hub for our prompting series, so you will find links to the specialist pages as we go.
What is a prompt, and how does AI read it?
A prompt is the text you give an AI model so it can respond. The model does not look anything up or understand you the way a colleague would. It predicts the most likely useful continuation of everything it has been given, so the more precise and relevant your text, the better the prediction.
Three consequences follow, and they explain most of what goes wrong:
- Vague in, average out. With no detail, the AI gives the most typical answer. Typical is rarely what you wanted.
- It cannot read your mind or your files. Anything it needs must be in the conversation.
- It never shrugs. A person would say "I am not sure what you mean." The AI will happily guess. Give it permission to ask instead.
How do I write a good prompt? The Five Rivets
Think of a prompt as a plate held together by five rivets. Miss one and it still holds, but it rattles. Role, Ask, Context, Format, Checks.
| Rivet | Question it answers | Weak | Strong |
|---|---|---|---|
| Role | Who is the AI being? | (nothing) | You are a UK employment-law adviser for small firms |
| Ask | What exactly should it do? | Help with a policy | Draft a one-page remote working policy |
| Context | What does it need to know? | (nothing) | 12 staff, hybrid, two roles must be on site. Our current rule is in the text below |
| Format | What shape should it take? | (nothing) | Headings, plain English, under 400 words |
| Checks | What must it avoid or flag? | (nothing) | Do not state legal rules as certain. Flag anything to confirm with a solicitor |
ROLE: You are an HR adviser who works with UK businesses of fewer than 50 staff. ASK: Draft a one-page remote working policy. CONTEXT: We have 12 staff. Hybrid is the norm, but our two receptionists must be on site every day. Our current informal rule is below. [paste current rule] FORMAT: Short headings, plain English, under 400 words, written for staff rather than lawyers. CHECKS: Do not state legal requirements as certain. Put [CONFIRM] next to anything I should check with a solicitor. If something I have not told you matters, ask before you write.
Tip: the labels are for you. The AI is happy with plain paragraphs. Labels just make it easy to see which rivet is missing.
If you only have thirty seconds, use two rivets: Context and Format. They cover most of the gap between a poor answer and a good one.
What does a prompt look like as I build it?
Here is the same request improved four times. Notice that the final prompt is not clever. It is just complete.
Write a LinkedIn post about our training.
You are a B2B copywriter. Write a LinkedIn post announcing our one-day AI training for accountancy firms.
You are a B2B copywriter. Write a LinkedIn post announcing our one-day AI training for accountancy firms. Audience: partners at firms of 5 to 20 staff who are curious but cautious. It runs on [date] in [town], up to 12 places. Under 120 words, no hashtags, one line at the end with how to book.
You are a B2B copywriter. Write a LinkedIn post announcing our one-day AI training for accountancy firms. Audience: partners at firms of 5 to 20 staff who are curious but cautious. It runs on [date] in [town], up to 12 places. Under 120 words, no hashtags, one line at the end with how to book. Match the tone of this earlier post :- "Most firms we meet are not behind on AI. They are just not sure where to begin." Avoid marketing buzzwords. If you need a detail I have not given you, put [GAP] there.
Version 1 would give you the post everyone else has written. Version 4 gives you one you might actually send.
How do I fix a prompt that is not working?
- Read the answer for what is wrong, not that it is wrongToo long? Too generic? Wrong facts? Wrong tone? Name the problem in a few words.
- Find the missing rivetGeneric means no context or example. Rambling means no format. Invented facts mean no source and no permission to say 'not sure'.
- Add one thing and re-runChange one variable so you learn what helped.
- Reply, do not restartIn the same chat, say what to change. The AI keeps the conversation.
- Save the winnerPut it in your prompt library. See tip ten in our top 10 prompt tips.
What do prompt words like context window and few-shot mean?
| Term | What it means |
|---|---|
| Prompt | The text you give the AI, including everything earlier in the chat |
| System prompt | Standing instructions that sit behind every chat, such as custom instructions |
| Context window | How much text the AI can hold in view at once. Longer is not always better |
| Token | A chunk of a word. Limits and costs are counted in these |
| Few-shot | Showing the AI a few examples of what you want |
| Zero-shot | Asking with no examples |
| Chain of thought | Asking the AI to reason step by step before answering |
| Hallucination | A confident answer that is wrong or invented |
| Temperature | A setting for how adventurous or predictable the AI is |
| Grounding | Tying the AI to a source you supply so it stops guessing |
Context is the one to understand well, because it is where prompting turns into something bigger. Read what is context management in AI when you are ready.
Which prompt style suits which job?
| Job | Lean on | Go deeper |
|---|---|---|
| Emails and short drafts | Role, Format, an example | AI for business emails and proposals |
| Summarising and analysing documents | Context, Checks | Best AI tool for analysing documents |
| Everyday ChatGPT use | Custom instructions, follow-ups | How to prompt ChatGPT |
| Microsoft 365 work | Goal, Context, Source, Expectations | How to prompt Copilot |
| Autonomous tasks | Done-when, boundaries, check-ins | How to prompt an AI agent |
| Marketing clips | One shot, one camera move | How to prompt AI video |
| Learning it properly | Practice with feedback | How to prompt AI course |
What habits keep prompts safe and honest?
- Check anything that matters. Facts, figures, names and legal points. See how to judge the accuracy of AI information.
- Keep sensitive data out of tools your organisation has not approved. Start with how to keep information safe using AI tools.
- Say when you used AI where honesty matters, such as client work, applications and public content.
- Keep your own judgement. The AI drafts. You decide.
Writing AI prompts: questions people ask
What makes a good AI prompt?
A good prompt is specific about who the AI is, what it should do, what it should work from, what shape the answer should take and what to avoid. Real material and a clear format matter most.
How long should a prompt be?
As long as a good brief to a colleague. A line for a simple question, a paragraph or more for a document. Add length only when each sentence changes the answer.
Should I use a prompt template?
Yes, once you have found one that works. A template with [brackets] for the changing parts saves time and gives steadier results. Keep them in a shared document.
Why do I get different answers to the same prompt?
AI models have some built-in variation. Make the prompt more specific, add an example, and ask for a fixed format. Save the version that works best.
Do I need to learn to code to write prompts?
No. Prompts are written in plain English. Clear thinking about what you want matters more than any technical skill.
Where can I learn more?
Read the top 10 tips, try the specialist guides in this series, or join a live session. Our Basic AI Training is the usual first step.
Keep reading
Turn the method into a habit with your team
The Five Rivets are easy to read and hard to remember on a busy Tuesday. Our training gets your team using them on their own work until they stick.
- Basic AI Training A friendly start for beginners.
- AI Basics Deep Dive How AI works and where it breaks.
- Programmes The full list.