🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

monorepo-navigator

by @alirezarezvani

Monorepo Navigator

Versionv1.0.0
Installs4
⚑ When to Use
TriggerAction
- Multiple packages/apps share code (UI components, utils, types, API clients)
- Build times are slow because everything rebuilds when anything changes
- Migrating from multiple repos to a single repo
- Need to publish packages to npm with coordinated versioning
- Teams work across multiple packages and need unified tooling
Skip when:
- Single-app project with no shared packages
- Team/project boundaries are completely isolated (polyrepo is fine)
- Shared code is minimal and copy-paste overhead is acceptable
---
πŸ“‹ Tips & Best Practices

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

View on ClawHub
TERMINAL
clawhub install monorepo-navigator

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’