Bump Version
Description
Automate the AionUi version bump workflow: update version, install, branch, commit, push, and create PR.
Installation
claude install-skill https://github.com/iOfficeAI/AionUi README
Bump Version
Automate the AionUi version bump workflow: update version, install, branch, commit, push, and create PR.
Usage
/bump-version [version]
- undefined
Steps
Step 1 — Pre-flight Checks
Run these commands and verify both conditions. If either fails, **stop immediately**.
git branch --show-current
git status --short
- undefined
Step 2 — Pull Latest Code
git pull --rebase origin main
- undefined
Step 3 — Read Current Version
Read `package.json` and extract the `version` field value (e.g. `"1.8.16"`).
Step 4 — Determine Target Version
- undefined
Display: "Bumping version: {current} → {target}"
Step 5 — Update package.json
Use the Edit tool to replace the `version` field in `package.json`:
- undefined
Step 6 — Run Quality Checks
bun run lint
bun run format
bunx tsc --noEmit
- undefined
Step 7 — Run Tests
bunx vitest run
- undefined
Step 8 — Create Branch
git checkout -b chore/bump-version-{target}
Step 9 — Commit
git add -A
git commit -m "chore: bump version to {target}"
Step 10 — Push
git push -u origin chore/bump-version-{target}
Step 11 — Create PR
gh pr create --base main --title "chore: bump version to {target}" --body "Bump version to {target}"
Display the PR URL to the user when done.
Step 12 — Wait for PR to be Merged
Display: "PR created: {URL}. Please notify a team member to merge it, then continue with the following steps."
Pause here and wait for the user to confirm the PR has been merged before proceeding.
Step 13 — Switch Back to main and Pull Latest
git checkout main
git pull --rebase origin main
Step 14 — Delete Local Branch
git branch -d chore/bump-version-{target}
Step 15 — Delete Remote Branch (if not auto-deleted by GitHub)
Check whether the remote branch
Related Skills
使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git community Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills)
Git community #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git community GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git community GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git community mcp-server-github
GitHub API integration for repos, issues, PRs.
Git community