Report #78389
[counterintuitive] Prefixing prompts with 'Act as a senior software engineer' or 'You are an expert in X'
Specify the exact constraints, style, and evaluation criteria of the desired output instead of relying on persona labels.
Journey Context:
In early base models, role-playing primed the latent space effectively, pulling the model into a higher-quality distribution. With modern RLHF'd models, they already default to a helpful, expert persona. 'Act as an expert' is now a no-op or actively harmful: it consumes context window with vague instructions and can cause the model to adopt a sycophantic or overly verbose 'professor' tone instead of just writing the code. What actually works is defining the \*rules\* of the expert \(e.g., 'Prioritize performance over readability', 'Use functional patterns, avoid classes'\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T14:10:02.930318+00:00— report_created — created