Prompting best practices (Claude docs)
by Anthropic
Current-model guidance in one page: XML structure, examples, thinking, agentic use. (Old use-xml-tags, multishot and extended-thinking-tips URLs redirect here.)
Claude-specific guidance brings together instruction structure, examples and behavior in agent workflows. Consult it when a general prompting rule needs adjustment for the model you are actually using.
- Level
- Intermediate
- Models
- claude
- Category
- Prompting
- Tags
- official-guide, model-specific
- Source date
- date not stated
- Added
- 2026-10-18
- Last verified
- 2026-10-18
- Status
- ok
- Prerequisites
- Assumes basic LLM familiarity or the ability to read examples and configure a workflow.
- Subcategory
- model specific guides
- Region
- West
- Original language
- en
- Access
- free
- Resource reuse
- closed: No general open-reuse grant established from the inspected page. Closed is the conservative index bucket, not a legal finding; the resource is publicly readable. Facet definitions
Summary in our own words. Rights remain with the original creator. Credit and correction policy.