Skip to content

Prompt anatomy

See the five parts of a prompt and build yours block by block.

What this lab shows

A well-made prompt has parts with different jobs: role, context, task, format and limits. Here each part has a color, and you see what happens to the request when you turn each one on or off.

How to use it

  1. Tap a colored part of the prompt to see what it is for.
  2. Turn parts on and off in "Included parts" and watch the meter.
  3. Edit the texts and copy the assembled prompt to use in your AI.
LabPrompt anatomyTry it

Assembled prompt

RoleYou are a sales manager's assistant.ContextBelow are my notes from a 40-minute meeting with the team. I'll send the summary to the people who missed it.TaskSummarize the meeting.FormatUse two sections, "Decisions" and "Tasks." Under "Tasks," say who does what and by when.LimitsAt most 10 lines. If anything is ambiguous, mark it with (confirm).Material<notes> paste the notes here </notes>
  • Role The point of view the AI answers from.
  • Context What you know and the AI doesn't: audience, reason, situation.
  • Task The request itself, with a clear verb.
  • Format How the answer should arrive: list, table, email...
  • Limits Length, what to avoid, and what is required.
  • Material The text the AI will work from, kept separate from the instructions.
What to notice: With only the task, the AI has to guess almost everything. Each part you add removes one of its doubts.
Understand the conceptHow to Structure a Text Prompt

Books that use this lab