Last updated: June 2026

Claude PromptsThe best ones, and how to write your own

The short version: the best Claude prompts give Claude a role, one clear action, specific context, and an output format. Claude follows long, structured instructions faithfully, so being explicit beats being clever. Below are copy-pasteable templates for writing, business, and coding, each with variable slots — plus the official techniques that make them work and the weak-vs-strong examples that prove it.

What makes a Claude prompt good

Most prompt lists hand you 50 prompts and never tell you why any of them work. That is a problem, because the moment your task differs from the example, you are stuck. The faster path is to learn the shape of a strong prompt once, then fill it in for anything.

A strong Claude prompt has four parts: a role ("act as a senior editor"), one clear action ("rewrite", "analyse", "summarise"), specific context (audience, goal, constraints), and an output format (length, structure, what to return). Claude rewards this. It follows long, detailed instructions more literally than most models, so a structured 150-word brief that might overwhelm another tool tends to produce Claude's best work.

The templates below are built on that shape. Replace anything in square brackets and paste your material into the tagged blocks.

Five copy-pasteable Claude prompt templates

One each for the jobs people actually hire Claude for: editing, document analysis, drafting, debugging, and reasoning. Fill the slots, paste your input, run it.

Rewrite / edit (writing)

Editing is where vague prompts fail hardest. This template forces a role, a single edit goal, a constraint, and a clean output.

Act as a [senior copy editor / technical writer / plain-English specialist].

Rewrite the text inside <draft> to [goal: cut length by 30% / raise reading ease / make it more direct].

Rules:
- Keep the key claim and the facts unchanged.
- Do not add new information.
- Match a [confident, plain] tone.

Return only the rewritten version, no commentary.

<draft>
[paste your text here]
</draft>

Analyse a document (business)

The XML tags keep Claude from treating the document as instructions. The question goes last, after the material, where Claude weights it most.

You are a [strategy analyst]. Read the document below and answer the question.

<document>
[paste report, contract, or transcript here]
</document>

Question: [What are the three biggest risks, and which one would you act on first and why?]

Format your answer as:
1. A one-sentence summary.
2. The three risks, ranked, one line each.
3. Your recommended first action.

First draft with examples (writing)

Few-shot examples are an official Anthropic technique. Two short samples teach Claude your style faster than three paragraphs describing it.

Write a [LinkedIn post] about [topic] for [audience].

Match the style of these examples:

<example>
[paste one short post you like]
</example>

<example>
[paste a second short post you like]
</example>

Constraints: [under 120 words, no hashtags, end on a question].
Write three different versions so I can pick.

Debug code (coding)

State the language, paste the error, paste the code in tags, and ask Claude to reason before fixing. Asking for the cause first prevents confident wrong patches.

You are a senior [Python] engineer.

I am getting this error:
<error>
[paste the full error and stack trace]
</error>

Here is the relevant code:
<code>
[paste the function or file]
</code>

First, explain the most likely cause in two sentences.
Then give the corrected code.
Then list one test that would catch this regression.

Reason it through (extended thinking)

For problems with steps, asking Claude to think before answering measurably improves accuracy. Keep the final-answer format explicit so the thinking does not bleed into your deliverable.

Solve the problem below. Think step by step before you answer.

<problem>
[paste the problem, calculation, or decision]
</problem>

Show your reasoning, then put the final answer on its own line prefixed with "Answer:".

Want more in this shape, including ChatGPT versions? See the fill-in-the-blank prompt templates and the prompt examples library.

Weak prompt vs strong prompt

The single biggest lever is specificity. Here is the same request written two ways, with what changed and why the second wins.

Weak

Write a product description.

Strong

Act as an e-commerce copywriter. Write a 60-word product description for a stainless-steel insulated water bottle aimed at gym-goers. Lead with the benefit, name two features, end with a one-line call to action. No exclamation marks.

Why it wins: The weak version gives Claude no audience, length, structure, or tone, so it returns a generic paragraph you have to rewrite. The strong version fixes all four and the output is usable on the first try.

Weak

Summarise this meeting.

Strong

Summarise the transcript in <transcript> into: (1) decisions made, (2) action items with owners, (3) open questions. Keep each item to one line. If an owner is not stated, write "unassigned".

Why it wins: A bare "summarise" produces a wall of prose. Naming the exact sections and the fallback for missing data turns it into a structured artefact you can paste straight into your notes.

Weak

Make this email more professional.

Strong

Rewrite the email in <draft> to sound calm and professional without being stiff. Keep it under 90 words, keep the request and the deadline, and remove the apology in the opening line. Return only the rewritten email.

Why it wins: "More professional" is subjective and unbounded. The strong version defines the tone, sets a length, and names the specific change to make, so Claude is not guessing what "professional" means to you.

The six techniques behind every good Claude prompt

These map to Anthropic's own prompt-engineering guidance: clarity, examples, thinking, XML structuring, roles, and chaining. Learn the six and you can build a prompt for any task, not just the ones on a list.

1

Be clear and direct

State the role, the single action, and the output format. One action verb per prompt — write, analyse, rewrite, summarise, debug. If a colleague would need to ask a clarifying question, so will Claude.

2

Give examples (multishot)

Two or three short examples of the output you want teach style faster than a paragraph describing it. This is Anthropic's "multishot" technique. Wrap each one in an <example> tag.

3

Let Claude think first

For multi-step problems, add "think step by step before you answer". Reasoning before the final answer improves accuracy on analysis, maths, and decisions. Keep the final-answer format explicit so the working does not leak into your deliverable.

4

Use XML tags

When a prompt mixes instructions with pasted material, wrap the material in tags like <document>, <draft>, or <transcript>. It tells Claude where your instruction ends and the data begins, which stops it acting on the wrong thing.

5

Set a system prompt / role

For a persistent persona across many turns, put the role in a system prompt: "You are a technical editor who never changes meaning, only clarity." For a one-off, the role can live in the message itself.

6

Chain prompts for big jobs

Break a large task into linked prompts — outline, then draft from the outline, then edit the draft — rather than asking for everything at once. Each step is easier to steer and easier to fix.

Source: Anthropic's prompt-engineering documentation lists clarity, examples (multishot), letting Claude think, XML tags, role / system prompts, and prompt chaining as its core techniques. The templates above are these six, applied.

Why your Claude prompts return generic answers

When Claude gives a bland, hedge-everything answer, the prompt is almost always the cause. Two failure modes account for most of it.

  • You asked for an outcome, not a spec. "Write a good email" has no audience, goal, length, or tone, so Claude fills the gaps with the safest generic version. Add those four and the output changes on the next run.
  • You buried the instruction inside the data. When you paste a long document and drop your question in the middle, the question competes with the text for attention. Move the instruction to the end and wrap the document in an <document> tag so Claude knows what to act on.

Fix those two and most "Claude is not very good" complaints disappear. The model was waiting for a clearer brief.

Claude prompts vs ChatGPT prompts

The four-part shape works for both, but two things lean Claude-specific. Claude follows long, structured briefs more literally, so a detailed sectioned prompt that might overwhelm a terser model often produces its best work. And Claude responds strongly to XML tags and a persistent system prompt, which is why the templates above lean on both.

If you are choosing between the two for a given task, the Claude vs ChatGPT comparison breaks down where each one wins, and the AI model comparison covers the wider lineup. If you are deciding which Claude plan you need, see Claude Pro vs Max vs API.

New to Claude entirely? Start with how to use Claude. To set standing rules that apply to every prompt, see Claude system prompts, and for longer-form work read Claude for writing.

Frequently Asked Questions

The questions people ask most about writing prompts for Claude.

What makes a good Claude prompt?+

A good Claude prompt gives Claude a role, one clear action, specific context, and an output format. Claude follows long, structured instructions faithfully, so being explicit pays off: 'Act as a senior copywriter. Rewrite the paragraph below to cut its word count by 30% while keeping the key claim. Return only the rewritten paragraph.' beats 'make this better' almost every time. Vague prompts get competent but generic answers; specific prompts make the quality jump visibly.

What is the best prompt structure for Claude?+

Role, then task, then context, then format, then the input. Put the long reference material (a document, a transcript, data) near the bottom of the prompt and your instruction near the top or the very end. Anthropic recommends wrapping distinct pieces in XML tags so Claude knows where the instructions stop and the data begins, for example <document>...</document> followed by your question.

Should I use XML tags in Claude prompts?+

Yes, when a prompt has multiple parts. Anthropic lists XML structuring as a core prompting technique. Tags like <context>, <example>, and <document> stop Claude from confusing your instructions with the material it is supposed to act on. For a one-line request you do not need them; for anything that pastes in a document, transcript, or dataset, they noticeably improve reliability.

How is prompting Claude different from prompting ChatGPT?+

Claude tends to follow long, detailed, structured instructions more literally, so verbose well-organised prompts that might overwhelm another model often produce its best work. It also responds strongly to XML tags and to a clear system prompt that sets a persistent role. In practice that means you can hand Claude a 200-word brief with sections and it will honour each part, where a terser model might ignore the back half.

What is a Claude system prompt and when should I use one?+

A system prompt is a persistent instruction that sets Claude's role and rules for the whole conversation, separate from each individual message. Use one when you want a consistent persona or constraint across many turns, such as 'You are a technical editor. You never change the meaning of a sentence, only its clarity.' For one-off requests, putting the role in the message itself is enough.

Why does Claude give vague or generic answers?+

Almost always because the prompt was vague. The most common failure is asking for an outcome ('write a good email') without specifying audience, goal, length, and tone. Add those four things and the output changes immediately. The second most common failure is burying the actual instruction in the middle of a long block of pasted text, where it competes with the data for Claude's attention; move the instruction to the end and wrap the data in tags.

Templates get you started. The method makes you fast.

The free Prompt Grader scores your prompt on five criteria, quotes the exact lines that cost you points, and rewrites it for Claude, ChatGPT, or Gemini. Stop guessing and start getting first-draft-usable output every time.