一键导入
sync-versions
Audit all package.json files in the monorepo for version consistency — checks peer dependencies, internal references, and shared devDependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit all package.json files in the monorepo for version consistency — checks peer dependencies, internal references, and shared devDependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | sync-versions |
| description | Audit all package.json files in the monorepo for version consistency — checks peer dependencies, internal references, and shared devDependencies. |
| disable-model-invocation | true |
| allowed-tools | Read, Bash |
Audit all package.json files in the monorepo for version consistency.
Internal peer dependencies: For each package that has @flareapp/* peer dependencies, verify the version range covers the actual current version of that package. For example, if @flareapp/react has "@flareapp/js": "^1.0.0" as a peer dep, and @flareapp/js is at version 1.1.0, that's fine. But if @flareapp/js is at 2.0.0, flag it.
Internal devDependencies: All packages should use file:../ references for local packages (not published versions).
Shared devDependencies: Check that typescript and tsdown versions are the same across all packages that use them.
Monorepo table in CLAUDE.md: Check if the version numbers listed in the CLAUDE.md monorepo structure table match the actual versions in each package.json.
Show a concise report:
@flareapp/js 1.1.0 OK
@flareapp/react 1.0.1 OK
@flareapp/vue 1.0.1 WARNING: tsdown version differs from root (...)
@flareapp/vite 1.0.3 OK
CLAUDE.md versions: all match / X mismatches found
If issues are found, suggest the fix but don't apply it — let the user decide.