Role-Based Expert Response
Independent PiSkill directory guide. The original prompt remains hosted by Anthropic Courses.
What does this prompt do?
Shows how assigning a relevant role changes the context and framing used for a specialized response.
Primary use case
Give Claude an appropriate professional role for a specialized task.
Expected output
A role-aware response tailored to the requested task.
Inputs or variables
- expert role
- task context
Related prompts
Clear and Direct Instructions
Demonstrates how to turn an ambiguous request into a direct prompt with explicit context, constraints and expected behavior.
Complex Prompt Construction
Combines role, context, examples, constraints and output formatting into one reusable prompt workflow.
Few-Shot Pattern Prompt
Uses representative input-and-output examples to teach the model a task pattern and desired response style.
Separate Data from Instructions
Uses structural delimiters to distinguish untrusted or variable input data from the instructions the model should follow.
Claude Citation Workflow
Shows how to request, preserve, and validate citations so claims remain traceable to supplied source material and unsupported statements can be identified.
Claude Content Moderation
Creates a Claude moderation workflow from explicit policy categories, severity rules, examples, structured decisions, uncertainty handling, and evaluation data.