用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tylerbutler/tools-monorepo --skill release-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | release-check |
| description | Validate release readiness - changesets, policy compliance, build, test, and dependency sync |
| disable-model-invocation | true |
Run a comprehensive validation before merging to main or publishing.
Run each step and report results. Stop early if a critical failure is found.
Check branch state
git status
git log --oneline main..HEAD
Verify: clean working tree, commits ahead of main
Verify changesets exist for affected packages
ls .changeset/*.md 2>/dev/null
pnpm nx affected --base=main -t build --dry-run
Cross-reference: every affected non-private package should have a changeset entry. Packages in the changeset ignore list (dill-docs, repopo-docs) can be skipped. Verify bump types make sense (patch for fixes, minor for features, major for breaking).
Policy compliance
./packages/repopo/bin/dev.js check
Must pass with zero violations.
Dependency sync
pnpm syncpack list-mismatches
Must have zero mismatches.
Build all affected packages
pnpm nx affected -t build --base=main
Must succeed with no errors.
Run all affected tests
pnpm nx affected -t test --base=main
Must pass with no failures.
Format and lint check
pnpm nx affected -t check --base=main
pnpm nx affected -t lint --base=main
Must pass with no issues.
Summarize results:
Add a new OCLIF command to a CLI package with proper base class, flags, args, and post-creation steps
Create changesets for pending changes by analyzing git diff and commit history
Audit workspace dependencies for version mismatches, unused packages, and sync issues across all packages