Role Prompting
Role prompting assigns the AI a specific professional identity before the task, such as "You are a senior data scientist" or "You are a children's book editor." The role frames the perspective, vocabulary, and depth of the response, unlocking domain expertise from the model.
How It Works
State the role explicitly at the start of the prompt.
Add the expertise level, experience, and point of view of the persona.
The role activates relevant knowledge patterns in the model.
Pair the role with a concrete task for best results.
Real Example
"You are a seasoned UX researcher with 10 years of experience conducting user interviews. Design a 15-question interview script to evaluate a new habit-tracking app for busy professionals."
Best Practices
- Make the role specific: industry, seniority, and specialization.
- Add the persona's goals and constraints.
- Combine role with a clear deliverable and format.
- For creative work, add voice and tone guidance.
Common Mistakes
- Generic roles like "You are an expert" add little value.
- Conflicting role and task instructions.
- Forgetting to specify the audience the persona serves.
When to Use Role
Prompts using Role Prompting
Ready-to-copy examples of this technique in action.
Marketing Director Role
Get a senior marketing strategist to audit your funnel and recommend growth moves.
Social Media Growth Strategist
Build a channel-specific growth strategy with posting cadence and formats.
Senior Code Reviewer
Get a senior engineer to review your code for bugs, security, and readability.
Database Schema Architect
Design normalized, scalable database schemas with indexes and trade-offs.
System Design Coach
Practice system design interviews with evaluation and follow-up probes.
Data Analyst Companion
Get expert analysis of your data with charts and recommendations.
Contract Clause Analyst
Summarize contracts and flag risky clauses in plain English.
Career Coach
Get honest career advice with a personalized growth plan.
Frequently Asked Questions
When should I use Role Prompting?
Expert-level content, Style and voice matching, Specialized advice and analysis. If your task is more complex or your output is inconsistent, consider combining it with examples or chain-of-thought.
Does Role Prompting work on all AI models?
Most prompting techniques transfer across modern models like ChatGPT, Claude, and Gemini, though results vary. Test the same prompt on two models and keep the best performer.
What is the next technique to learn after Role?
Based on your related techniques, explore: Prompt Basics, Persona Prompting, System Prompting.
How do I practice Role?
Use the prompts above as starting points, then modify one variable at a time. Track which changes improve your results in a prompt library.