Prompt example extracted from Anthropic Cookbook.
Content Philosophy: Action + Understanding Cookbooks are primarily action-oriented but strategically incorporate understanding and informed by Diataxis framework. **Core Principles:** - **Practical focus**: Show users how to accomplish specific tasks with working code - **Problem-first framing**: Lead with the problem being solved and value delivered, not the machinery - **Builder's perspective**: Written from the user's point of view, solving real problems - **Agency-building**: Help users understand why approaches work, not just how - **Transferable knowledge**: Teach patterns and principles that apply beyond the specific example - **Critical thinking**: Encourage users to question outputs, recognize limitations, make informed choices - **Learning contracts**: State learning objectives upfront, then map back to them in conclusions