5 Patterns for Building Production AI AgentsThe five agentic patterns from Anthropic's 'Building Effective Agents' — prompt chaining, routing, parallelization, orchestrator-workers, and evaluator-optimizer — each with one runnable Python example. Start simple, add complexity only when it pays for itself.
Level: intermediate · 8 min read
Ask Your Claude Agent for HTML — A One-Line Trick That Makes AI Output 10× Easier to ReadA small Anthropic-popularized prompting trick: instead of asking your AI agent to reply in plain text, ask it for HTML. You get scannable tables, color-coded options, and diagrams instead of a wall of prose. This guide covers the exact prompt, a before/after readability comparison, the real use cases, and the honest tradeoffs (token cost, noisy diffs) so you know when NOT to use it.
Level: beginner · 11 min read
The 4 Rules Anthropic Engineers Use to Prompt Claude CodeAnthropic engineers do not write better prompts — they stop writing prompts. This guide breaks down the 4 rules they actually follow: prompt skills not Claude, build tools not just prompts, compose small skills instead of one giant one, and let every session sharpen the skill. Includes an annotated /draft-email skill and a composable domain-checker example.
Level: beginner · 17 min read