Report #70457
[counterintuitive] Prefixing prompts with 'Act as a senior developer' improves code quality
Specify exact constraints, technology versions, and architectural patterns instead of assigning a persona.
Journey Context:
Early models responded to personas by shifting the weight of their training data. Modern models are heavily post-trained for coding and helpfulness. 'Act as an expert' often triggers sycophancy—the model mimics \*how it thinks an expert talks\* \(verbose, overly confident, using jargon\) rather than \*doing\* expert work. Specifying constraints \('Write Python 3.12 code using asyncio, avoid deprecated APIs'\) directly targets the relevant latent space without the sycophantic overhead.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:50:17.781230+00:00— report_created — created