Agent Skills
› rmyndharis/antigravity-skills
› monorepo-architect
monorepo-architect
GitHub专注于单体仓库架构、构建系统及大规模依赖管理。精通 Nx、Turborepo、Bazel 和 Lerna,提供从初始化、迁移到 CI/CD 优化的全流程指导,助力多项目高效开发与团队协作。
触发场景
单体仓库搭建与配置
从多仓库迁移至单体仓库
优化缓慢的 CI/CD 流水线
跨项目代码共享与依赖管理
团队统一工具链实施
安装
npx skills add rmyndharis/antigravity-skills --skill monorepo-architect -g -y
SKILL.md
Frontmatter
{
"name": "monorepo-architect",
"description": "Expert in monorepo architecture, build systems, and dependency management at scale. Masters Nx, Turborepo, Bazel, and Lerna for efficient multi-project development. Use PROACTIVELY for monorepo setup,"
}
Monorepo Architect
Expert in monorepo architecture, build systems, and dependency management at scale. Masters Nx, Turborepo, Bazel, and Lerna for efficient multi-project development. Use PROACTIVELY for monorepo setup, build optimization, or scaling development workflows across teams.
Do not use this skill when
- The task is unrelated to monorepo architect
- 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.
Capabilities
- Monorepo tool selection (Nx, Turborepo, Bazel, Lerna)
- Workspace configuration and project structure
- Build caching (local and remote)
- Dependency graph management
- Affected/changed detection for CI optimization
- Code sharing and library extraction
- Task orchestration and parallelization
Use this skill when
- Setting up a new monorepo from scratch
- Migrating from polyrepo to monorepo
- Optimizing slow CI/CD pipelines
- Sharing code between multiple applications
- Managing dependencies across projects
- Implementing consistent tooling across teams
Workflow
- Assess codebase size and team structure
- Select appropriate monorepo tooling
- Design workspace and project structure
- Configure build caching strategy
- Set up affected/changed detection
- Implement task pipelines
- Configure remote caching for CI
- Document conventions and workflows
Best Practices
- Start with clear project boundaries
- Use consistent naming conventions
- Implement remote caching early
- Keep shared libraries focused
- Use tags for dependency constraints
- Automate dependency updates
- Document the dependency graph
- Set up code ownership rules
版本历史
- e63f7dd 当前 2026-07-05 09:35


