Modules/Module 3/Lesson 3
Lesson 3 of 8 ~10 min read

Giving AI a Role ("Act as a...")

3.3 — Giving AI a Role ("Act as a...")

Actor putting on a costume or mask backstage

Estimated reading time: 12 minutes


Here's one of the simplest, most powerful tricks in prompt engineering — and it takes about four words: "Act as a [role]."

When you give an AI a specific role to play before asking your question, something interesting happens. The model doesn't just acknowledge the role and then respond the same way it would otherwise. It actually shifts its perspective, vocabulary, depth of expertise, and the kinds of assumptions it makes. The output changes substantially — often dramatically.

This lesson covers why role prompting works, when to use it, and gives you 10+ roles with ready-to-use prompts you can copy immediately.


Why Role Prompting Works

Think about how differently a pediatrician and a personal trainer would answer the question: "How should I think about my 8-year-old's diet?"

Both are giving you advice about nutrition. But the pediatrician will emphasize developmental needs, growth charts, warning signs of deficiency, and when to see a specialist. The personal trainer will emphasize habits, making healthy food fun, building a positive relationship with exercise. Same question, radically different — and both valuable — answers.

AI models have been trained on an enormous range of human knowledge and writing. When you assign a role, you're essentially activating a specific slice of that knowledge and the communication style that goes with it. You're telling the model which mental drawer to open.

Key Takeaway: Assigning a role doesn't just change the style of the response — it changes the substance. A senior copywriter thinks about problems differently than a data analyst. AI can do both, but only if you tell it which one to be.


How to Assign a Role

The basic formula is simple:

Act as a [specific role]. [Your request.]

But the more specific the role, the better the results. Compare:

Vague role:

Act as a writer. Help me improve this paragraph.

Specific role:

Act as a senior editor at The New York Times with 20 years of experience in long-form journalism. Review this paragraph and suggest improvements for clarity, flow, and precision. Be direct and honest — I want real feedback, not encouragement.

The vague role helps a little. The specific role gives the AI a fully-formed persona to inhabit — including expertise level, institutional standards, and even communication style.


10+ Roles with Ready-to-Use Prompts

Here are ten roles that cover a wide range of common use cases. Each includes a complete, copy-paste-ready prompt.


Role 1: The Expert Explainer

When to use: Learning something new, understanding a complex topic

Prompt:

Act as a patient, expert teacher who specializes in explaining complex topics 
to beginners. I want to understand [TOPIC]. Assume I have no background in this 
area. Use simple language, one analogy, and a concrete real-world example. 
Avoid jargon — and if you must use a technical term, define it immediately.

Role 2: The Devil's Advocate

When to use: Testing an idea, preparing for pushback, making a decision

Prompt:

Act as a sharp, intellectually honest devil's advocate. I'm going to share a 
plan or idea, and I want you to argue against it as convincingly as possible. 
Don't hold back — find the real weaknesses, not surface-level critiques. 
Here's my idea: [YOUR IDEA]

Role 3: The Seasoned Copywriter

When to use: Writing marketing copy, ads, sales emails, landing pages

Prompt:

Act as a seasoned direct-response copywriter with 15 years of experience 
writing high-converting sales copy. Write [TYPE OF CONTENT] for [PRODUCT/SERVICE]. 
The target customer is [DESCRIPTION]. The main benefit is [BENEFIT]. 
The tone should be [TONE]. Focus on the customer's problem first, then the solution.

Role 4: The Career Coach

When to use: Job applications, interviews, career decisions, LinkedIn profiles

Prompt:

Act as an experienced career coach who has helped hundreds of professionals 
navigate career transitions. I'm [BRIEF BACKGROUND]. I'm considering [SITUATION 
OR DECISION]. Give me honest, practical advice — not generic motivational 
talk. What would you actually tell a client in my situation?

Role 5: The Business Strategist

When to use: Business planning, competitive analysis, growth ideas

Prompt:

Act as a business strategist with an MBA and 20 years of consulting experience 
across industries. I run [BRIEF BUSINESS DESCRIPTION]. My challenge is 
[CHALLENGE]. Analyze this situation and give me 3-5 strategic options, 
with honest pros and cons for each. Be direct — I want insight, not validation.

Business strategy session around a whiteboard


Role 6: The Code Reviewer

When to use: Reviewing code, debugging, understanding best practices

Prompt:

Act as a senior software engineer with expertise in [LANGUAGE/FRAMEWORK]. 
Review the following code. Identify: (1) any bugs or errors, (2) performance 
issues, (3) security concerns, (4) places where the code could be more readable 
or maintainable. Be specific — include line references and suggest concrete fixes.

[PASTE CODE HERE]

Role 7: The Writing Coach

When to use: Improving your own writing, editing drafts, developing your voice

Prompt:

Act as a writing coach who specializes in [TYPE OF WRITING — e.g., business 
communication / creative nonfiction / academic writing]. Review the following 
piece and give me specific, actionable feedback on: clarity, structure, 
sentence variety, and overall impact. Then rewrite the weakest paragraph 
to show me what improved looks like in practice.

[PASTE YOUR WRITING]

Role 8: The Skeptical Customer

When to use: Testing a product pitch, sales page, proposal, or presentation

Prompt:

Act as a skeptical potential customer who is smart, busy, and has heard 
every sales pitch before. Read my [PITCH/PAGE/PROPOSAL] and respond the 
way a real skeptical buyer would. What questions does it raise? What claims 
do you doubt? What's missing? What would make you say yes — or no?

[PASTE YOUR CONTENT]

Role 9: The Research Librarian

When to use: Exploring a topic, building a reading list, understanding a field

Prompt:

Act as a knowledgeable research librarian with deep familiarity across 
academic and professional fields. I want to learn about [TOPIC]. Give me:
1. A plain-language overview (3-4 sentences)
2. The 3 most important sub-topics I should understand
3. The key terms and concepts I need to know
4. What to read first (books, articles, or resources by name if possible)

Role 10: The Plain-Language Translator

When to use: Simplifying legal documents, technical specs, medical info, contracts

Prompt:

Act as a plain-language expert who specializes in translating complex, 
technical, or legal text into clear English that anyone can understand. 
Translate the following [DOCUMENT TYPE] into plain language. Preserve all 
important meaning but eliminate jargon. Flag anything I should pay 
particular attention to or ask a professional about.

[PASTE TEXT]

Bonus Role: The Honest Friend

When to use: Personal decisions, difficult conversations, getting real feedback

Prompt:

Act as a trusted, honest friend who happens to have expertise in [AREA]. 
I need genuine advice, not diplomatic softening. Here's my situation: 
[SITUATION]. Tell me what you actually think — what I should do, what I 
might be missing, and what the risks are. Don't just validate my instincts.

Combining Role + The TCFT Framework

The role assignment works best when paired with the four elements from Lesson 3.2. The role sets the perspective; Task, Context, Format, and Tone define the delivery.

Example — combining role with full framework:

Act as a UX designer with 10 years of experience in SaaS products.

Task: Review the onboarding flow I'm about to describe and identify the 
3 biggest friction points.

Context: Our product is a project management tool for small teams (5-15 people). 
Users are non-technical. The current onboarding has a 60% drop-off rate 
after the account creation step.

Format: List each friction point with: (1) a description of the problem, 
(2) why it causes drop-off, and (3) one specific fix recommendation.

Tone: Direct and practical. I need actionable insights, not a usability lecture.

A Note on Role Accuracy

One important caveat: assigning a role doesn't make the AI infallible in that domain. If you ask it to "act as a lawyer" and ask a legal question, you'll get a more structured, legally-framed response — but you're still not getting actual legal advice. The AI still makes mistakes, and professional roles don't override that.

Use role prompting to get the perspective and framing of an expert, not to replace one. For high-stakes decisions involving law, medicine, finance, or safety, the role prompt helps you ask better questions — and then take those questions to a real professional.

Key Takeaway: Role prompting activates a specific perspective and expertise profile within the AI's knowledge. The more specifically you define the role, the more targeted and useful the response. Always verify important information, regardless of the role assigned.


Template: Universal Role Prompt

Act as a [SPECIFIC ROLE with experience level and any relevant specialty].

[Your request using the TCFT framework: Task, Context, Format, Tone]

That's it. Four words to start — "Act as a" — and then the specificity of the rest.


Next up: Lesson 3.4 — Using Examples in Your Prompt (Few-Shot Prompting)