All guides
BeginnerSelf-pacedFree GuideSection 9/50

Anatomy of an effective prompt

Explore generative AI through prompts, assistants, multimedia and response checking. Work through sections and exercises at your own pace.

πŸ’‘

Free content, available without an account. Tools and models change: use the current model guide to check their versions. Models and sources

Section 10.2.1 : Anatomy of an effective prompt

🎯 Learning objective

Understanding the fundamental components of an effective prompt and mastering the principles that transform a vague instruction into a precise request producing actionable results. This is THE foundational skill of the AI era.


What is a prompt?

A prompt is the instruction you give to an AI model. It's the interface between your intention and the model's capability. Output quality depends directly and massively on prompt quality β€” it's the #1 skill of the AI era.

Think of it as the difference between telling an assistant "Make me something good" and "Write a 3-page report on X, with an executive summary, quantitative data, and actionable recommendations for Tuesday's board meeting". Same assistant, same skills β€” but a radically different result.

The 6 components of an effective prompt

Every prompt can be broken down into 6 fundamental building blocks. Not all are always necessary, but knowing them allows you to construct prompts suited to any situation β€” from the simplest to the most complex.

1. The role (who is the AI) β€” Defining the persona and expected expertise

The role is the most underestimated and most powerful component. By defining who you're talking to, you steer the vocabulary, depth, and angle of the response.

Examples by level of detail:

Basic: "You are a marketing expert."
Intermediate: "You are a senior marketing director with 15 years 
of experience in B2B SaaS."
Expert: "You are a CMO of a B2B SaaS scale-up (50-200 employees) 
who has already led 3 product launches in the French market. 
You are pragmatic, data-driven, and you hate BS marketing 
with no measurable ROI."
Role levelImpact on responseWhen to use
No roleGeneric, often superficial responseSimple questions
Basic role (1 line)+20% quality, adapted vocabularyDaily use
Detailed role (3-5 lines)+40% quality, expert reasoningStrategic tasks
Role with personalityDifferentiated response, unique perspectiveCreativity, consulting

2. The context (the situation) β€” Providing necessary background information

Context is everything the AI cannot guess. The more relevant context you provide, the less the AI fills in gaps with assumptions (often wrong ones).

Our CRM SaaS startup sells to French SMBs (10-50 employees).
We raised €2M in Series A 6 months ago.  
Our current revenue is €300K ARR with €25K MRR.
We have a marketing budget of €5,000/month.
Our main competitor is HubSpot (but we target 
a segment they ignore: micro-businesses of 5-15 people).
Our average sales cycle is 14 days.

The context rule: include everything a new colleague would need to know to understand your situation and produce quality work.

3. The task (what to do) β€” A clear and specific instruction

The task is the central element of the prompt. It must answer two questions: what to do and what level of detail.

Weak taskStrong taskWhy it's better
"Help me with marketing""Create a Q2 acquisition plan with 5 channels"Actionable, measurable
"Write something""Write a 120-word email, professional tone"Format and tone specified
"Analyze the data""Identify the 3 key trends and propose 1 action per trend"Number and structure defined
"Give me ideas""Propose 10 blog post titles, listicle style, targeting the keyword 'SMB CRM'"Quantity, format, target

4. The format (how to present) β€” The expected response structure

This is the component that transforms a "correct" response into a "directly usable" one. Without a specified format, the AI defaults to linear text β€” rarely optimal.

Most useful formats:

Present as a table: channel | budget | target KPI | 
concrete actions. Add a 3-line executive summary.
Requested formatWhen to useExample instruction
TableComparisons, matrices"As a table with 4 columns"
Bullet pointsAction lists"Numbered list of 5-7 actions"
JSONTechnical integration"JSON format with fields: name, description, priority"
Executive summaryLeadership communication"Summary in 3 sentences for a busy CEO"
EmailDirect communication"Email format: subject + body < 100 words + CTA"
Structured planLong documents"Plan in 5 parts with subsections"
Before/AfterValue demonstration"Show the current version vs. the improved version"

5. The constraints (the limits) β€” What to avoid or respect

Constraints prevent the AI from drifting toward responses that are too long, too technical, or off-topic.

Constraints:
- Maximum 500 words
- No Anglo-Saxon marketing jargon (use French terms)
- Only channels realistic for a €5K/month budget
- Don't suggest TV or radio campaigns (too expensive)
- Include at least 2 zero-cost channels (community, SEO)

6. The example (the model) β€” An example of what you expect

The example is the most powerful component for getting a precise format. A single example is worth a thousand words of instruction.

Expected format example for a channel:
| Channel: SEO Content |
| Budget: €1,500/month |
| KPI: 50 qualified leads/month |
| Actions: 8 blog articles/month, targeting "SMB CRM France", 
  pillar pages on 3 topics |
Loading diagram…

The precision spectrum β€” From beginner to expert

Prompts are distributed across a spectrum of precision. The good news: moving from one level to the next takes only 30 extra seconds of thought.

LevelExampleTypical qualityWriting time
Vague"Tell me about marketing"β˜…β˜†β˜†β˜†β˜† Generic, unusable5 seconds
Basic"Give me 5 marketing strategies for a startup"β˜…β˜…β˜†β˜†β˜† Correct but superficial10 seconds
Structured"You are a CMO. Propose 5 strategies for a B2B SaaS CRM startup, €5K/month budget, targeting French SMBs"β˜…β˜…β˜…β˜…β˜† Good and usable30 seconds
ExpertComplete prompt with all 6 components, examples and constraintsβ˜…β˜…β˜…β˜…β˜… Excellent, directly actionable2 minutes

The investment: 2 minutes of prompt writing saves you 30 minutes of unusable results you'd have to redo. It's the best ROI of your day.

The 80/20 rule of prompting

80% of improvement comes from 3 elements: role, precise task, and output format. If you only remember 3 things, make it these. Context, constraints, and examples are powerful bonuses for complex cases β€” but start by mastering the 3 essentials.

The 7 most common prompting mistakes

MistakeExampleWhy it's a problemSolution
Too vague"Help me with my project"The AI doesn't know where to startSpecify the exact task
Too long and confusing500 words with contradictory instructionsThe AI gets lost and prioritizes poorlySimplify, prioritize
No format"Summarize this document"Default format is rarely optimalSpecify structure and length
Unrealistic expectations"Give me exact sales of X in 2025"The AI makes things up (hallucination)Ask for sourced estimates
No iterationAccepting the 1st responseResult at 60-70% of potentialRequest 2-3 revision rounds
Instruction overload10 tasks in a single promptQuality diluted across each task1 task per prompt, or number them
Forgetting the audienceTechnical content for a board meetingInappropriate vocabularyAlways specify who will read it

Practical exercise: before/after (the most important of the chapter)

Duration: 15 minutes

Transform these 3 vague prompts into expert prompts using the 6 components:

Prompt 1 β€” Before: "Write an email for my client"

Prompt 1 β€” After:

You are an experienced B2B account manager, warm 
but professional tone.

Context: Our client (e-commerce SMB, 30 employees) 
has been using our CRM for 6 months. Their NPS is 8/10 but 
they only use 40% of the features.

Task: Write a check-in email proposing a discovery session 
for advanced features.

Format: Subject (< 50 chars) + body (< 120 words) + clear CTA.
Constraint: No sales tone, focus on value for them.

Prompt 2: Transform "Give me content ideas" into an expert prompt

Prompt 3: Transform "Analyze this report" into an expert prompt

For each transformation, identify which components (Role, Context, Task, Format, Constraints, Example) you added and estimate the expected quality improvement.

Quick Check

What are the 3 most impactful components of a prompt according to the 80/20 rule?

Quick Check

How long does an expert prompt take to write, and how much time does it save?

Your progress

Progress is self-reported and stored in your browser. The final completion record is not a qualification or an independent assessment.

View progress and completion record

Learn AI, from prompts to agents

15 free guidesQuizzes, diagrams and workshopsNo account needed

One practical AI workflow in your inbox

Methods, resources and new exercises. Free, unsubscribe at any time.