Claude Prompting: Clear Briefs and Reasoning Tasks
Give Claude a clear deliverable, relevant source material and constraints. This page keeps its older URL, but the advice is not a claim that Claude 3.7 is the current model or best choice.
Give Claude a clear deliverable, relevant source material and constraints. This page keeps its older URL, but the advice is not a claim that Claude 3.7 is the current model or best choice.
Begin with the task and source
Explain what must be produced and provide the code, document or draft it depends on. Label context, instructions and output requirements with headings. XML-style tags are an optional organising convention, not a special access-control mechanism or a measured improvement promised by this site.
Use reasoning features only where available
Some Claude models and plans offer extended thinking or related controls. Their availability, limits and API settings vary. Check current Anthropic documentation for your selected model rather than copying a token budget from an old article. Extra processing can cost time and money and does not guarantee correctness.
Ask for evidence you can check
For a code audit, request a ranked list of issues with the relevant lines, proposed minimal changes and tests. For document work, ask for quoted passages or section references. You do not need the model’s private internal reasoning; a concise explanation and verifiable evidence are more useful.
Calibrate writing with an example
Provide a short piece of your own approved writing and say what should carry over: direct openings, varied sentence lengths or restrained language. Ask it not to imitate a named person or invent expertise. Compare the draft with your reader’s needs, not a claim about a model’s natural voice.
A starting prompt to adapt
This is an illustrative template, not a recorded model result. Replace the bracketed fields with your own material, then check the answer before using it.
Review [CODE] in [FRAMEWORK AND VERSION]. Preserve: [PUBLIC BEHAVIOUR AND SECURITY RULES]. Return: issues ranked by severity, evidence, smallest suggested fix, and tests to run. Distinguish confirmed defects from hypotheses. Do not add dependencies or change permissions without explaining why.
Check the result before using it
- Check the actual model and feature availability.
- Supply code versions and behaviour to preserve.
- Require source evidence for important findings.
- Run the tests yourself before accepting changes.
Common questions
Are XML tags mandatory?
No. Clear headings can work too. Choose a structure that makes the instructions and source easy to distinguish.
Does more thinking always improve a response?
No. Compare on the task you need; extra time can add complexity without fixing missing evidence.
Key takeaways
- Check the actual model and feature availability.
- Supply code versions and behaviour to preserve.
- Require source evidence for important findings.
- Run the tests yourself before accepting changes.
Paste Prompts Editorial Team
Practical guidance and illustrative templates. Model features change; check official documentation and review outputs before using them. Read our Editorial Standards & Fact-Checking Guidelines.
Put these prompt techniques to work
Browse prompts for a relevant task, fill in your own details and check the result before using it.