Reusable prompts

Turn good prompts into templates

Blanks, tags, examples, and your own prompt library.

5 min7 / 18

A template is a with blanks. You write it once and fill in the blanks each time. That is all "reusing prompts" means.

A template with blanks

Summarize the document below in {{number}} bullet points for someone with no background. End with the one action I should take next.

<document>
{{paste the document here}}
</document>

The parts in double curly brackets change each time. The rest stays the same.

Three tricks that make templates stronger

  1. Fence your inputs with tags. Wrap pasted material in tags such as <document> so Claude knows where your instructions end and the material begins. Anthropic suggests XML-style tags for separating instructions, context and input.
  2. Show examples. Three to five examples inside <example> tags make tone and format much more reliable. Make them relevant and varied.
  3. Long material first, question last. For very long inputs, put the document at the top and your question at the end.

A template with examples

Turn each rough note into one friendly task sentence.

<example>
Note: call dentist thurs
Task: Call the dentist on Thursday to book a check-up.
</example>
<example>
Note: mum bday gift?
Task: Decide on a birthday gift for Mum and order it this week.
</example>

Now do the same for these notes:
{{your notes}}

Two examples teach the style better than a paragraph of description.

Five templates worth keeping

  • Summarize for a beginner: document → 5 bullets → one next action.
  • Reply to a message: who, goal, tone, maximum length.
  • Compare options: a table with price, strengths, weaknesses and who it fits.
  • Rewrite in my voice: two samples of your writing, then the text.
  • Check my work: what is unclear, what is missing, what is wrong, without rewriting it.

Let Claude fill the blanks with you

Interview me for this template

Here is a template with blanks in {{double braces}}. Ask me for each blank one question at a time, then show the finished prompt and run it.

<template>{{paste your template}}</template>

Handy on the phone, where filling in long templates is awkward.

Two common template mistakesBlanks with vague names like {{x}} (write {{audience, e.g. new customers}} instead), and templates so long that nobody uses them. If a template needs more than a minute to fill in, split it.

Your prompt library

Use the library below to keep your templates, fill in the blanks and copy the result. It is saved in this browser only. Keep a backup in your notes app. Inside Claude, a Project is the natural home for the prompts you use around one topic.

Prompt library

Pick a template, fill in the blanks, copy it. Save your own below (stored only in this browser).

Make any request clearer Basics
Here is a request I want to send to an AI: "{{my request}}". Ask me up to five questions that would make it clearer, then rewrite it as one strong prompt with goal, context, constraints and format.
Check what you are unsure about Basics
Which parts of your last answer are you least certain about? Mark each as high, medium or low confidence, and tell me what I should verify.
Explain it like I am new Basics
Explain {{topic}} to someone with no background. Use one everyday comparison, define any jargon the first time it appears, and end with one question that checks I understood.
Match my voice Writing
Here are two samples of my writing:
<sample>{{paste}}</sample>
<sample>{{paste}}</sample>
Describe my voice in five bullet points. Then rewrite the text below in that voice.
<text>{{paste}}</text>
Shorten without losing meaning Writing
Cut the text below to {{number}} words. Keep the key facts and my tone. Show a list of what you removed.
<text>{{paste}}</text>
Cited comparison Research
Compare {{option A}}, {{option B}} and {{option C}} for {{my situation}}. Use a table with price, strengths, weaknesses and who it suits. Cite a source for each claim, and mark anything you could not verify.
Pros, cons and a question back Decisions
I am deciding {{decision}}. List the strongest case for each option, the risks I may be overlooking, and the three questions I should answer before choosing. Do not decide for me.
Project instructions starter Projects
You help me with {{topic}}. Voice: {{tone}}. Language: {{language}}. Keep answers under {{length}} unless I ask for more. If something important is missing, ask me one question instead of guessing.
Build a small tool Tools
Build a small web tool: {{what it does}}. Inputs: {{inputs}}. Output: {{output}}. Make it phone-friendly with big buttons. Before building, tell me the result you expect for this example: {{example}}.
Plan before you change Claude Code
I want to {{goal}}. Do not change any files yet. Read the project and give me a plan: files affected, risks, and how we will check it works. Wait for my approval.
Interview me, then write a spec Claude Code
I want to build {{short description}}. Interview me in detail about requirements, edge cases and trade-offs, skipping obvious questions. When done, write a complete spec to SPEC.md.
Fix a bug with proof Claude Code
{{describe the symptom}}. Check {{where}}. Write a failing test that reproduces it, fix the cause (do not hide the error), and run the tests to show they pass.
Safe review in a fresh view Claude Code
Use a subagent to review my latest changes against {{PLAN.md}}. Report only gaps that affect correctness or the stated requirements. Do not change any files.
Explain this project to me Claude Code
Give me a beginner tour of this project: what it does, the three most important files, how to run it, and what I should be careful not to break.

My templates

Nothing saved yet.

Try it now: Save two prompts you wrote this week as templates. Replace the parts that change with {{blanks}} and test them.

Check yourself

1. What does {{topic}} mean in a template?
2. Why wrap a pasted document in <document> tags?
3. For a very long document, where should your question go?
4. Which blank is the most useful?

Tip: use ← and → to move between lessons.