一键导入
release
Draft a new release by bumping the version and updating the changelog. Use when changes are committed and ready to ship.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Draft a new release by bumping the version and updating the changelog. Use when changes are committed and ready to ship.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | release |
| description | Draft a new release by bumping the version and updating the changelog. Use when changes are committed and ready to ship. |
| disable-model-invocation | true |
| allowed-tools | Bash(git *), Bash(jq *), Read, Edit, Write, AskUserQuestion |
Draft a new release by updating CHANGELOG.md and bumping the version in package.json.
main.CHANGELOG.md and package.json. Do not touch any other files.main. If not, stop and tell the user.git status to check for uncommitted changes. If the work tree is dirty, ask the user to confirm they want to ignore the changes before continuing.git pull to ensure the local branch is up to date with the remote.package.json using jq -r .version package.json.v* sorted by version descending. The latest tag is the current release.git log <latest-tag>..HEAD. Use the full log (not --oneline) so commit bodies are available for writing better descriptions.This project is pre-v1. Apply these rules based on the actual nature of the changes (not just the commit prefix):
BREAKING CHANGERead CHANGELOG.md first, then prepend the new release section. If it does not exist, create it.
The format for each release section:
## vX.Y.Z
### Features
- description (#PR)
### Bug Fixes
- description (commit-hash)
### Improvements
- description (#PR)
Group commits into these categories. Use the conventional commit prefix as a starting point, but recategorise based on the actual change if the prefix is misleading:
Omit any category section that has no entries. Exclude version bump and release commits (e.g. chore: bump version to vX.Y.Z, chore: release vX.Y.Z). Strip the conventional commit prefix from the description — just use the human-readable part. Rephrase descriptions where necessary to be more understandable, capitalised, and properly formatted (e.g. use backticks for command names, file names, and config values).
Reference format: If the commit subject contains a PR number (e.g. (#10)), use that PR number in parentheses (e.g. (#10)). Otherwise, fall back to the short commit hash (7 chars) in parentheses.
The file should have a top-level # Changelog heading, followed by release sections in reverse chronological order (newest first).
Update the "version" field in package.json to the new version string (without the v prefix).
git add.git diff --cached.AskUserQuestion tool to confirm the release, showing the version bump (e.g. 0.2.2 → 0.3.0).chore: release vX.Y.Z and push to main.