Dokumentationerreichbar
Anthropic, Set up Claude Code in a monorepo or large codebase
code.claude.com (externe Seite)
Der Leitfaden für Monorepos und große Codebasen: verschachtelte CLAUDE.md-Dateien, Regeln mit Pfadangabe, Sparse Worktrees, Code-Intelligenz und Skills je Paket, damit Claude nur lädt, was die Aufgabe berührt. Zu jedem Abschnitt steht, ob die Einstellung nur auf dem eigenen Rechner gilt oder im Repository liegt.
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 12.10.2026:
The environment variable has no effect on directories listed in the additional
bestätigt 10.11.2026Directories setting. which CLAUDE.md files load into context at startup, and which project settings apply
bestätigt 10.11.2026aren’t inherited from parent directories the way CLAUDE.md files are
bestätigt 10.11.2026They differ in where the file lives and when it loads.
bestätigt 10.11.2026To focus on one package today and another tomorrow
bestätigt 10.11.2026a script can review the session and propose CLAUDE.md updates while the gap it exposed is fresh
bestätigt 10.11.2026into mechanisms that load on demand
bestätigt 10.11.2026records whether a command, Claude, or a nested skill invoked it
bestätigt 10.11.2026When Claude works on a file in packages/
bestätigt 10.11.2026api/, it loads the api-testing skill. root skills, plus skills from every subdirectory Claude touches during the session, which can accumulate into the hundreds
bestätigt 10.11.2026Code intelligence plugins require the language’s language server binary on each developer’s machine.
bestätigt 10.11.2026treat CLAUDE.md edits like any other documentation change so conventions track the code
bestätigt 10.11.2026That subtree only, until you grant more
bestätigt 10.11.2026In a large codebase, finding where a symbol is defined or used can cost many file reads and grep calls.
bestätigt 10.11.2026Code intelligence plugins connect Claude to a language server so it can jump to definitions, find references, and surface type errors directly instead of scanning the tree.
bestätigt 10.11.2026/
bestätigt 10.11.2026plugin install typescript-lsp@claude-plugins-official Installing from the official marketplace requires network access to Git
bestätigt 10.11.2026Hub on a restricted network, add the marketplace from an internal Git host or local path instead
bestätigt 10.11.2026Claude’s content searches respect .gitignore by default
bestätigt 10.11.2026add Read deny rules in permissions.deny to block Claude from opening those files
bestätigt 10.11.2026Deny rules cover Claude’s built-in file tools.
bestätigt 10.11.2026A Bash search such as grep -r or find over a directory that contains denied files still includes them in its output.
bestätigt 10.11.2026expose it as an MCP tool so Claude queries it instead of reading files directly
bestätigt 10.11.2026a teammate starting Claude in an unfamiliar part of the tree has no signal about which plugin that area’s owners maintain
bestätigt 10.11.2026prints the recommendation for Claude to relay in its first reply
bestätigt 10.11.2026
09 Bestehenden Code verstehen14 Anweisungen und Gedächtnis17 Skills und Befehle