基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/openclaw/clawpatch --skill release-clawpatch命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | release-clawpatch |
| description | clawpatch release: version/changelog, CI, npm publish, GitHub release, verify. |
Release ~/Projects/clawpatch as the public npm package clawpatch.
Use $npm and $one-password rules for registry auth. Keep all op and npm secret work inside one persistent tmux session and temp npmrc. Never print tokens, passwords, or OTPs.
Start clean on main.
cd ~/Projects/clawpatchgit status --short --branchgit pull --ff-onlygit tag --list "vX.Y.Z" and gh release view vX.Y.Z --repo openclaw/clawpatch.npm view clawpatch version dist-tags time --json.Prep release files.
package.json version to target.Unreleased to X.Y.Z - YYYY-MM-DD.pnpm install --lockfile-only; commit lockfile only if it actually changes.Prove locally before publishing.
pnpm typecheck && pnpm lint && pnpm format:check && pnpm test && pnpm build && pnpm pack:smoke.Commit and push release prep.
committer "chore(release): X.Y.Z" CHANGELOG.md package.json [pnpm-lock.yaml].git push origin main.gh run list --repo openclaw/clawpatch --branch main --commit <sha> --json databaseId,workflowName,status,conclusion,url,headShagh run view <run_id> --repo openclaw/clawpatch --json status,conclusion,url,jobsPublish npm.
npm whoami; if unauthenticated, use npm web login in the tmux session:
NPM_CONFIG_USERCONFIG="$tmp_npmrc" npm login --auth-type=web --registry=https://registry.npmjs.org/npmjs 1Password item inside the same tmux session.NPM_CONFIG_USERCONFIG="$tmp_npmrc" npm publish --access public --otp "$NPM_OTP".Verify npm before GitHub release.
npm view clawpatch@X.Y.Z version dist-tags dist.tarball dist.integrity time --jsonX.Y.Z, latest points to X.Y.Z, tarball URL exists, integrity exists, publish time exists.Tag and create GitHub release.
git tag -a vX.Y.Z <release_sha> -m "vX.Y.Z"git push origin vX.Y.Zgh release create vX.Y.Z --repo openclaw/clawpatch --title "vX.Y.Z" --notes-file "$notes"Release verify.
npm view clawpatch@X.Y.Z version dist-tags.latest dist.tarball dist.integrity time.X.Y.Z --jsongh release view vX.Y.Z --repo openclaw/clawpatch --json tagName,url,body,isDraft,isPrereleasegit rev-list -n1 vX.Y.Z.Post-release closeout.
CHANGELOG.md: ## X.Y.(Z+1) - Unreleased.committer "docs(changelog): open X.Y.(Z+1)" CHANGELOG.md.main.git checkout main && git pull --ff-only && git status --short --branch.npmjs fields only.gh comments/releases should use temp --body-file / --notes-file, not inline quoted bodies.