🧠AI Foundations
Your progress0%
0 of 49 lessons
Reading12 min·Lesson 2 of 5

The CRISPE Framework

CRISPE is a five-part framework that turns a vague idea into a prompt that gets real results. Learn it once, use it forever.

Why Use a Framework?

When you cook ugali, you do not guess how much water to add — you follow a method. CRISPE is your method for prompting. It stands for: Context, Role, Instructions, Specifics, Personality, Example. Not every prompt needs all six parts, but knowing them lets you decide which to include.

📋
CRISPE stands for:
C — Context (your situation)
R — Role (who the AI should be)
I — Instructions (what to do)
S — Specifics (details and constraints)
P — Personality (tone and style)
E — Example (a sample of what you want)

C — Context: Set the Scene

Context tells the AI who you are and what situation you are in. Without context, the AI has to guess — and it often guesses wrong. Think of context as the first few sentences you would say if you were calling a knowledgeable friend for advice.

Without Context
"Write a business plan."
With Context
"I am a 24-year-old in Kisumu who sells second-hand phones and wants to start accepting M-Pesa payments and track my daily sales. I have KES 5,000 to invest."

R — Role: Give the AI a Job Title

When you tell the AI to play a specific role, it shifts the depth and style of its response. Telling it to be a "career coach specialising in Kenyan tech companies" gives you very different advice from telling it to be a "friendly neighbour."

💼
Useful roles to try: experienced Kenyan HR manager, patient maths tutor, business plan consultant familiar with East Africa, legal advisor explaining in simple Swahili, Safaricom customer experience trainer.

I — Instructions and S — Specifics: Tell It Exactly What to Do

Instructions are the action: "write," "explain," "summarise," "translate," "compare." Specifics add the details that prevent a generic answer: length, format, language, who the audience is, what to include or exclude.

Vague Instructions
"Explain compound interest."
Clear Instructions + Specifics
"Explain compound interest in simple Swahili, using an example of saving KES 1,000 per month in a KCB savings account at 8% annual interest for 3 years. Use a table to show the growth year by year."

P — Personality and E — Example: Polish the Output

Personality controls tone: professional, casual, encouraging, direct, humorous. Example shows the AI a sample of the format or style you want — this is one of the most powerful parts of CRISPE because the AI is excellent at matching patterns.

Pro tip: If you want the AI to match your own writing style, paste a paragraph you have already written and say: "Write in a similar tone to this." This is called a "style sample" and it works extremely well.

Putting CRISPE Together

Here is a full CRISPE prompt from a university student in Nairobi applying for an internship:

📝
Full CRISPE Prompt:

"I am a third-year Computer Science student at Strathmore University looking for a data analyst internship in Nairobi. [Context]

Act as an experienced Kenyan recruiter who has hired for tech companies. [Role]

Write a 3-paragraph cover letter for me. [Instructions]

Keep it under 250 words, formal but not stiff, and mention my skills in Python and Excel. Do not use clichés like 'I am a hard worker.' [Specifics]

Tone should be confident and enthusiastic. [Personality]

Here is a cover letter I like the structure of: [paste example]." [Example]

You do not need to label each part when you type your prompt — just make sure all the ingredients are there. With practice, building a CRISPE prompt takes less than two minutes and saves you hours of back-and-forth.

In the next lesson, we go one step further: what to do when even your best prompt does not give you the answer you need — iterative prompting.