원클릭으로
release
Generate changelog and bump version. Use when the user invokes /release.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate changelog and bump version. Use when the user invokes /release.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | release |
| description | Generate changelog and bump version. Use when the user invokes /release. |
| disable-model-invocation | true |
| argument-hint | <patch|minor|major> |
| allowed-tools | Bash Read Write Edit Grep Glob AskUserQuestion |
Generate a changelog entry and run npm version to bump the version.
Current version: !node -p "require('./package.json').version"
Commits since last tag:
!git log --oneline $(git describe --tags --abbrev=0)..HEAD
Current CHANGELOG.md:
!cat CHANGELOG.md 2>/dev/null || echo "(empty)"
Update flake.nix outputHash so the nix-build job doesn't fail on a stale hash, then run CI locally. Chained in one block so act cannot snapshot the working tree mid-refresh (when flake.nix briefly holds the AAAA placeholder). The version hook re-runs the hash script later; it's idempotent. If CI fails, stop and report the error.
!./scripts/update-nix-hash.sh && act push -W .github/workflows/ci.yml 2>&1 | tail -20
Determine bump level: If $ARGUMENTS is one of patch, minor, major, use it. Otherwise, deduce the level from the commits since the last tag and confirm with the user using AskUserQuestion.
Compute new version: Based on the current version and $ARGUMENTS, determine the new version number.
Write changelog entry: Update CHANGELOG.md with a new section for the new version. Follow the Keep a Changelog format with these categories (only include categories that apply):
Guidelines:
# Changelog headingUpdate README: Review the changelog entry you just wrote and check whether README.md needs updates (e.g. new features, keybindings, config options, CLI flags). If so, update the relevant sections. If the release is only bug fixes or performance improvements, skip this step.
Bump version: Run npm version $ARGUMENTS --force. This triggers the version hook which updates the Nix flake hash and stages flake.nix and CHANGELOG.md automatically.