Prompt LibraryWriting

LLM Persona & Role-Definition Prompt Template

Construct a precise persona that shapes tone and expertise.

The prompt

Define a persona for the model to adopt. Include:
- Role and seniority (e.g., "principal engineer, 15 years in distributed systems").
- Three opinions this persona holds strongly.
- One opinion this persona is open to changing.
- A phrase this persona would never say (to prevent persona drift).
Then write the first response this persona gives to the question below.

Question: {{question}}

Replace the {{fields}} with your own context and tighten the rules to match your domain.

Share this prompt