When detailed instructions alone still produce inconsistent formatting, tone, or judgement calls, the most effective next step is almost never more instructions. It's multishot prompting: giving Claude a small number of worked examples of exactly the kind of output you want.
This is one of the most heavily tested ideas in prompt engineering, and for good reason — it's genuinely the highest-leverage fix for output consistency problems, and it generalises across almost every task type: drafting, classification, summarizing, formatting, even judgement calls like tone.
How Many, and How
Use three to five diverse examples, not one repeated pattern and not a huge pile of edge cases. A single example risks Claude locking onto an overly narrow pattern instead of generalising. A long list of examples wastes space without proportional benefit. Wrap each example in its own <example> tag so Claude can clearly tell where instructions end and worked examples begin.
<example>
Customer: My package arrived a week late.
Reply: Hi Sam, I'm really sorry your package arrived late...
</example>
<example>
Customer: This item doesn't match the photos.
Reply: Hi Jordan, thanks for flagging this...
</example>Diversity matters more than volume: pick examples that cover the range of situations Claude will actually face, not five near-identical variations of the same scenario. If every real input Claude will see is a variation on "angry customer, refund request," your examples should span at least a couple of different emotional registers and request types, not five refund requests with slightly different wording.
Multishot vs. a Role Statement
A role statement (lesson 1.1) and multishot examples solve related but distinct problems. A role gives Claude a consistent perspective to write from. Examples give Claude a concrete pattern to match — structure, format, level of detail. When output is inconsistent in tone, start with a role. When output is inconsistent in structure or format even with detailed written instructions, examples are usually the stronger fix, because showing a pattern is more reliable than describing one in prose.
Key Concept
When plain-language instructions alone haven't produced consistent results, add three to five diverse worked examples wrapped in <example> tags. This is more reliable than writing yet another paragraph of instructions.
Common Exam Distractor
Watch for a tempting-sounding option like "provide one long, detailed example that repeats the same pattern several times." Repetition of a single pattern isn't diversity, and it risks teaching Claude an overly narrow rule rather than the general behaviour you actually want.