Anthropic's guide to prompt engineering best practices covers techniques for getting better outputs from AI models like Claude, organized from foundational habits to advanced methods. The core techniques include being explicit and clear with instructions, providing context and motivation behind requests, being specific with constraints and requirements, using examples (few-shot prompting), and giving the model permission to express uncertainty rather than hallucinate. Each principle is illustrated with concrete before-and-after examples showing the difference between vague and well-crafted prompts.
The guide then scales up to advanced techniques including prefilling (starting the AI's response to control format), chain of thought prompting (requesting step-by-step reasoning), and prompt chaining (breaking complex tasks into sequential prompts for higher accuracy at the cost of latency). It also addresses formerly popular techniques like XML tags and role prompting, noting these are less necessary with modern models like Claude 4.x but still useful in specific scenarios.
Notably, the article frames prompt engineering as a fundamental building block of context engineering, which it describes as an increasingly important discipline for working with LLMs. It includes a practical decision framework for selecting the right technique, a troubleshooting section for common issues like generic responses and hallucinations, and warns against over-engineering prompts. The guide emphasizes that the best prompt is the simplest one that reliably achieves the goal, and points readers toward Anthropic's prompt engineering course for objective measurement of prompt effectiveness.
Anthropic's Thariq shares how the team dramatically simplified Claude Code's context engineering for the newest Claude 5 models (Opus 5 and Fable 5), removing over 80% of the system prompt with no measurable loss on coding evaluations. The core insight is that newer models have significantly better judgment, making many previously necessary constraints counterproductive. The post outlines several paradigm shifts: replacing rigid rules with letting Claude use judgment, designing expressive tool interfaces instead of providing examples, using progressive disclosure to load context only when needed rather than front-loading everything, and leveraging auto-memory instead of manual CLAUDE.md entries. References have also evolved from simple markdown specs to rich artifacts like HTML mockups, detailed test suites, and rubrics for verifying taste.
The practical guidance covers how to structure each layer of context. System prompts should focus on product context. CLAUDE.md files should be lightweight, emphasizing codebase gotchas rather than obvious conventions. Skills should act as progressive-disclosure guides encoding team-specific opinions and knowledge. References should prefer code-based formats like HTML mockups over natural language descriptions. Anthropic has also shipped a /doctor command in Claude Code that automatically helps users simplify and right-size their skills and CLAUDE.md files to match these new best practices.
Anthropic's guide to prompt engineering best practices for 2026 walks through a progression of techniques for getting better results from AI models like Claude. The article starts with core techniques — being explicit and clear, providing context and motivation, adding specificity, using examples (few-shot prompting), and giving the model permission to express uncertainty. These foundational habits are positioned as the starting point before moving to more sophisticated methods.
The guide then covers advanced techniques including response prefilling to enforce output formats like JSON, chain of thought prompting (with basic, guided, and structured variants), output format control, and prompt chaining — breaking complex tasks into sequential steps across multiple prompts. Notably, the article acknowledges that some once-popular techniques like XML tags and heavy role prompting are now less necessary with modern models like Claude 4.x, which can interpret structure and intent more naturally.
A practical decision framework helps readers choose the right technique for their situation, while a troubleshooting section addresses common problems like generic responses, hallucinations, and inconsistent formatting. The article emphasizes that prompt engineering is converging with context engineering for newer Claude models, where the focus shifts from scaffolding prompts to curating the right context. The overarching advice: start simple, add complexity only when needed, and remember that the best prompt is the one that achieves goals reliably with minimum structure.
Aaron Levie, CEO of Box, argues that context is king for AI agents, emphasizing that the ability to design systems providing agents with optimal context will become a critical competitive advantage. He highlights that knowledge work has always been relatively messy, implying that structuring and surfacing the right information for AI agents represents both a significant challenge and a major opportunity for individuals, teams, and companies alike.
The post underscores a growing theme in enterprise AI: that the value of agents is directly tied to the quality of context they receive. This positions context engineering — the practice of curating and delivering relevant information to AI systems — as a key discipline in the next phase of AI adoption.