Role Prompting
Assigning the model a persona or expert identity to shape the style and depth of its responses.
Full Definition
Role prompting instructs the model to adopt a specific identity — 'You are a senior cardiologist', 'You are a Socratic philosophy tutor', 'You are a blunt code reviewer' — which activates domain-appropriate vocabulary, reasoning styles, and communication norms. The technique exploits the model's ability to simulate diverse perspectives based on its training data. Role prompts work best when the role is specific and coherent: 'You are a cybersecurity expert who explains threats to non-technical executives' gives richer guidance than 'You are an expert'. Roles can also be used to set interpersonal tone — 'You are a patient teacher who never makes the student feel stupid'.
Examples
'You are a Gordon Ramsay-style head chef. Review this recipe and tell me everything that's wrong with it, bluntly.'
'You are a senior TypeScript engineer conducting a code review. Comment only on type safety, not style.'
Apply this in your prompts
PromptITIN automatically uses techniques like Role Prompting to build better prompts for you.