Academy / Better Prompts / Lesson 2
Lesson 2: Role, goal, context and format
About 15 minutes. You'll learn the four building blocks the big AI companies teach, and when each one helps.
1. Four building blocks
Role (or persona)
Who should the AI act as? "You are an experienced primary school teacher." Anthropic's docs say even a one-sentence role can change the reply's focus and tone.
Goal (or task)
What should it produce? Start with a verb: write, summarise, compare, plan. Microsoft's Copilot guide says this is the one essential part.
Context
The background: who it's for, the facts, why you need it. Anthropic notes that explaining why helps the AI make better choices.
Format
The shape of the answer: length, bullets, a table, a subject line, reading level.
Different names, same ideas: Google teaches Persona, Task, Context, Format; Microsoft teaches Goal, Context, Source, Expectations. Google adds that you don't need all four every time.
2. Putting it together
YouYou are a friendly community events organiser. Write the text for a poster for our charity bake sale. Context: it's on Saturday 22 November, 10am–1pm, at St Mary's church hall, Norwich, raising money for the local food bank. Card and cash accepted. Format: a headline, 3 short lines and a call to action, under 50 words.
3. When to skip a part
Quick jobs ("Translate 'thank you' into Welsh") need just a task. Add role and context when the audience matters, and format when you know what shape you need.
4. Practice workspace
Your task
Scenario: You coach an under-10s football team in Derby. You want a message for parents explaining that training moves indoors to the sports centre for December, with the times unchanged (Wednesdays, 5–6pm), and reminding them to bring indoor trainers.
- Write a prompt using all four blocks: role, goal, context and format.
- Click Check my prompt.
- Try it in a free AI. Then try it again with the role removed and notice what changes.
- Paste your favourite reply below.
1 Write your prompt
This check uses simple word-matching in your browser. It is not AI marking; it just looks for the key parts.
- Role E.g. “You are a friendly youth football coach.”
- Goal Start with a verb: “Write a message to parents…”.
- Context Include the change, the dates, the times and the kit.
- Format E.g. “under 80 words, friendly, for WhatsApp”.
2 Try it in a free AI
Each button copies your prompt to the clipboard and opens the assistant in a new tab. If the prompt isn't filled in for you, paste it in.
3 Paste the AI's reply and review it
5. Quick quiz
Q1. Which part does Microsoft say is the only essential one?
- Role
- Goal
- Format
Show answer
Answer: B. Microsoft's Copilot guide says a clear goal is required; the rest improve results.
Q2. “Under 50 words, as a bulleted list” is an example of…
- Context
- Format
- Role
Show answer
Answer: B. Format describes the shape and length of the answer.
Q3. Do you always need all four parts?
- Yes, or it won't work
- No: add the parts that help for the job
- Only on paid plans
Show answer
Answer: B. Google's guide says you don't need all four. Quick jobs may need only a task.
Official sources
- Google Workspace: Writing effective prompts (Persona, Task, Context, Format)
- Microsoft Support: Learn about Copilot prompts (goal, context, source, expectations)
- Anthropic docs: Giving Claude a role
- Anthropic docs: Prompting best practices (be clear and direct, examples, roles, long documents)
- OpenAI Help: Prompt engineering best practices for ChatGPT
Checked 1 November 2026. Lesson text is written in our own words. Menus, limits and settings change often, so check the current version on each site.