跳到正文
cccskills
免费在 GitHub 公开

monorepo-navigator

Manage and optimize monorepos with Turborepo, Nx, pnpm workspaces, and Changesets. Use when working in monorepos, running impact analysis, optimizing build times with remote caching, migrating from multi-repo, or coordinating publishing.

中文简介正在准备中。当前显示原文说明。

集成工具Vercel

实测评分 未实测

查看安装方法

包含的文件(6)

  • SKILL.md6.1 KB
  • references/operations-and-best-practices.md4.3 KB
  • references/tooling-and-configuration.md8.4 KB
  • scripts/dependency_graph.py16.5 KB
  • scripts/impact_detector.py14.5 KB
  • scripts/package_analyzer.py15.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Monorepo Navigator

Navigate, manage, and optimize monorepos at any scale. Covers Turborepo, Nx, pnpm workspaces, and Lerna/Changesets for cross-package impact analysis, selective builds on affected packages only, dependency graph visualization, remote caching configuration, migration from multi-repo to monorepo with preserved git history, and coordinated package publishing with automated changelogs.

Keywords: monorepo, Turborepo, Nx, pnpm workspaces, Changesets, dependency graph, remote cache, affected packages, selective builds, cross-package impact, npm publishing, workspace protocol

Core Capabilities

  • Impact analysis — determine which apps break when a shared package changes, trace dependency chains, visualize Mermaid graphs, and calculate blast radius.
  • Selective execution — run tests/builds only for affected packages, filter by changed files since a git ref, and skip unchanged packages in CI.
  • Build optimization — remote caching (Turborepo/Vercel, Nx Cloud), incremental builds with input/output config, dependency-aware parallel scheduling, and artifact sharing.
  • Publishing — Changesets for coordinated versioning, automated per-package changelogs, pre-release channels, and workspace:* replacement during publish.

When to Use

  • Multiple packages/apps share code (UI components, utils, types, API clients)
  • Build times are slow because everything rebuilds on every change
  • Migrating from multiple repos to a single monorepo
  • Publishing npm packages with coordinated versioning
  • Teams work across packages and need unified tooling

Clarify First

Before analyzing or configuring, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Tooling: Turborepo, Nx, pnpm workspaces, or Changesets (drives the config and commands generated).
  • Task: impact/dependency analysis, build optimization, or publishing setup (selects dependency_graph.py vs impact_detector.py vs package_analyzer.py).
  • Repo root & git ref: the monorepo path and the baseline ref for "affected" detection (sets --ref and what counts as changed).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Tools

ToolPurposeCommand
dependency_graph.pyGenerate a Mermaid dependency graph of internal packagespython scripts/dependency_graph.py . --focus @repo/ui --direction dependents
impact_detector.pyDetect which packages are affected by file changespython scripts/impact_detector.py . --ref origin/main --affected-only
package_analyzer.pyAnalyze package structure, dependencies, and healthpython scripts/package_analyzer.py . --only-shared

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/tooling-and-configuration.md — tool selection decision matrix, recommended repo structure, full turbo.json and pnpm-workspace config, key Turborepo/pnpm commands, impact-analysis commands, remote-caching setup, affected-only CI workflow, Changesets publishing, and multi-repo→monorepo migration steps. Read when configuring or operating a monorepo.
  • references/operations-and-best-practices.md — common pitfalls, best practices, troubleshooting table, and success criteria. Read when something misbehaves or when validating a setup.

Scope & Limitations

This skill covers:

  • Turborepo, Nx, and pnpm workspace configuration and optimization
  • Cross-package dependency analysis and impact visualization
  • Remote caching setup (Vercel, Nx Cloud, self-hosted)
  • Changesets-based coordinated versioning and npm publishing

This skill does NOT cover:

  • Application-level build configuration (webpack, Vite, esbuild internals) — see performance-profiler
  • CI/CD pipeline design beyond monorepo-specific filters — see ci-cd-pipeline-builder
  • Git branching strategies and release flow — see release-manager
  • Dependency vulnerability scanning and license auditing — see dependency-auditor

Integration Points

SkillIntegrationData Flow
ci-cd-pipeline-builderMonorepo-aware CI workflows use --filter flags and remote caching tokensMonorepo Navigator defines filter patterns and cache config that CI pipelines consume
release-managerChangesets versioning feeds into release orchestration and tag managementRelease Manager triggers changeset version and changeset publish as part of release flow
dependency-auditorWorkspace dependency graph informs vulnerability and license scanning scopeMonorepo Navigator exports the package dependency tree that Dependency Auditor analyzes
performance-profilerBuild profiling data identifies slow packages for optimizationPerformance Profiler measures per-package build times surfaced by Turborepo --summarize
changelog-generatorChangesets produce per-package changelogs consumed by release notesChangeset summaries flow into Changelog Generator for formatted release documentation
tech-debt-trackerCross-package coupling and circular dependencies surface as tracked tech debt itemsMonorepo Navigator's impact analysis identifies coupling hotspots that Tech Debt Tracker records

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9702026年10月23日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9702026年10月23日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9702026年10月23日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9702026年10月23日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9702026年10月23日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9702026年10月23日 更新

查看 borghei 的全部技能

报告此技能的问题