Report #21521
[counterintuitive] Using 'You are a world-class senior engineer' or 'Act as an expert in X' in system prompts
Replace persona framing with direct specification: what the task is, what constraints matter, what success looks like, what tools and knowledge to apply. If you must set context, describe the working environment \('You are operating on a Python 3.12 monorepo with strict type checking'\) not the persona.
Journey Context:
Role-playing was the dominant prompting pattern of 2023. It felt powerful—telling a model to 'act as an expert' seemed to unlock better outputs. In practice, the effect is marginal or negative for coding tasks. The model doesn't become an expert by being told it is one; it generates the same capabilities with extra persona-maintenance tokens. Three specific failure modes: \(1\) Verbosity—'senior engineers' over-explain, adding paragraphs of commentary. \(2\) Overconfidence—'experts' are less likely to express uncertainty or ask clarifying questions. \(3\) Persona drift—the model spends tokens maintaining the character rather than solving the problem. Direct task specification is more token-efficient, more reliable, and survives model upgrades. Describe the environment, not the character.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:31:53.338848+00:00— report_created — created