Now that you know the anatomy, here is the universal formula that works across ChatGPT, Claude, Gemini, and almost any other LLM.
Whenever you are about to write a complex prompt, construct it in this exact order to ensure the AI parses your instructions with maximum logical weight:
"Act as an expert copywriter..."
"Write a landing page for my new SaaS product."
"The product is a habit tracker designed specifically for students with ADHD."
"The target audience is college students aged 18-24."
"Do not use complex corporate jargon. Keep sentences under 15 words."
"Use an empathetic, encouraging, and highly motivating tone."
"Format the output as a Markdown document with clear H1 and H2 headers."
Language models process text sequentially (autoregressively). By putting the Role first, you immediately set the statistical weights of the model's vocabulary. If you put the role at the very end of a long prompt, the model has already processed the context using a generic persona.
Why is it recommended to put the 'Role' at the very beginning of the prompt rather than at the end?
The Universal Formula (Role, Task, Context, Audience, Constraints, Tone, Format) provides a predictable structure that works across all major LLMs.