Anthropic released the prompt engineering techniques for Claude 4.x models, with specific guidance for Sonnet 4.5, Haiku 4.5, and Opus 4.5
Claude 4.5 Prompting Best Practices:
- Be clear and specific about what you want.
- Provide relevant context or background details.
- Set the role or objective up front (for example, “You are an expert…”).
- Use examples to illustrate the desired output.
- Break multi-step tasks into logical stages.
Here’s a nice little infographic which covers everything:
