Prompting: role, task, context, format
Same tool, same minute. Rahat gets four paragraphs of beautiful nothing. Hiba gets six lines a parent will read.
- Build a prompt: role, task, context, format
- Judge the first answer, then fix the prompt
- Keep every prompt free of personal data
Prompting: role, task, context, format
Same tool, same minute. Rahat gets four paragraphs of beautiful nothing. Hiba gets six lines a parent will read.
- Build a prompt: role, task, context, format
- Judge the first answer, then fix the prompt
- Keep every prompt free of personal data
Story
Learn it
The model fills whatever you leave out with what is generally likely, which is how a vague request returns "esteemed parents" and refreshments nobody promised. A good prompt gives the model the context it needs in four parts: Role, Task, Context, Format. The first answer is rarely the one you keep, so you judge it and fix the prompt. And one rule never bends: no personal data goes into a prompt.
Words to know
what you type to a generative AI tool. It sets the context the model works from.
who is writing, or who it is for: "You are a school office assistant."
the one thing to do, starting with a verb: "Write a notice…"
what the reader knows and what must not be assumed: "Parents may not read English well. Do not invent dates or places."
how long, what shape, what language level: "Six lines, simple words."
improve the prompt and try again, rather than fixing the answer by hand.
a blank like [DATE] or [STUDENT NAME] that you fill in yourself, so no personal data goes into the prompt.
Step by step: from a weak prompt to a usable one
Weak: "write about the library."
- Role: You are the school librarian.
- Task: Write a short notice reminding students to return books.
- Context: Many Class 6 books come back late during exams. Readers are 11–13 years old. Do not invent any dates or fines.
- Format: Five lines, friendly, with a blank for the return date: [DATE].
- Check before sending: any name, photo, number or address? None, only a placeholder.
- Judge the answer, then fix the prompt: too formal? Add "in plain words a Class 6 pupil would use" and run it again.
Two habits worth more than any template: say what you don't want, and ask for the shape you need (six lines, a table, three options).
🕌 From our heritage
Muslim scholars held that you cannot judge a matter you have not properly framed: al-ḥukm ʿalā al-shayʾ farʿ ʿan taṣawwurihi — "a judgement about a thing follows from conceiving it correctly." A jurist asked a half-stated question was expected to establish the facts before answering, because an answer to a badly put question is worthless however well it is phrased. Your four columns are that same discipline: frame the question, then ask it.
Source: a maxim standard in works of logic and uṣūl al-fiqh.
Careful: a well-written answer is not a correct one. Fluency is not accuracy; Lesson 4.3 shows how to check. And a prompt is not a private message, so it never holds a classmate's name, photo or number.
Your missions
prompt-sheet.ods · prompt-log.ods · the school's AI account (teacher only) · prompt-pairs/ if there is no accountPaper first
7 minin pairs- 1
In
prompt-sheet.ods, fill Role · Task · Context · Format for the job your teacher sets — e.g. a six-line notice inviting parents to the science exhibition. - 2
Write it out as one paragraph in the last column.
- 3
Check it before it goes anywhere: any name, photo, number, address or anything about a classmate? Replace it with a placeholder like
[STUDENT NAME].
Run it, once
10 minwhole class- 4
Predict: what will be wrong with the first answer? Write one guess.
Only you can see this - 5
Your teacher runs the prompts on the projector, two or three at a time.
- 6
In
prompt-log.ods: my prompt · what came back · what was wrong · my next prompt. Fix the prompt, not the answer.
Stuck?
Your prompt is probably missing Context. Add one sentence on what the reader knows and what must not be invented.
Ask for the same thing twice more — as three options, then as a table. Which shape would you use?
No laptop today?
Do Part 1 on paper. For Part 2, read the printed weak and strong pairs in prompt-pairs/ and mark which of the four parts fixed each problem.
Debate it
Hiba's prompt worked because she knew what a good notice looks like — the date, the place, the time, the plain language.
Could someone who had never seen a good notice write a good prompt for one? What does that tell you about who gets the most out of these tools?
Check yourself · practice, not a test
In the app, students answer these one at a time and each answer is checked straight away. It's practice, never a mark — anything they miss comes back later for another go.
1.Put the four parts of a prompt in the order taught in this lesson:
- 1Context
- 2Task
- 3Role
- 4Format
2.Which prompt is most likely to return something usable?
- A"Write about water."
- B"Write a good essay on water, very nice."
- C"You are a science teacher. Explain in six lines, for a Class 6 pupil, why water in a kangri-warmed room evaporates. Do not invent any numbers."
- D"Water essay, urgent, fast."
3.If the answer is wrong, the right move is usually to fix the answer by hand rather than to improve the prompt.
TrueFalse4.Which of these must never appear in a prompt for a school task? (choose all that apply)
- AA classmate's name
- BThe topic of the lesson
- CA phone number
- DA photograph of a student
5.Saying "do not invent any dates" is an example of telling the model what you do not ______.
Role, task, context, format — on paper first, and nobody's personal data in it.
Typing practice
Skill: quotation marks and colons, Term 2 (5 min)
- On typing.com, open the punctuation practice your teacher has set .
- Today's keys are the ones a written prompt needs:
":,and the apostrophe. - Prompts are typed once and reused. A prompt with a missing quotation mark is still a prompt; a Python line with one is not — that is Unit 5's problem, so practise now.
- "
- :
- ,
Written and designed by Faizan Ayoub. © 2026 Faizan Ayoub. All rights reserved.