Part 3 · PromptingLesson 11 of 22
Beginner~7 min

How to write a great prompt

In short: A strong prompt has five parts: role, task, context, examples, and format. Give Claude those and you get usable work the first time.

What you'll be able to do: Write a strong prompt from a simple, repeatable recipe.

Most people talk to AI like they're texting a psychic. They type "write me an email," hit enter, and wait for the machine to read their mind. Then they act betrayed when it hands back something a nervous intern would be too shy to send.

Here's the thing: the AI didn't fail. The prompt did. A vague ask gets a vague answer, every time. The good news is that a good prompt isn't a dark art or a 40-line "mega-prompt" you buy off the internet. It's a recipe with five ingredients. Learn it once, use it forever.

The recipe: five ingredients

A strong prompt usually has five parts. You won't need all five every time, but when the output actually matters, the more you give, the less you'll be let down.

1. Role: who should the AI be?

Tell it who to act as, and who you are. "You're my assistant, writing as me" lands very differently from "You're a sharp financial analyst." Same machine, different hat.

2. Task: what exactly do you want?

One clear job. Not "help me with this client" but "draft a two-line reply that says no without burning the relationship." Vague verbs like handle, improve, and look at are where good answers go to die.

3. Context: what does it need to know?

This is the part everyone skips, and it's the one that matters most. Who's the audience? What's the backstory? What are the constraints? The AI knows nothing about your Tuesday. Tell it.

4. Examples: show, don't just tell

If you have a sample you like (an old email, a report in the right style), paste it. "Match this tone" beats three paragraphs describing the tone. One good example is worth a paragraph of adjectives.

5. Format: what should the answer look like?

Say the shape you want: length, structure, tone. "Three subject lines and a body under 120 words" gets you three subject lines and a body under 120 words. "Some ideas" gets you a wall of text and a small headache.

The prompt recipe: five ingredients Role, Task, Context, Examples, and Format, each with a one-line description. The prompt recipe Five ingredients. You only need all five when the output really matters. 1 Role Who should the AI be? And who are you? 2 Task One clear job. Skip vague verbs like "handle" or "improve". 3 Context What must it know? Audience, backstory, constraints. 4 Examples Paste a sample you like: "like this, not like that". 5 Format The shape of the answer: length, structure, tone.

Watch it work

Say a client was promised a report on Friday. It'll be late. You need to send the email nobody enjoys sending.

The lazy prompt:

Write an email to my client about the delay.

You'll get something. It'll open with "I hope this email finds you well," bury the point in paragraph three, and sound like it was written by a fax machine. Now the recipe version:

You're my assistant, writing as me. I'm an account manager, warm but straight-talking.

Task: draft a short email telling a client their report will be two days late.

Context: the client is Devlin & Co. We promised Friday; it'll land Tuesday. The delay is on us: a data source broke. They matter to us and they're a little anxious. I don't want to grovel, but I want them to feel in safe hands.

Format: give me three subject lines and a body under 120 words. Plain English, no jargon, no "please be advised." End with a clear next step.

Same task, ten seconds more typing. The second one comes back short, honest, and ready to send, because you gave the AI a role, a real situation, and a shape to fill. You did the thinking; it did the typing.

Claude's reply to the recipe prompt A reply card with three subject-line options and a short, ready-to-send email telling a client the report will land Tuesday, not Friday, ending with a clear next step. A tag notes it is under 120 words. Claude ✓ Under 120 words Three subject lines 1. Quick update on your report timing 2. Your Devlin report: now Tuesday 3. A small delay on your report Email body Hi Sarah, A quick heads-up: your report will land Tuesday, not Friday. A data source broke on our side, and we'd rather send it right than rushed. You'll have it by 10am Tuesday. Best, Alex

Four ways it goes wrong

"Make it better." Better how? Shorter, warmer, less like a robot? The AI can't read the frown on your face. Name what "better" means.

Skipping the backstory. You know the client is furious and the deadline moved twice. The AI doesn't. Thirty seconds of context saves three rounds of edits.

Asking for everything at once. "Write the strategy, the email, and the deck" gets you three half-finished things. Do one job per prompt, then build on the result. (That's the next lesson.)

Forgetting the format. If you don't say how long or what shape, you get the AI's guess. Its guess is usually "longer than you wanted."

The template

Keep this somewhere you can grab it:

Role:     Who should the AI be? And who are you?
Task:     What exactly do you want it to do? (one clear job)
Context:  What must it know? (audience, backstory, constraints)
Examples: Got a sample you like? Paste it. "Like this, not like that."
Format:   What should the answer look like? (length, structure, tone)

Quick questions don't need all five: asking for a synonym doesn't call for a role and a mission statement. But the moment the output matters, run down the list. It's the difference between a tool and a mind-reader you're disappointed in.

Try it

Grab a real email you've been putting off, the awkward one, you know the one. Write it two ways. First the lazy version: one line, no context. Then the recipe version: role, task, context, format. Run both.

Read them side by side. The gap between the two is exactly the value of ninety seconds of thinking before you hit enter. That gap is the whole skill.

Key terms

Quick quiz

Question 1 of 4

Four quick questions. Ace all four and the next lesson unlocks.

1. What are the five ingredients of a strong prompt?

Further reading