How System Prompts Differ from User Messages — Persona Consistency and Forcing JSON Output
A question I ran into while experimenting with personas in the Claude API: how is a system prompt actually different from just writing 'please do X' in a user message? I worked through this in terms of consistency, security, and output enforcement.