一键导入
source-command-release
Create a new release with version bump, changelog, and tags
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new release with version bump, changelog, and tags
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | source-command-release |
| description | Create a new release with version bump, changelog, and tags |
Use this skill when the user asks to run the migrated source command release.
When the user invokes this command, create a new release by following these steps:
Ensure you are on the main branch. If not, warn the user and stop — releases should only be cut from main.
git branch --show-current
Determine the current version from git tags:
git describe --tags --abbrev=0
Parse the version number (e.g., v0.1.13 -> 0.1.13).
Use the AskUserQuestion tool to ask the user which version component to bump:
Calculate the new version (e.g., v0.1.14).
Get all commits since the last tag:
git log --oneline $(git describe --tags --abbrev=0)..HEAD
Parse the commit messages to understand what changed.
Read the existing CHANGELOG.md file and:
## [Unreleased] and before the previous version## [X.X.X] - YYYY-MM-DD (use today's date)Focus on user-facing changes. Internal refactoring should be de-emphasized unless it has user-visible benefits.
Stage and commit the changelog update:
git add CHANGELOG.md
git commit -m "Release vX.X.X"
Replace X.X.X with the actual new version number.
Create a new annotated tag for the release:
git tag -a vX.X.X -m "Release vX.X.X"
Push the commit and tags to the remote repository:
# Push the commit
git push
# Push tags
git push --tags
Use gh release create to publish the release on GitHub. Use the same release notes from the CHANGELOG entry as the body:
gh release create vX.X.X --title "vX.X.X" --notes "RELEASE_NOTES_HERE"
Display a summary to the user:
Release v0.1.14 created successfully!
Changes:
- 8 commits since v0.1.13
- CHANGELOG.md updated with release notes
Tags:
- Created tag: v0.1.14
Pushed to remote: origin
GitHub release: https://github.com/bhauman/clojure-mcp/releases/tag/v0.1.14