How to Write Prompts for Claude: A Practical Guide
A repeatable structure for briefing Claude, with before-and-after examples from memos, customer emails and data summaries you can adapt today.
In brief
To write a good prompt for Claude, give it five things: a role, the context it cannot see, one clear task, the output format you need, and the constraints it must follow. Write the brief as you would for a capable new colleague, using specific facts rather than vague adjectives. Then review the result and ask for targeted changes instead of starting over.
Claude responds best to prompts that read like a clear brief for a capable new colleague. If you want to know how to write prompts for Claude that produce usable work on the first attempt, give it four things: the role it should play, the context it cannot see, the exact task, and the shape the answer should take. The structure below works for memos, emails, summaries and most everyday writing tasks.
Use the five parts of a repeatable prompt
Most weak prompts miss one or two of five elements. You can run through this list every time:
- Role: who Claude should act as, such as an operations manager or a copy editor.
- Context: the background, the audience and the purpose.
- Task: the single thing you want done.
- Format: length, headings, tables or bullet points.
- Constraints: what to include, what to leave out, and any tone rules.
You do not need a heading for each part. A short paragraph per part, or a short list, is enough. The point is to make sure none of the five is left to guesswork.
Give context the model cannot see
Claude does not know your company, your last meeting or the decision you made on Tuesday. Everything it needs has to be in the prompt or in material you attach. Include the audience (a board, a customer, a new hire), the goal (inform, persuade, or ask for approval), and any facts that must be respected, such as a deadline or a price that has already been agreed.
Be specific about what is settled. If the team has already decided to delay a launch, say so. Otherwise Claude may propose options that were closed weeks ago.
Before and after: an internal memo
A weak prompt looks like this:
Write a memo about the hiring freeze.
The result tends to be generic. It may read like a template, with no dates, no reasons and no named contact. Now the structured version:
You are an operations lead at a 40-person software company. Write an internal memo to all staff announcing a hiring freeze that starts on 1 July and runs to the end of the fiscal year. Context: revenue is on plan, but we want to protect runway while we finish the platform migration. Offers already accepted will proceed. Audience: engineers and managers who will ask about their own teams. Task: explain the decision, what it does and does not affect, and who to contact with questions. Format: under 350 words, with three short sections, each with a plain heading. Constraints: do not blame any team, do not promise a date for lifting the freeze, and avoid corporate filler.
The second version leaves Claude fewer decisions to guess at. You will still edit the output, but you will edit sentences rather than rebuild the memo. Replace the dates and names with your own before you use it.
Before and after: a customer email
Weak version: Write an email to a customer whose order was late.
Structured version: You are a customer support specialist for a furniture retailer. Context: order 48213 arrived four days after the promised date because of a carrier delay. The customer has bought from us for three years and wrote an upset message. Task: apologise once, state what happened in one sentence, confirm that shipping costs will be refunded, and say when the next update will arrive. Format: plain text, under 150 words, no bullet points. Constraints: do not name the carrier, and do not offer any discount beyond the shipping refund.
The example policy is illustrative. Use your own refund rules, and check that the promised update time is one your team can meet.
Before and after: summarising a data export
Weak version: Summarise this data.
Structured version: You are an analyst supporting a retail team. The attached CSV contains weekly sales by region for the last twelve weeks. Task: compare the first six weeks with the last six and name the three largest changes. Also name any region that moved against the overall trend. Format: a table with region, change and a likely driver, followed by three bullet points on what to check next. Constraints: use only figures that appear in the file. If a value is missing or unclear, say so rather than estimating. Do not make forecasts.
For files of this size, spot-check two or three of the figures in the output against the source. A short check like that catches most errors before they reach a meeting.
Ask for the format you will actually use
The format request matters as much as the task. Match the output to what you will do with it:
| Output you need | How to ask | What to watch for |
|---|---|---|
| First draft to edit | Full draft with a word limit, in plain text | Drafts run long unless you set a limit |
| Decision support | Options table with pros, cons and a recommendation | The recommendation still needs your judgement |
| Quick check | Three bullets, each under 20 words | Nuance can drop out |
| Structured data | Table with named columns | Numbers must be checked against the source |
If you will paste the result into another system, ask for plain text with no markdown. If you will read it on a phone, ask for short paragraphs.
Add constraints that prevent common problems
Constraints do most of the quality control. Before you send a prompt, check that it covers these points:
- The audience and how much time they have to read.
- What must not change, such as prices, dates or names.
- What to do when information is missing.
- A length limit in words.
- A short list of the assumptions the output relies on.
The last point is the most useful. When Claude lists its assumptions, a wrong premise becomes visible before you act on the output. The same habit helps with technical work. Tools built to review code changes, such as the Claude Ship product covered in our news on code review, work better when the brief states what a change is meant to do and what would count as a failure.
Iterate with follow-up prompts instead of starting over
Treat the first answer as a draft. Then give specific feedback, such as: shorten the second paragraph to two sentences and remove the apology. When precision matters, change one thing per turn so you can see what caused each improvement.
Long conversations can lose early details, especially when the topic shifts. When the task changes, paste the key facts again. Short requests also suit a quick check on a phone or watch, as our report on Claude's Apple Watch app with voice chat shows. Longer briefs with attachments are easier to write and review on a larger screen.
Frequently asked questions
Do I need a specific template for Claude?
No single template is required. The five parts are a checklist rather than a format Claude demands. Use the parts that matter for the task and keep the wording plain.
Is a longer prompt always better?
No. Length helps when it adds facts, audience or constraints. Repeated instructions and vague adjectives make the answer harder to control. Aim for the fewest words that cover the five parts clearly.
Can I attach documents instead of pasting text?
Yes, where your plan and the interface support attachments. Say in the prompt which part of the document matters, and check that key figures in the output match the source.
Should I tell Claude to take on a role?
A role helps when it sets the level of expertise and the perspective, such as a copy editor or a support lead. It does not replace context. A role with no facts still produces generic output.
What if the answer is wrong or the tone is off?
Name the specific problem and give one correction. Ask Claude to list its assumptions, then fix any that are wrong. Review anything involving numbers, names, or legal or medical questions before you act on it.