Most reliable prompts contain some subset of six components. Not every prompt needs all six, but naming them helps you diagnose what's missing when output disappoints.
**1. Role / persona** — who the model should act as ('You are a senior financial analyst'). Sets vocabulary, depth, and assumptions.
**2. Task / instruction** — the actual ask, stated as a direct imperative ('Summarize the report below in five bullet points').
**3. Context** — the material the model needs: the document, the data, the background. Provided inline or via retrieval.
**4. Examples** — zero or more input→output demonstrations (the difference between zero-shot and few-shot, below).
**5. Constraints** — length, tone, what to avoid, what to do when uncertain ('If the document doesn't say, write "not specified" — do not guess').
**6. Output format** — the exact shape you want back: JSON schema, a table, a numbered list, a specific template.
A worked structure:
```
You are a B2B copy editor. (role)
Rewrite the product description below for clarity and concision. (task)
Product description: <text...> (context)
Example of the style we want: <one before/after pair> (example)
Keep it under 80 words, active voice, no superlatives. (constraints)
Return only the rewritten description, no preamble. (output format)
```
When output is wrong, this list is your checklist: missing role, vague task, absent constraints, or an unspecified format explains the large majority of bad results. Tools like the Product Description generator and Business Email Generator bake this structure in.