Pattern

Path-scoped rules and auto memory

Split standing context so each piece loads only when it applies: topic rule files in .claude/rules/, optionally scoped to file paths so they load only when Claude works on matching files, and auto memory, a per-repository set of notes Claude writes and reads back across sessions.

Classification Standing context split by file path, plus notes the agent writes for itself.

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.

Search the catalog