artvandelay

Agentic Design Patterns In Production — Design skill for Claude Code

Design community

What happens when you read 500K lines of a production agent runtime and extract the patterns the textbook didn't cover.

How to install Agentic Design Patterns In Production

This entry records only its repository, not the path inside it, so there is no exact command to give. Open artvandelay/agentic-design-patterns-in-production and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentic Design Patterns In Production does

What happens when you read 500K lines of a production agent runtime and extract the patterns the textbook didn't cover. 19 chapters on the engineering beneath Claude Code.

Alternatives in Design

  • Interface Design — Design engineering for Claude Code 4.3k ★
  • Extract — Design System & Product Reverse-Engineering - Extract tokens, components, architecture, and PRDs from codebase 2.8k ★
  • Designer Skills — Designer Skills Collection: agentic skills, commands, and plugins for design — from research to systems, UI, i 2.3k ★

README

Agentic Design Patterns in Production

[Download the complete book as a PDF](Agentic-Design-Patterns-in-Production.pdf)

What happens when you read the source code of a production agent runtime and extract the patterns the textbook didn't cover.

Origins

Three inputs produced this book:

  1. Agentic Design Patterns by Alessandro Gulli — the foundational taxonomy of 21 agentic patterns
  2. The Claude Code source leak (March 2026) — ~500K lines of a production agent runtime, revealing patterns that only emerge under real load, real money, and real adversaries
  3. Codex Agentic Patterns — an earlier project applying the same method to OpenAI's Codex CLI

Reading Order

# File Topic
00-introduction.md Origins, what changed, who this is for
Part One: Foundations
1 part-1-foundations/01-agent-loop.md The minimal viable agent
2 part-1-foundations/02-prompt-assembly.md Prompts as layered configuration
3 part-1-foundations/03-tool-use.md The model-runtime contract
4 part-1-foundations/04-routing.md Dispatching to the right place
Part Two: Orchestration
5 part-2-orchestration/05-prompt-chaining.md Sequential multi-step workflows
6 part-2-orchestration/06-parallelization.md Concurrent execution and fan-out
7 part-2-orchestration/07-planning-decomposition.md Budget-aware plan-then-execute
8 part-2-orchestration/08-reflection-self-correction.md Bounded self-correction
Part Three: State and Memory
9 part-3-state-memory/09-session-lifecycle.md Sessions are not conversations
10 part-3-state-memory/10-memory-management.md Accumulation and consolidation
11 part-3-state-memory/11-context-economics.md Context as a scarce resource
Part Four: Safety
12 `part-4-safety/12-permi