monorepo-management

掌握使用Turborepo、Nx和pnpm工作区管理单体仓库,构建高效可扩展的多包存储库,实现优化构建与依赖管理。适用于搭建单体仓库、优化构建流程或管理共享依赖的场景。

查看详情
name:monorepo-managementdescription:Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

Monorepo Management

Build efficient, scalable monorepos that enable code sharing, consistent tooling, and atomic changes across multiple packages and applications.

Use this skill when

  • Setting up new monorepo projects

  • Migrating from multi-repo to monorepo

  • Optimizing build and test performance

  • Managing shared dependencies

  • Implementing code sharing strategies

  • Setting up CI/CD for monorepos

  • Versioning and publishing packages

  • Debugging monorepo-specific issues
  • Do not use this skill when

  • The task is unrelated to monorepo management

  • You need a different domain or tool outside this scope
  • Instructions

  • Clarify goals, constraints, and required inputs.

  • Apply relevant best practices and validate outcomes.

  • Provide actionable steps and verification.

  • If detailed examples are required, open resources/implementation-playbook.md.
  • Resources

  • resources/implementation-playbook.md for detailed patterns and examples.