AaronRoeF/claude-code-patterns

95 stars · Last commit 2026-07-13

161 field-tested Claude Code patterns & anti-patterns for building an AI workflow that compounds — knowledge base, memory consolidation, hooks, agents. Updated monthly.

README preview

# Claude Code Pattern Library

**Clone this repo. Point Claude at it. Tell it to build you a plan.**

That's the whole idea. This is a field-tested collection of patterns, architecture decisions, and operational techniques for turning Claude Code into something that compounds — where every session makes the next one smarter. 161 techniques, all production-tested, organized so both humans and AI agents can consume them.

I built the system this grew out of to run my company. Meeting prep that pulls calendar, email, CRM, and LinkedIn data in 30 seconds. Skills that ghostwrite in my voice. A knowledge base that gets richer every session without me maintaining it. Hooks that enforce discipline I'd otherwise forget. The patterns here are the genericized versions — stripped of anything company-specific, structured so you can replicate them.

> **For AI agents:** This repo is designed to be consumed programmatically. Each part is self-contained with clear headings, structured examples, and implementation details. Point your agent at any part file and it has enough context to build an implementation plan.

---

## Get Started in 60 Seconds

```
git clone https://github.com/AaronRoeF/claude-code-patterns.git
cd claude-code-patterns
```

Then open Claude Code and say:

View full repository on GitHub →