بنقرة واحدة
release
Update changelog and version based on git history using semantic versioning and conventional commits
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Update changelog and version based on git history using semantic versioning and conventional commits
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Check a PR for review comments, evaluate them, and address valid ones
Post a written review file to GitHub as a proper PR review
Create a GitHub PR review with inline comments, preview before posting
Review changes or PRs against project guidelines
Execute an implementation plan, making changes and committing properly
Create an implementation plan from PR review feedback
| name | release |
| description | Update changelog and version based on git history using semantic versioning and conventional commits |
| allowed-tools | Bash, Read, Edit, Grep, Glob |
Automatically update CHANGELOG.md and version files based on git history, semantic versioning, and conventional commits.
Read RELEASING.md for the full release process and conventions.
# Get the latest version tag
git describe --tags --abbrev=0
# List all commits since last tag, excluding previous version bump commits
git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges --grep="^chore: Bump version" --invert-grep
Ignore any chore: Bump version to X.Y.Z commits — these are artifacts of previous /release runs that haven't been tagged yet.
Analyze commit types (excluding version bump commits) to determine the correct version bump:
BREAKING CHANGE in footer or ! after type → major bumpfeat: commits → minor bumpfix:, perf:, or other patch-level commits → patch bumpIf there are no user-facing changes (only docs:, refactor:, test:, chore:, ci:, style:), inform the user that there are no releasable changes and ask whether to proceed.
Map commits to changelog sections per RELEASING.md:
| Commit Type | Changelog Section | Include? |
|---|---|---|
feat: | Added | Yes |
fix: | Fixed | Yes |
BREAKING CHANGE | Changed | Yes |
perf: | Changed | Yes |
build: | Changed | Only if user-facing |
docs: | — | No |
refactor: | — | No |
test: | — | No |
chore: | — | No |
ci: | — | No |
style: | — | No |
Write human-readable changelog entries:
CHANGELOG.md[Unreleased] that has no corresponding git tag). This happens when /release was run before but no tag was created yet.
[Unreleased] with today's date.[Unreleased] link to compare new version to HEADUpdate the version string in both files (they must match):
version/version.go — the Version constantcmd/version.go — the Version variablego build -o /tmp/git-flow main.go && /tmp/git-flow version
Stage and commit all changes:
git add CHANGELOG.md version/version.go cmd/version.go
Check if the previous commit is already a chore: Bump version to ... commit (from a prior /release run). If so, amend that commit instead of creating a new one:
# If previous commit is a version bump:
git commit --amend -m "chore: Bump version to X.Y.Z"
# Otherwise create a new commit:
git commit -m "chore: Bump version to X.Y.Z"
Show the user:
git push origin main
git tag vX.Y.Z
git push origin vX.Y.Z