Agent skill · software engineering · erichowens
monorepo-management
Monorepo tooling, task orchestration, and workspace architecture for JavaScript/TypeScript repositories. Use when setting up Turborepo, Nx, pnpm workspaces, or npm workspaces; designing package
Why this skill is useful
Provides specific task orchestration patterns and configuration examples for JavaScript/TypeScript monorepos that the AI wouldn't reliably generate on its own.
What it needs
Requires bash installed locally. About 7k tokens when loaded. Last updated 2026-07-14. 180 stars on the source repository.
What this skill does
Monorepo Management Monorepo tooling and workspace architecture expert for JavaScript and TypeScript projects. Covers tool selection, task pipeline configuration, dependency graph management, CI optimization, and versioning strategy. When to Use Use for: Choosing between Turborepo, Nx, Lerna, and Rush for a new or migrating repository Configuring turbo.json task pipelines, remote caching, and Docker pruning Structuring workspace packages: apps, packages, shared configs, internal libraries Setting up pnpm or npm workspaces with correct hoisting rules Eliminating circular dependencies between workspace packages Configuring path-based CI with affected package detection Managing package versioning and changelogs with Changesets NOT for: Git submodules or polyrepo coordination → discuss trade-offs separately Bazel, Pants, or Buck for non-JavaScript monorepos Single-package repository setup → use project-level tooling skills Container orchestration of services within the monorepo → use docker-containerization --- Tool Selection Decision Tree Tool Comparison Summary Tool Best For Remote Cache Learning Curve ------ ---------- ------------- ---------------- Turborepo Apps-first, fast builds, simple config Vercel / self-hosted Low Nx Library-heavy, code generation, plugin ecosystem Nx Cloud / self-hosted Medium Rush Enterprise, Microsoft stack, strict isolation Custom High Lerna Legacy — migrating from None (use with Turborepo) Low Recommendation for new projects: Start with pnpm workspaces + Turborepo. Migrate to Nx if you need advanced code generation or project graph visualization. --- Workspace Architecture Decision Tree --- Dependency Graph and Build Pipeline Reading the graph: Build order flows from dependencies to dependents. packages/types (no deps) builds first. packages/ui builds after types. apps/web builds last. Turborepo and Nx compute this graph automatically — you define task dependencies, they order execution. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills erichowens/monorepo-management