一键导入
bump-version
Bump the server version, commit, push, tag, and create a GitHub release. Use when ready to cut a new release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bump the server version, commit, push, tag, and create a GitHub release. Use when ready to cut a new release.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | bump-version |
| description | Bump the server version, commit, push, tag, and create a GitHub release. Use when ready to cut a new release. |
| argument-hint | [major|minor|patch] |
| allowed-tools | Read, Grep, Edit, Bash(git *), Bash(gh *), Bash(/usr/local/go/bin/go build *) |
Cut a new release: bump version, commit, push, tag, and create a GitHub release.
$ARGUMENTS is the bump type: major, minor, or patch (default: patch).
main.git fetch origin && git rev-list HEAD..origin/main --count should be 0).Find the current version in main.go:
grep -n 'NewMCPServer' main.go
The version string is the second argument to server.NewMCPServer(...), e.g. "1.1.0".
Parse as MAJOR.MINOR.PATCH and bump according to $ARGUMENTS:
major → increment MAJOR, reset MINOR and PATCH to 0minor → increment MINOR, reset PATCH to 0patch (default) → increment PATCHShow the user: Bumping v{old} → v{new}. Proceed? Wait for confirmation.
main.go./usr/local/go/bin/go build ./... to verify.Find the previous version tag:
git describe --tags --abbrev=0
Collect commits since that tag:
git log {previous_tag}..HEAD --oneline
Group changes into categories by reading commit messages and the actual diffs:
Write concise, user-facing descriptions (not raw commit messages). Skip internal commits (plan docs, design docs, worktree cleanup).
Show the draft release notes to the user for approval.
After user approves the release notes:
git add main.go
git commit -m "Bump version to v{new}"
git push origin main
git tag v{new}
git push origin v{new}
gh release create v{new} --title "v{new}" --notes "{release_notes}"
Print the release URL returned by gh release create.