AI
How to write good AI prompts (with examples you can copy)

The same AI gives a weak answer to a vague question and an excellent answer to a clear one. Writing clear instructions is called prompting, and it’s the most useful AI skill there is.
The formula: role, task, context, format, examples
- Role: who should the AI act as? “Act as an experienced KCSE chemistry teacher.”
- Task: what exactly to do. “Explain moles and write 5 practice questions.”
- Context: what it needs to know. “My student is in Form 3 and struggles with calculations.”
- Format: how the answer should look. “Short steps, then numbered questions, answers at the end.”
- Examples: what good looks like. Show one or two.
Weak vs strong
- Weak: “Write a business plan.” Strong: “I’m starting a mobile car wash in Ruiru with KSh 80,000. Write a one-page business plan for a youth fund application: services and prices, customers, startup and monthly costs, expected income and risks. Use a table for the numbers.”
- Weak: “Write a CV.” Strong: “Write a one-page CV for a fresh IT diploma graduate applying for junior IT support. Skills: networking, Windows, Excel, customer service. Three months’ attachment at a county office.”
- Weak: “Help with Excel.” Strong: “Column B has sales and column C says M-Pesa or Cash. Give me a formula for total M-Pesa sales and explain it.”
Techniques that work
- Ask it to ask you questions first: “Before you write, ask me 5 questions.”
- Give it your material: notes, the job advert, your draft.
- Iterate: “shorter”, “more formal”, “add prices in KSh”.
- Break big jobs into steps: outline, then each section.
- Ask it to check itself: “List any mistakes or assumptions in your answer.”
A template to save
Act as [role]. I need you to [task]. Background: [situation and facts]. Requirements: [length, tone, must-include]. Format: [table, bullets, email, language]. First, ask me any questions you need.
Practise with a live exercise in our free prompting masterclass, part of the AI from zero to pro course.
Frequently asked questions
What is a prompt in AI?
A prompt is the instruction or question you give an AI tool. Clearer prompts with context and a requested format give better answers.
Do prompts work the same in ChatGPT, Claude and Gemini?
Yes, the same principles work in all of them: a clear task, context, the format you want and examples.
Can I write prompts in Kiswahili?
Yes. Most assistants understand Kiswahili, and you can ask for answers in Kiswahili, though checking accuracy is important.