Explicit Criteria
What Anthropic says
- Claude "responds well to clear, explicit instructions". If you want "above and beyond" behaviour, ask for it explicitly; do not rely on the model inferring it from a vague prompt.
- Think of Claude as a brilliant but new employee who lacks your norms and context. Golden rule: show the prompt to a colleague with minimal context; if they would be confused, Claude will be too.
- Be specific about output format and constraints. Use numbered steps when order or completeness matters.
- Give context and motivation (why the rule exists) so Claude can generalise to cases you did not list.
- Wrap distinct parts of a prompt in XML tags (
<instructions>,<context>,<input>) to avoid misreading. - Before tuning prompts, have success criteria and a way to test against them; prompt engineering is not always the right fix (a different model can fix latency or cost more easily).
Criteria that work (design guidance)
Replace judgement words with checkable definitions:
| Vague | Explicit |
|---|---|
| "Be thorough" | "Report every issue in categories A, B and C; list each with file, line and a one-line reason" |
| "Only flag important bugs" | "Report only defects that cause incorrect output, data loss or a security issue. Do not report style, naming or formatting" |
| "Be conservative" | "Report an item only if you can quote the exact line that shows it; otherwise say 'insufficient evidence'" |
| "Short summary" | "Three bullets, each under 20 words, no preamble" |
Controlling false positives (design guidance)
Vague severity language ("flag anything suspicious") produces noisy output. Fix it by:
- Defining what counts (categories with concrete examples) and what does not.
- Requiring evidence (a quote or location) for every finding.
- Separating severity levels with definitions, so teams can filter.
- Adding examples of near-misses that should not be reported (4.2).
Exam traps
- "Be careful / be accurate / be conservative" offered as a fix for false positives. These are not criteria.
- Long prompts with contradictory rules.
- Criteria that live only in the reviewer's head, not in the prompt.
- No evaluation set, so changes cannot be judged.
References
- Prompting best practices — checked Oct 16, 2026
- Prompt engineering overview — checked Oct 16, 2026
Check your understanding
A review prompt says "flag serious problems" and reports many trivial ones. Fix?Show answerHide answer
Answer
Define "serious" with categories and exclusions, and require evidence.Why add the reason behind an instruction?Show answerHide answer
Answer
It lets Claude generalise to unlisted cases.Which comes first: tuning the prompt or defining success criteria?Show answerHide answer
Answer
Success criteria and a test method.