AI Mastery18 lessons
01 · Introduction to AI
02 · Prompt structure that gets the right answer the first time
03 · AI automations for everyday tasks
04 · Choosing the right AI tool
Guide · AI Mastery · Module 2
The basic formula for a good prompt
Six simple pieces you can combine every time.
Now that we’ve seen how a vague prompt makes AI guess, the next step is a simple structure we can use again and again.
A prompt doesn’t have to be huge. You don’t need to write like a developer or use technical language. But you do need to give AI the basic pieces it needs to understand exactly what you’re asking for.
The more of these pieces you give, the less AI has to guess.
The formula
Role + Task + Context + Format + Tone + Constraints.
It isn’t a strict rule. You don’t always need all six pieces. It’s a practical way of thinking so you write more clearly.
Why do we need a formula?
Most beginners write prompts the way they’d type a quick Google search:
These phrases do produce an answer, but usually a generic one. AI doesn’t know what’s in your head. With the formula, you’re not just throwing a topic at it. You’re giving it direction.
Without structure
“Write me an email.”
AI has to choose the audience, purpose, tone and length on its own. The result will be correct, but generic.
With structure
“Act as an experienced communications professional. Write a short email to a client who asked for more information. Thank them and tell them we’ll send detailed information by tomorrow. Keep it professional, friendly and under 100 words.”
The second prompt is more useful, not because it’s “smarter”, but because it’s clearer.
The six pieces, one by one
1. Role
With the role, you tell AI from which perspective to answer. The role changes the way it thinks and writes.
“Act as a career coach.”
“Think like a social media expert.”
“Answer as a teacher explaining to beginners.”
“Write as an experienced customer support agent.”
“Help me as a personal assistant.”
Without a role
“I want to start using AI at work. Where do I begin?”
With a role
“Act as a career coach. I want to start using AI at work. Where do I begin?”
Same question. Different role. Different answer.
2. Task
The task is the verb of the prompt: the specific action you’re asking for. The clearer it is, the clearer the answer.
“Write…”
“Summarise…”
“Organise…”
“Improve…”
“Suggest…”
“Correct…”
Weak task
“Help me with the meeting notes.”
It doesn’t know whether you want a summary, organisation, corrections or something else.
Clear task
“Summarise the meeting notes into 3 points: what was decided, who is doing what, and what remains open.”
Same material. Different task. Different result.
3. Context
Context is all the information that helps AI understand the situation. It’s often the most important piece.
who it is for,
what the purpose is,
what has happened,
what it should be careful about,
how much the audience already knows.
Without context
“Write an email asking for information about a laptop.”
With context
“Write an email to a large technology store about a laptop. This is my first contact, I want to ask about availability and price, and I’m interested in paying in instalments. Polite and formal tone.”
Same task. Different context. Different answer.
4. Format
Format is how you want the answer delivered. Even a correct answer isn’t useful if it isn’t in the shape you need.
Without format
“Tell me the benefits of AI in everyday life.”
With format
“Give me the benefits of AI in everyday life in 5 bullets, with a short example for each.”
Same content. Different format. Different presentation.
5. Tone
Tone is how the answer is written. The same message can sound friendly, professional, direct or formal.
friendly, professional,
short, direct,
polite, encouraging,
human, not overly formal.
Without tone
“Write a message to a colleague saying I won’t manage to send the work today.”
With tone
“Write a short, friendly message to a colleague saying I won’t manage to send the work today and I’ll have it ready tomorrow morning.”
Same message. Different tone. Different impression.
6. Constraints
Constraints are the rules that keep the answer within your limits. Often you know not only what you want, but also what you don’t.
“Under 120 words.”
“No technical terms.”
“No emojis.”
“In plain language.”
“Only the essentials, no exaggeration.”
Without constraints
“Write a LinkedIn post about how AI helps people without a technical background.”
With constraints
“Write a LinkedIn post about how AI helps people without a technical background. Keep it under 120 words, with no technical terms and no emojis.”
Same topic. Different constraint. A more controlled answer.
The full formula in one example
“Act as an expert in professional communications. Write a short email to a client who asked for more information about our services. I want to thank them for their interest and tell them we’ll send detailed information by tomorrow. Give me the email ready to send. The tone should be professional but friendly. Keep it under 100 words and don’t make it overly formal.”
If we break it into the six pieces:
Expert in professional communications.
Write a short email.
A client who asked about our services. You want to thank them and say you’ll send details by tomorrow.
An email ready to send.
Professional but friendly.
Under 100 words, not overly formal.
AI now has enough direction to give a useful result the first time.
Think of it as a builder with 6 boxes
You don’t have to write everything from scratch. Pick one piece from each box and join them:
Role: “Act as a career coach.”
Task: “Write a LinkedIn post.”
Context: “For people starting their careers.”
Format: “As bullet points.”
Tone: “Friendly and warm.”
Constraints: “Under 100 words.”
The final prompt:
“Act as a career coach. Write a LinkedIn post for people starting their careers, as bullet points, in a friendly and warm tone, under 100 words.”
Six boxes. One clear prompt you build yourself.
A shorter version of the formula
If all of this feels like too much, start simpler:
“I want you to [Task], for [Context], in [Format], with a [Tone] tone.”
“I want you to write an email to a client who asked for a quote, as a short text, in a professional but friendly tone.”
Even this small structure is far better than “Write me an email.” A prompt doesn’t have to be perfect. It has to be clear enough.
When do you not need all the pieces?
For very simple tasks, a short prompt is enough:
Use more structure when:
someone else will read the result,
it needs a specific tone,
there is a professional context,
there are details that must not be lost,
you want a specific format or something you can use straight away.
Small need, small prompt. Important result, clearer instructions.
Examples of complete prompts
Email to a client
“Act as a customer support agent. Write a short email to a client asking why their order was delayed. Politely explain that there’s a delay due to high volume, apologise, and let them know they’ll receive an update by tomorrow. Professional, human and not defensive. Under 120 words.”
Article summary
“Act as a research assistant. Summarise the article below in plain language. Give me 5 key points, 2 important conclusions and 3 questions I should ask. Avoid technical terms unless they’re necessary.”
Social media ideas
“Think like a social media strategist. Give me 15 Instagram post ideas about AI tools for beginners. Split them into 3 categories: educational, practical and beginner mistakes. For each idea, give a title, a short description and a possible hook.”
Planning the day
“Act as a personal assistant. Today I have: emails, an appointment at 17:00, grocery shopping, 30 minutes of exercise and a bill to pay. Make me a realistic schedule until 19:00, with the most important things first and short breaks.”
Improving a text
“Act as an editor. Improve the text below so it’s clearer, more natural and more professional. Don’t change the main meaning, reduce repetition, and at the end give me 3 short notes on what you changed.”
Short answers
Do I always need to write this much detail?
No. If the task is simple, a short prompt is enough. But if you want a good answer the first time — especially for something you’ll use at work, in study or with a client — structure helps a lot.
If I forget a piece, will the prompt fail?
No. AI answers even with little information. The less you give, the more it guesses. If you forget something, follow up: “Make it shorter”, “Put it in bullets”, “Give me 3 alternatives”.
Key takeaway
The basic formula for a good prompt is: Role + Task + Context + Format + Tone + Constraints. It isn’t a strict rule; it’s a practical way of thinking.
A better prompt doesn’t mean a more complicated prompt. It means a clearer instruction. And the clearer the instruction, the more useful the answer.