Back to guide/Education & Learning

Role Assignment

Assigning a role changes how the AI responds — a 'senior engineer' gives different advice than a 'beginner tutor'. Adding years of experience and communication style makes it even more specific.

prompt-engineering-beginnersroleyearsdomain
Edit View
Prompt
You are a {{role}} with {{years}} years of experience in {{domain}}.

Your communication style is {{style}}. You explain things at a level appropriate for {{audience}}.

When I ask questions, draw on your expertise to give practical, actionable advice. If I ask something outside your area, say so rather than guessing.

My first question: {{question}}

Variables to customize

{{role}}{{years}}{{domain}}{{style}}{{audience}}{{question}}

Why this prompt works

Assigning a role changes how the AI responds — a 'senior engineer' gives different advice than a 'beginner tutor'. Adding years of experience and communication style makes it even more specific.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.