monorepo-context
Installation
SKILL.md
Monorepo Context Patterns
Overview
Claude Code 2.1.20 introduces --add-dir for multi-directory context, enabling monorepo-aware sessions where each service maintains its own CLAUDE.md instructions.
Monorepo Detection
Indicators that a project is a monorepo:
| Indicator | Tool |
|---|---|
pnpm-workspace.yaml |
pnpm |
lerna.json |
Lerna |
nx.json |
Nx |
turbo.json |
Turborepo |
rush.json |
Rush |
3+ nested package.json files |
Generic |