Skip to content

Practice · Chapter 11 of 11

Prompt templates and checklist

Starting points you can copy. Fill the [square brackets], except the gaps a template keeps on purpose, delete what you don't need and test the result.

By Updated

Finn with a checklist and an open toolbox

A general skeleton

The parts from the anatomy chapter as a fill-in form. Delete the lines your task doesn't need.

General skeleton

Role: You are [role] who [what they are good at].

Task: [verb and result], so that [goal].

Context:
- Reader: [who]
- Background: [what happened, what you tried]
- Material: <material>[paste]</material>

Limits:
- [length, tone, sources]
- If something is missing, ask me first or mark it as [missing]. Don't invent it.

Format: [shape of the answer, for example a table with the columns ...]

Writing

For letters, emails, posts and notices. The facts line keeps invented details out.

Writing

Write [type of text] to [reader] about [subject].
After reading it, they should [action or feeling].
Use only these facts: [list them].
Tone: [tone]. Length: [length].
Leave [name] and [date] as gaps.

Analysing a document

For contracts, reports and long threads. It asks for quotes first Anthropic and puts the question at the end, as Google advises for Gemini 3 Google.

Analysing a document

<document>
[paste the document]
</document>

First quote the passages you rely on, then answer. If the document doesn't say, write "not stated".
Format: a short answer, then a list of risks or open points.

Based on the document above, answer this: [your question]

Reviewing code

For a second pair of eyes on a function or a file. It orders what to look for.

Reviewing code

Review the code below. It should [what it does]. It runs [where].

Look for correctness first, then security, then readability.
For each finding give the line, what can go wrong and a suggested fix. Say if you are unsure.
Don't rewrite the whole file.

<code>
[paste the code]
</code>

Learning something

For studying a topic step by step instead of getting a wall of text.

Learning something

Teach me [topic] at the level of [your level].
First ask me two questions to find out what I already know.
Then explain it in small steps with one example each, and check my understanding with a question
before you move on.

Making an image

Image tools differ, so treat this as a starting point and adapt it to the one you use.

Making an image

[Subject] [doing what] in [setting].
Style: [for example flat illustration, watercolour or photograph].
Composition: [view, framing, what is in the foreground].
Colours and light: [palette, time of day].
Leave out: [for example text, logos, people].

The checklist

Run through this before you send a prompt that matters:

  • Is the task clear, and what the result is for?
  • Does the model know who will read it?
  • Is the material in the prompt, and would a colleague understand it Anthropic?
  • Do any limits contradict each other?
  • Did you name the format?
  • Are gaps marked instead of left to be invented?
  • Is there any private detail you can replace with a placeholder?
  • Have you tried it on a real input?

Sources

Official guides by the model providers. They change as models change, so check them for your model.