The Anatomy of a Great Prompt

Role, context, task, format — the four-part structure behind every reliable prompt.

Start with a Role

Tell the AI who it should be. 'You are an experienced HR manager' produces dramatically better output than jumping straight to the task. The role sets vocabulary, tone, and depth.

Code example

You are an experienced marketing manager at a B2B software company.
Your writing is concise, friendly, and jargon-free.

Give Context Before the Task

AI can't read your mind. Share the background a new colleague would need: who the audience is, what happened before, what constraints exist.

Code example

Context: We just launched a new pricing tier. Existing customers on the old
plan are worried they'll be forced to upgrade. They have NOT been.

Specify the Output Format

End your prompt with exactly what you want back: length, structure, tone. 'Write a 3-paragraph email with a friendly subject line' beats 'write an email' every time.

Code example

Task: Draft a reassuring email to existing customers.
Format: Subject line + 3 short paragraphs. Under 150 words total.
Tone: Warm, direct, no marketing fluff.

All courses