一键导入
release
Generate changelog from commits since last tag and release new version. Use when user wants to release a new version or update changelog.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate changelog from commits since last tag and release new version. Use when user wants to release a new version or update changelog.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | release |
| description | Generate changelog from commits since last tag and release new version. Use when user wants to release a new version or update changelog. |
Get the latest tag:
git tag --list --sort=-version:refname | head -1
Get commits since last tag:
git log <latest-tag>..HEAD --oneline
Calculate next version based on latest tag:
Show suggested version to user, allow modification before proceeding
Categorize commits by type:
feat: → New Features / 新功能fix: → Bug Fixes / 问题修复Update CHANGELOG.md (insert new version entry after # Changelog heading):
## vX.Y.Z followed by **New Features / 新功能** and **Bug Fixes / 问题修复** sections- English description / 中文描述(Conditional) If this release includes significant new features or major changes, update the feature descriptions in both README files:
Commit changelog changes (required before release:prepare):
# If README files were updated:
git add CHANGELOG.md README.md README_EN.md
# Otherwise:
git add CHANGELOG.md
git commit -m "docs: update changelog for <version>"
Run release workflow:
npm run release:prepare <version>
Execute git commands to complete release:
git add .
git commit -m "chore: release <version>"
git tag <version>
git push origin main --tags