用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/arbazkhan971/godmode --skill monorepo命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Turn on Godmode. 135 skills, 7 subagents, zero configuration. Routes to the right skill automatically.
Backup and disaster recovery. backup strategy, disaster recovery, RPO/RTO, data integrity, durability, runbook.
Changelog and release notes management. Keep a Changelog format, Conventional Commits auto-generation, breaking change communication, migration guides, audience-specific notes.
基于 SOC 职业分类
正在显示 SKILL.md
| name | monorepo |
| description | Monorepo architecture and management -- Turborepo, Nx, Lerna, Bazel, boundaries, caching. |
/godmode:monorepo, "monorepo", "workspace setup"ls turbo.json nx.json lerna.json \
pnpm-workspace.yaml 2>/dev/null
find . -name "package.json" -maxdepth 3 | wc -l
Packages: <N> | Languages: <list>
Build tool: <current|none>
Package manager: <npm|pnpm|yarn|bun>
CI time: <N min> full / <N min> affected
Boundary violations: <N> | Circular deps: <N>
Turborepo: zero-config caching, simple. JS/TS.
Learning: LOW.
Nx: rich plugins, codegen, dep graph UI.
Enterprise, large. Learning: MEDIUM.
Lerna: publishing workflow, changelogs.
npm package authors. Learning: LOW.
Bazel: language-agnostic, hermetic.
Google-scale. Learning: HIGH.
Rush: strict dep management, phantom prevention.
Learning: MEDIUM-HIGH.
IF multi-language: Bazel or Nx custom executors. IF prefer minimal config: Turborepo + pnpm. IF publishing npm packages: Lerna + pnpm.
<repo>/
apps/ # Deployable applications
packages/ # Shared libraries
tools/ # Build tools, scripts
package.json, turbo.json/nx.json
Naming: @<org>/<package>, lowercase kebab-case.
Apps: "private": true. Packages: publishable.
npx turbo run build --filter=...[origin/main]
npx nx affected --target=build --base=origin/main
Remote caching: Turborepo (Vercel) or Nx Cloud. Impact: 15-min build -> 30 seconds with cache hit.
Visualize: turbo run build --graph or npx nx graph.
Fix: circular deps -> extract shared package.
Hub packages (>5 dependents) -> split.
Orphan packages (0 dependents) -> remove.
Deep chains (4+ levels) -> flatten.
Centralize in packages/config/: TypeScript base,
ESLint, Prettier. All packages extend shared config.
Append .godmode/monorepo-results.tsv:
timestamp action packages boundary_violations ci_time_min status
KEEP if: build passes AND violations = 0
AND circular deps = 0.
DISCARD if: build fails OR new violation
OR new circular dep.
STOP when ALL of:
- Orchestrator configured
- Zero violations and circular deps
- Remote caching enabled
- Selective builds in CI
- Affected-only CI < 3 min
On failure: git reset --hard HEAD~1. Never pause.
| Failure | Action |
|---|---|
| Circular dep | Extract shared into new package |
| CI too slow | Verify selective builds, check cache |
| Boundary violation | Extract to packages/ library |
| New package fails | Verify workspace config, install |