Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

claude-prompting-best-practices changedbuild-with-claude/prompt-engineering/claude-prompting-best-practices

Recorded here
Lines+1added
Lines−1removed
From line 780 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits36to this page, all time

The whole hunk

from line 780, old and new numbered
/
lines
from line 780
780780 
781781* **Prefer general instructions over prescriptive steps.** A prompt such as “think thoroughly” often produces better reasoning than a hand-written step-by-step plan. Claude’s reasoning frequently exceeds what a human would prescribe.
782782* **Multishot examples work with thinking.** Worked examples in your prompt shape how Claude approaches similar problems in its own thinking blocks. Present each example as a problem, the method to apply, and the expected answer.
783* **Manual chain-of-thought (CoT) prompting as a fallback.** When thinking is off, you can still encourage step-by-step reasoning by asking Claude to think through the problem before it answers. Ask it to put the final answer in `<answer>` tags so you can extract it. Some models might decline a prompt that asks them to write their reasoning, for example in `<thinking>` tags. On those models, rely on thinking instead. If cost or latency matters, use a lower [effort](https://platform.claude.com/docs/en/build-with-claude/effort) level. For examples of these models, see [Keep reasoning in thinking blocks](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#keep-reasoning-in-thinking-blocks).
783* **Manual chain-of-thought (CoT) prompting as a fallback.** When thinking is off, you can still encourage step-by-step reasoning by asking Claude to think through the problem before it answers. Ask it to put the final answer in `<answer>` tags so you can extract it. Some models might decline a prompt that asks them to write their reasoning, for example in `<thinking>` tags. On those models, rely on thinking instead. If cost or latency matters, use a lower [effort](https://platform.claude.com/docs/en/build-with-claude/effort) level. For the list of these models, see [Keep reasoning in thinking blocks](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#keep-reasoning-in-thinking-blocks).
784784* **Ask Claude to self-check.** Append something like “Before you finish, verify your answer against \[test criteria].” This catches errors reliably, especially for coding and math. Claude Opus 5 is the exception: it verifies its own work well without explicit instruction, and verification instructions carried over from prompts tuned for earlier models can cause over-verification, adding tokens and latency. On Claude Opus 5, remove these instructions rather than rewriting them. See [Task scope and over-verification](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-opus-5#task-scope-and-over-verification).
785785 
786786<Note>
Feedback