How to read this book
What a pattern is
A pattern describes a recurring problem and a proven way to solve it, stated so the solution can be applied many times without reinventing it. A pattern is not ready-made code but an idea you adapt to your context.
Chapter structure
Every pattern follows one template so chapters stay comparable:
- Intent — what the pattern solves.
- Problem — the situation and forces that lead to the pattern.
- Solution — the idea at the level of principle.
- Structure — a diagram from the shared assets.
- When to use and Consequences — conditions and trade-offs.
- Implementation and Example — how to realize it.
- Anti-patterns, Known uses, Related patterns.
Groups
Patterns are grouped by area of working with an agent: task setting, working with context, verification, project organization. Anti-patterns live in a separate general chapter — common mistakes when interacting with an agent and their analysis. The grouping is visible in the table of contents; inside the repository all chapters are flat, so they are convenient to read on GitHub too.