Patterns · Vol. 18

Pattern

CLAUDE.md and the memory hierarchy

Give Claude Code durable, project-aware context by placing instructions in CLAUDE.md files across a defined hierarchy — enterprise, user, project, and subdirectory — that load together at session start, so the agent behaves consistently without being re-briefed each turn.

Classification — Standing instructions loaded from a hierarchy of CLAUDE.md files.

Full entry

The complete treatment — problem, how it works, when to use it, sources, and examples — lives in the volume below.

Browse the full pattern index or the catalog.