🔴 Online tutoring this holiday: live CBC & IGCSE classes with real teachers · 4 classes a week · KSh 3,000 a week · M-Pesa Enrol now →
πŸ“š Kenya's #1 CBC (now CBE) & IGCSE Learning Platform | πŸ’¬ WhatsApp Support
M-Pesa Β· Visa Β· PayPal Β· Sent to your email after payment
← All Modules πŸ“Š My Progress
Progress Β· Module 4 of 10
Module 4

Prompt Engineering 101

A practical skill you can learn this week. Get precise, useful output from any AI using one clear framework.

⏱ 45 min read 📚 5-question quiz 🎯 Pass score: 3/5

Why prompting matters

Two people give ChatGPT the same task: "write an email to my boss asking for leave." One gets a generic, unusable paragraph. The other gets a polished, ready-to-send email. The only difference? The way they asked.

Prompt engineering is the skill of asking AI in a way that reliably gets you what you want. It's not a trick, it's a discipline. Most people who complain "AI is useless" are bad at prompting. This module fixes that.

The CO-STAR framework (memorise this)

CO-STAR is the clearest prompting framework I know. Six letters, six ingredients. Use them all and your answers usually become far more useful.

LetterStands forWhat to include
CContextBackground. Who are you? What's the situation?
OObjectiveThe specific task. What do you need done?
SStyleProfessional? Casual? Punchy? Academic?
TToneWarm? Formal? Stern? Funny?
AAudienceWho will read this? Parent? Boss? Colleague? Student?
RResponse formatEmail? Bullet list? Table? 500 words? 3 paragraphs?

Worked example: a teacher asks AI to help plan a lesson

❌ Bad prompt: "Help me plan a maths lesson about fractions."

This gets a generic, unusable response because the AI has no context. It doesn't know the grade, the term, the sub-strand, how long the lesson is, or what resources you have.

✅ CO-STAR prompt:

Context: I'm a Grade 7 Mathematics teacher in a Kenyan public school following the CBC (now CBE) curriculum. My class has 45 learners with mixed ability. Term 1 is ending and we're on the "Fractions" sub-strand.

Objective: Design a single 35-minute lesson that introduces "adding fractions with different denominators."

Style: Practical, learner-centred, activity-based.

Tone: Professional, I'll read this to my HOD.

Audience: The lesson plan is for me; the lesson itself is for Grade 7 learners who understand same-denominator addition.

Response format: KICD-style lesson plan with sections for: Specific Learning Outcomes, Key Inquiry Questions, Learning Resources, Introduction (5 min), Lesson Development (25 min), Conclusion (5 min), Assessment, and Reflection.

That second prompt will produce a genuinely usable lesson plan. Same AI, totally different output quality.

The five rookie mistakes (stop making these)

  1. Being vague. "Make it better" is useless. "Rewrite this in active voice and cut by 30%" is actionable.
  2. Not specifying output format. If you want a bulleted list, say so. AI defaults to prose.
  3. Not giving examples. If you have a previous email you liked the tone of, paste it. "Match the tone of the email below."
  4. Asking for everything in one shot. Complex tasks should be broken into steps. Ask for an outline first, then a draft, then a polish.
  5. Accepting the first answer. AI's first reply is usually a rough draft. Saying "Good, but can you make it more [X]?" usually improves it. Iterate.

Your companion library: 20 ready-to-use CO-STAR templates

Before you try writing your own, study 20 battle-tested prompts we built for this module, organised by role (teachers, students, parents, professionals, small business). Every template is copy-pasteable and uses the CO-STAR framework.

📋 20 Free Prompt Templates Open the Prompt Template Library β†’

Try this now (5 minutes, optional)

Open ChatGPT, Claude, or Gemini. Give it this exact CO-STAR prompt and see what you get:

Context: I'm a parent in Nairobi with a Grade 8 child who struggles with English comprehension.
Objective: Give me 5 practical activities I can do with my child at home in the next 2 weeks to improve comprehension.
Style: Warm, practical, no jargon.
Tone: Encouraging.
Audience: A working parent with limited time (30 min/day).
Response format: Numbered list of 5 activities. Each activity: name, materials needed, step-by-step instructions, time required.

The output should be immediately usable. If it's not, the model is wrong, not you.

Module 4 action kit: the CO-STAR template

About 10 minutes. Works on a phone. Tick the boxes as you go; they are saved on this device only.

1. Prompt to keep

Template to keep (replace every [bracket])
Context: I am a [job] in [town], Kenya. [The situation in one or two lines.]
Objective: [The one task I need done.]
Style: [For example practical, short, no jargon.]
Tone: [For example warm and professional.]
Audience: [Who will read this.]
Response format: [For example a numbered list of 5, under 100 words.]
Ask me 3 questions first if anything is missing. If you are not sure of a fact, say so.

2. Worked examples: before and after

Shop owner. Weak: "Reply to my customer."
CO-STAR: Context: I run a phone accessories shop in Thika. A customer asked if a charger is original and what it costs. Objective: write a reply. Style: short and clear. Tone: polite and honest. Audience: a customer on WhatsApp. Response format: one reply under 50 words in English, then the same in Swahili. Use [price] where I have not given one.

NGO officer. Weak: "Write a donor update."
CO-STAR: Context: I work for a youth group in Kisumu that runs a tree-planting project. Objective: write a quarterly update. Style: simple and honest. Tone: warm. Audience: two small donors. Response format: 120 words with three headings. Use [figure] where I have not given a number. Do not invent statistics.

Notice that each good prompt tells the AI what it must not invent.

3. Checklist: the CO-STAR card (score yourself out of 6)

4. Your 5-minute exercise

Fix the bad prompt. Choose one: (1) "Write a notice." (2) "Help me with my business." (3) "Make a test." Rewrite it with all six CO-STAR parts, run it, and score yourself on the card above. Then ask the AI: "What is still missing from my prompt?"

🧠 Quick Quiz

Answer all questions below, then click Submit. Score 3 or more to unlock the next module.

Question 1

What does "C" stand for in the CO-STAR framework?

Question 2

Why is "help me write an email" a weak prompt?

Question 3

What should you do if the AI's first answer is mediocre?

Question 4

Which of these is a clear output-format specification?

Question 5

What's the most common reason people say "AI is useless"?

← Module 3
Next Module β†’
Pass the quiz to unlock
📚

Get Free CBC (now CBE) Revision Materials

Join 500+ Kenyan teachers and parents. Get a free sample pack (Grade 7 Maths notes + exam) plus weekly study tips.

No spam. Unsubscribe anytime. We respect your privacy.

S Ask Somo 🇰🇪 FREE Β· AI TUTOR Γ—