What you will be able to do
- Supply the actual source material in a prompt, arranged so Claude can work from it
- Set the scope of a request and tell Claude what to do when the material doesn't cover something
- Use a single example to show a format that is hard to describe
- Ask for the depth you need instead of accepting a brief default
1.Paste the source material, not a description of it
A request can be well specified and still fail if Claude doesn't have the facts. Claude's support guidance says: "Make sure that your prompt contains as much context as possible." It suggests a test: "Pretend you are giving these instructions to someone with no background knowledge about what you are asking." Writing "summarise the attached policy changes" when nothing is attached, or describing a report from memory, leaves Claude to fill the gaps with plausible guesses. Paste the actual handbook, email thread, data or draft.
When the pasted material is long, where you put it matters. The best-practices guide says: "Place your long documents and inputs near the top of your prompt, above your query, instructions, and examples." If you paste several documents, wrapping each in its own tags with a source label keeps them apart from your instructions. For long-document tasks, the guide also suggests you "ask Claude to quote relevant parts of the documents first before carrying out its task". This keeps the answer tied to the text you supplied.
Some context applies to every request on a piece of work, such as house style, audience or recurring background. You don't have to paste it every time. The personalization guide says to "Use project instructions when you need specific guidance or context for a particular project (paid plans only)." Project instructions act as standing context that every prompt in the project builds on.
Checkpoint 1 of 6· Put it in order
Put the parts of a long-document request in the order Anthropic recommends
- 1.Your query and instructions
- 2.Claude carries out the task based on those quotes
- 3.Claude quotes the passages relevant to the task
- 4.The long documents, each wrapped in its own tags
Long material goes near the top, above the query and instructions. For long-document tasks, asking Claude to pull out relevant quotes before answering keeps the answer focused on the supplied text.
“Place your long documents and inputs near the top of your prompt, above your query, instructions, and examples.”Source: platform.claude.com
Checkpoint 2 of 6· Exam question
A team's prompt says "Do not use markdown in your response," but Claude's output still includes headings and bullet lists inconsistently. What rewording is more effective at controlling the format?
Correct answer: A — State that the response should be composed of smoothly flowing prose paragraphs instead
- A. Correct. Telling Claude what to do instead of what not to do, such as specifying that the response should be smoothly flowing prose, is a more effective way to steer output formatting than a negative instruction.
- B. Repeating the same negative phrasing does not change the underlying issue that negative instructions are less effective than positive ones for controlling format.
- C. Temperature controls randomness in word choice, not adherence to formatting instructions, so it would not reliably fix markdown usage.
- D. Manually stripping markdown after the fact is a workaround rather than a prompting fix, and doesn't address why the instruction isn't being followed.
2.Define scope and what to do when the material runs out
Pasting material raises a second question: what should Claude do when the material doesn't answer something? If you don't say, Claude may fill the gap with a plausible guess, and the guess will look just like the grounded parts of the answer. The prompt engineering guide recommends that you "Give the AI explicit permission to express uncertainty rather than guessing." Its example instruction is: "If the data is insufficient to draw conclusions, say so rather than speculating."
This is part of being specific about scope and completeness. A good request says which sources count, what range the answer should cover, and how to handle what falls outside it. For example: answer only from the attached handbook, and if a question isn't covered, say so and point the person to HR. Structured output follows the same principle. The guide's financial-extraction prompt names every field and gives Claude an explicit way to mark a missing value instead of inventing one:
Checkpoint 3 of 6· Fill the gap
This extraction prompt tells Claude what to do when a figure is missing from the report. Which token completes it?
Use this structure:
{
"revenue": "value with units",
"profit_margin": "percentage",
"growth_rate": "percentage"
}
If any metric is not clearly stated in the report, use ? rather than guessing.The prompt gives Claude permission to mark a missing metric as null. That makes the gap visible to whoever uses the data, instead of hiding it behind a made-up or default value.
Source: claude.comCheckpoint 4 of 6· Exam question
A project manager's prompt is written with heavy markdown formatting, bullet points, and bold text, and asks Claude to "respond in plain text only." Claude keeps returning markdown-formatted output anyway. What is the most likely fix?
Correct answer: A — Rewrite the prompt itself without markdown, since Claude's style tends to mirror the prompt's style
- A. Correct. The formatting style used in the prompt can influence Claude's response style, so matching the prompt's style to the desired output style, such as removing markdown from the prompt, helps reduce unwanted markdown in the response.
- B. Emphasizing the instruction with bold text keeps the prompt itself in markdown, which works against the stated goal of getting a plain-text response.
- C. Token limits control response length, not formatting style, so raising the limit would not resolve the markdown issue.
- D. Repeating the instruction using bullet points again models the exact formatting style the manager wants to avoid, reinforcing the problem rather than fixing it.
3.Show the format with an example
Some requirements are easier to show than to describe, such as a house tone, the rhythm of a status update or a summary style your team already uses. The best-practices guide says: "Examples are one of the most reliable ways to steer Claude's output format, tone, and structure."
The guide asks for examples that are relevant ("Relevant: Mirror your actual use case closely."), diverse enough that Claude doesn't copy accidental features, and clearly separated from the instructions, for instance wrapped in example tags. Claude follows examples closely, so make sure each one shows only the behaviour you want. The prompt engineering guide also advises restraint: "Start with one example (one-shot)." Add more only if one example doesn't produce the output you need. The guide's summarisation case shows how this works. You paste one short summary in the style you want, then ask Claude to "summarize this article in the same style".
Checkpoint 5 of 6· Check yourself
A team lead wants weekly updates written in the team's established three-line style, which is hard to describe in words. What does Anthropic's guidance suggest first?
Examples are a reliable way to convey a format that is hard to describe. The guidance is to start with one example that mirrors the real use case, and add more only if needed.
“Examples are one of the most reliable ways to steer Claude's output format, tone, and structure.”Source: platform.claude.com
4.Ask for the depth you need
A short answer is usually not a capacity problem. The support article explains that Claude's "context window applies to the prompts you provide but not the output it generates." If a response is too brief, the fix is in the request. Anthropic's notes on recent models give one reason this happens: they are "Less verbose: May skip detailed summaries for efficiency unless prompted otherwise". Without a stated depth, you get the model's default.
So say how much depth you want in the first request. The prompt engineering guide tells you to "Be specific about quality and depth expectations", and asking for comprehensive output explicitly is how the dashboard example earns its fuller result. Name the depth concretely: which sections, how many options, whether to include worked numbers or only conclusions. Most other disappointing results also come from something missing in the request, and the guide's troubleshooting list connects each symptom to it:
| Symptom | What to add to the request |
|---|---|
| Response is too generic | Specificity, examples, or explicit requests for comprehensive output |
| Response is off-topic or misses the point | Your actual goal, and context about why you're asking |
| Response format is inconsistent | Examples (few-shot) |
| AI makes up information | Explicit permission to say "I don't know" when uncertain |
| AI suggests changes when you wanted implementation | An explicit action: "Change this function" rather than "Can you suggest changes?" |
Checkpoint 6 of 6· Check yourself
A policy analyst needs a thorough options paper but keeps getting a few short paragraphs. Which change to the request fits Anthropic's guidance?
Brief answers call for retooling the prompt. Stating concrete depth and asking explicitly for comprehensive output gives Claude a target. Resending the same prompt or adding emphasis doesn't.
“Add specificity, examples, or explicit requests for comprehensive output.”Source: claude.com
Exam traps
Each one states something that sounds right. Open it to see what is actually true.
1.Describing a document in a sentence or two gives Claude enough to work with.Why is that wrong?
Claude has no background on your organisation or task. Paste the actual material and write the prompt as if for someone who knows nothing about it.
Covered in Paste the source material, not a description of it
2.A brief or incomplete answer means Claude hit a size limit, so the request itself is fine.Why is that wrong?
The context window limits the prompts you provide, not the output. A brief answer means the request needs reworking to ask for the depth you want.
Covered in Ask for the depth you need
Sources
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.https://support.claude.com/en/articles/7996857-my-prompt-isn-t-giving-me-a-helpful-answerOfficial docs
“Make sure that your prompt contains as much context as possible.”
↩︎ Paste the source material, not a description of it“Claude works best when you give it clear and specific instructions.”
↩︎ Define scope and what to do when the material runs out“Pretend you are giving these instructions to someone with no background knowledge about what you are asking.”
↩︎ Exam trap 1 - 2.https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practicesOfficial docs
“ask Claude to quote relevant parts of the documents first before carrying out its task.”
↩︎ Paste the source material, not a description of it“Examples are one of the most reliable ways to steer Claude's output format, tone, and structure.”
↩︎ Show the format with an example“Relevant: Mirror your actual use case closely.”
↩︎ Show the format with an example“Less verbose: May skip detailed summaries for efficiency unless prompted otherwise”
↩︎ Ask for the depth you need“Place your long documents and inputs near the top of your prompt, above your query, instructions, and examples.”
↩︎ Checkpoint - 3.https://support.claude.com/en/articles/10185728-understanding-claude-s-personalization-featuresOfficial docs
“Use project instructions when you need specific guidance or context for a particular project (paid plans only).”
↩︎ Paste the source material, not a description of it - 4.https://claude.com/blog/best-practices-for-prompt-engineeringSecondary source
“If the data is insufficient to draw conclusions, say so rather than speculating.”
↩︎ Define scope and what to do when the material runs out“Start with one example (one-shot).”
↩︎ Show the format with an example“Be specific about quality and depth expectations”
↩︎ Ask for the depth you need“Add specificity, examples, or explicit requests for comprehensive output.”
↩︎ Checkpoint - 5.https://support.claude.com/en/articles/8114518-claude-s-response-to-my-prompt-is-too-briefOfficial docs
“If its responses are too brief or only partially complete, consider retooling your prompts.”
↩︎ Ask for the depth you need“context window applies to the prompts you provide but not the output it generates.”
↩︎ Exam trap 2