Lesson 506 of 1570
Role and Persona Prompting: Making AI Sound Like Someone Specific, Part 1
Asking AI to play a role (a coach, a teacher, a friend) changes the kind of answer you get. Match the role to your need.
Lesson map
What this lesson covers
Learning path
The main moves in order
- 1The big idea
- 2Real Examples Beat Long Descriptions Every Time
- 3The big idea
- 4Personas vs. roles: making AI sound like someone specific
Concept cluster
Terms to connect while reading
Section 1
The big idea
AI gives generic answers because it does not know what role to play. Tell it. 'Act as a fitness coach.' 'Act as a kind older sibling.' 'Act as my study buddy.' The answers change based on the role.
Some examples
- For homework help: 'Act as a patient tutor for a 9th grader. Explain step by step.'
- For tough feelings: 'Act as a kind, calm friend who listens before giving advice.'
- For project planning: 'Act as a project manager helping me break this into steps.'
- For practice: 'Act as my interviewer for a job at a coffee shop. Ask me questions.'
Try it!
Key terms in this lesson
Section 2
Real Examples Beat Long Descriptions Every Time
Section 3
The big idea
Long descriptions can confuse AI. Real examples are way clearer. 'Make it like this [example]' beats 'make it formal but not too formal but also friendly.'
Some examples
- Need an essay opener? Give AI an opener you like and say 'do something like this.'
- Need a poem in a specific style? Give it a poem you like.
- Need a code style? Show AI an example of the style you want.
- Need a tone for an email? Show a sample email.
Try it!
Understanding "Real Examples Beat Long Descriptions Every Time" in practice: Prompting is a skill: the more specific and structured your input, the more useful the output. If you want a specific style, give AI an example of what you mean. Way better than describing it — and knowing how to apply this gives you a concrete advantage.
- Apply examples in your prompting workflow to get better results
- Apply few-shot prompting in your prompting workflow to get better results
- Apply style matching in your prompting workflow to get better results
- 1Rewrite one of your best prompts using role + context + task + format
- 2Ask an AI to critique your prompt and suggest improvements
- 3Compare outputs from two models using the same prompt
Section 4
Personas vs. roles: making AI sound like someone specific
Section 5
The big idea
'You are a tutor' is a role. 'You are a patient tutor who never makes me feel dumb and uses skateboarding metaphors' is a persona. The second one gives you way better answers because AI now has a voice to hold.
Some examples
- 'Be a coach who's encouraging but never sugar-coats.'
- 'Talk like a sarcastic older sibling who actually wants me to learn.'
- 'You're an editor who hates flowery writing.'
- 'Be a Gen Z science teacher who explains things using TikTok comparisons.'
Try it!
Ask AI to give you feedback on a paragraph as 'a writing teacher.' Then ask again as 'a tired but funny editor who's seen 1,000 essays this week.' Compare the energy.
Section 6
AI and Tone Locking: Make AI Sound Like You, Not a Robot
Section 7
The big idea
Tone locking means giving AI clear rules about how to sound: word length, formality, slang, punchiness. Without it, AI defaults to bland 'I'd be happy to help!' tone that no one wants to read.
Some examples
- Bad: 'Write a caption.' Better: 'Write a caption. Casual, no exclamation marks, max 12 words.'
- Tell AI: 'Sound like you're texting a friend, not pitching a startup.'
- Give an example of your real writing and say 'Match this voice.'
- Ban specific words: 'Never use *delve*, *unleash*, or *journey*.'
Try it!
Write the same prompt twice — once vague, once with a strict tone lock. Compare and notice the difference.
Section 8
AI and Roleplay Prompts: Make AI Be Someone Specific
Section 9
The big idea
Roleplay prompts assign AI a persona so it answers from that point of view. A 'pediatrician' will write a different first-aid answer than a 'random helpful assistant.'
Some examples
- 'Act as my high school English teacher grading this essay strictly.'
- 'Be a startup founder who's seen 100 pitches. Tear mine apart.'
- 'Roleplay a parent with anxiety about their kid going to college.'
- 'You're a friend who hates BS. Tell me if this idea is dumb.'
Try it!
Take a question you have and pick a persona for AI to answer as. Compare it to a generic answer. Notice the angle.
Section 10
AI and Tone Ladders: Same Idea, 5 Voices
Section 11
The big idea
Stuck on tone? Ask AI for 5 versions: formal, casual, hype, sarcastic, soft. Pick your favorite or remix two. Tone ladders cure 'I don't know how to say it.'
Some examples
- Prompt: 'Write this in 5 tones: corporate, Gen Z, professor, your-grandma, sportscaster.'
- Tone ladders help when texting a teacher or boss for the first time.
- Pair tone ladders with anchor examples for laser-targeted voice.
- Save the best tone variant as a template for next time.
Try it!
Write one sentence — an apology, a pitch, anything. Have AI rewrite it in 5 tones. Pick a winner.
Section 12
Telling ChatGPT 'You Are a [Role]' — When It Helps and When It's Cringe
Section 13
The big idea
'You are a world-class chef' makes ChatGPT use chef vocabulary. It does NOT teach it new recipes. Role prompts are great for tone and vocabulary, useless for facts and skill. The 2026 evidence is clear: 'expert' tags don't unlock hidden knowledge. Use them for voice, not for IQ.
Some examples
- Useful: 'You are a fitness coach. Reply in 3 short bullets.' (sets tone & format)
- Useful: 'You are a strict English teacher. Mark grammar errors.' (sets job & rigor)
- Useless: 'You are a Nobel-prize-winning physicist.' (won't make the answer more correct)
- Useless: 'You are the world's best programmer.' (still hallucinates the same APIs)
Try it!
Pick one role-prompt you use a lot. Re-ask the same question without the role and compare. Notice what actually changed.
Section 14
Role-Prompting: Telling Claude Who to Be
Section 15
The big idea
Role-prompting is the trick of giving the AI a job before the task. 'You are a code reviewer' makes it pickier than 'tell me what's wrong with this code.' The role pulls the model's training toward responses that fit that role.
Some examples
- 'You are a TikTok scriptwriter' — punchier, hooks first.
- 'You are a college admissions reader' — sharper feedback on your essay.
- 'You are a senior backend engineer' — Claude flags performance issues a generic prompt misses.
- 'You are a 12-year-old' — explanations get simpler, analogies get sillier.
Try it!
Take a prompt you used recently. Add 'You are a [specific expert]' at the top. Run both versions. Compare.
Section 16
Wrapping Prompt Sections in XML-Style Tags
Section 17
The big idea
Anthropic specifically trained Claude to recognize XML tags as section dividers. Wrapping your prompt's parts — task, context, examples, output format — in tags makes it more reliable. It's like headers in a document for the AI to follow.
Some examples
- `<task>Summarize this article</task><article>...</article>` — clean separation.
- `<example>input → output</example>` blocks for few-shot prompts.
- `<rules>Don't use emojis. Cite sources.</rules>` keeps your constraints from blending into the task.
- `<output_format>JSON only, no prose</output_format>` makes the format ask stand out.
Try it!
Take a multi-part prompt you wrote. Wrap each part in XML tags. Run both versions in Claude. Compare.
End-of-lesson quiz
Check what stuck
15 questions · Score saves to your progress.
Tutor
Curious about “Role and Persona Prompting: Making AI Sound Like Someone Specific, Part 1”?
Ask anything about this lesson. I’ll answer using just what you’re reading — short, friendly, grounded.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Builders · 40 min
Role and Persona Prompting: Making AI Sound Like Someone Specific, Part 2
'You are a security engineer' before 'review this code' shifts the entire reply quality.
Explorers · 40 min
Tell AI Who to Be: Roles, Characters, and Pretend Mode, Part 1
Don't share personal information with AI — your full name, address, school, phone number, or photos of yourself..
Creators · 40 min
Persona and Brand Voice Design: Style Guides in System Prompts
Generic personas produce generic outputs. Specific persona design — voice, expertise depth, conversational pattern — measurably changes model behavior in ways that align with user expectations.
