Role Based Prompting
# Role-Based Prompting
Role-based prompting involves assigning a specific role or persona to the AI, which helps it adopt the appropriate perspective, knowledge, and communication style for the task.
## What is Role-Based Prompting?
Role-based prompting means telling the AI to act as a specific expert, professional, or character. This helps the AI:
- Access relevant knowledge
- Use appropriate terminology
- Follow professional standards
- Consider relevant factors
## Why Use Role-Based Prompting?
1. **Expertise**: AI adopts domain-specific knowledge
2. **Consistency**: Maintains character and perspective
3. **Quality**: Better outputs for specialized tasks
4. **Context**: Considers relevant factors automatically
## Basic Role-Based Patternwhen to use it
Community prompt sourced from the open-source GitHub repo Pandiyarajk/prompt-engineering (MIT). A "Role Based Prompting" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
Pandiyarajk/prompt-engineering · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar