Lesson 498 of 1455
Role and Persona Prompting: Put the Role Before the Task
Asking AI to act as a coach, reviewer, teacher, or expert changes the answer. Put the role first, then the task, and add constraints so the voice matches the need.
Builders · Prompting · ~24 min read
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!
Role first, task second
The order matters. 'You are a security engineer. Review this code for risks.' sets standards before the model starts answering. A different role, like friendly tutor or skeptical editor, should change vocabulary, focus, and what counts as a good answer.
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Builders · 8 min
Prompt Patterns That Actually Work for Tweens
Forget magic words. The prompts that get good answers all follow a few simple shapes. Learn the patterns once and use them forever.
Builders · 40 min
Negative Prompting and Constraints: Tell AI What to Skip
Sometimes the fastest way to get a good AI answer is to list what you don't want.
Explorers · 40 min
Tell AI What NOT to Do: Negative Prompting
Sometimes telling AI what NOT to do is just as important as telling it what to do.
