home/productivity/role-based-prompting

Role Based Prompting

GPTClaudeDeepSeek··1,293 copies·updated 2026-07-14
role-based-prompting.prompt
# 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 Pattern

when 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