monorepo-navigator
by @alirezarezvani
Monorepo Navigator
1. Root CLAUDE.md defines the map β document every package, its purpose, and dependency rules 2. Per-package CLAUDE.md defines the rules β what's allowed, what's forbidden, testing commands 3. Always scope commands with --filter β running everything on every change defeats the purpose 4. Remote cache is not optional β without it, monorepo CI is slower than multi-repo CI 5. Changesets over manual versioning β never hand-edit package.json versions in a monorepo 6. Shared configs in root, extended in packages β tsconfig.base.json, .eslintrc.base.js, jest.base.config.js 7. Impact analysis before merging shared package changes β run affected check, communicate blast radius 8. Keep packages/types as pure TypeScript β no runtime code, no dependencies, fast to build and type-check
clawhub install monorepo-navigator