Building
Design patterns, code examples, and proven solutions for building agent skills.
Skill Composition
Orchestrating multiple skills together: dependency resolution, parallel execution, shared context, and building complex capabilities from simple parts.
Context Management
Strategies for working within context window limits: summarization, selective loading, and memory patterns for agent skills.
Building a Code Review Skill
A multi-step code review skill that diffs changes, analyzes code quality, and generates structured feedback, demonstrating skill composition and error handling.
Multi-Step Workflows
Patterns for chaining skills into complex, multi-step workflows with state management, branching logic, and recovery strategies.
Human-in-the-Loop
Patterns for involving humans in agent workflows: approval gates, progressive autonomy, and knowing when to escalate.
Error Handling Patterns
How to build agent skills that handle failures gracefully: retry strategies, fallbacks, partial completion, and informative error responses.
Building a File Search Skill
A complete, annotated implementation of a file search skill with glob pattern matching, result formatting, and thorough tests.
Tool Use Patterns
How agents select and invoke tools: best practices for tool descriptions, parameter schemas, and reliable invocation.