bump-version
Analyzes commit history to suggest and prepare the next SemVer release version.
Install
mkdir -p .claude/skills/bump-version-waldekmastykarz && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10196" && unzip -o skill.zip -d .claude/skills/bump-version-waldekmastykarz && rm skill.zipInstalls to .claude/skills/bump-version-waldekmastykarz
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
This skill should be used when the user asks to "bump the version", "release a new version", "increment version", "update version number", "prepare a release", or mentions anything related to version management and semantic versioning.Key capabilities
- →Analyze git logs for changes
- →Classify changes as major, minor, or patch
- →Propose version increments
- →Execute version bumps
- →Push tags to remote
How it works
It analyzes git history since the last tag to classify changes according to SemVer rules and proposes an increment.
Inputs & outputs
When to use bump-version
- →Increment project version
- →Prepare a new software release
- →Analyze changes for SemVer compliance
- →Check git history for release planning
About this skill
Bump Version
This skill manages semantic versioning for the project by analyzing changes since the last release and proposing an appropriate version bump.
When to Use
Activate when the user requests a version bump or release preparation. The workflow analyzes git history to determine the appropriate SemVer increment (major, minor, or patch).
SemVer Classification
Major (X.0.0)
Breaking changes that require user action:
- Removed or renamed public APIs
- Changed behavior of existing features
- Breaking config file format changes
Minor (0.X.0)
New features that are backward-compatible:
- New exported functions, classes, or types
- New configuration options
- Performance improvements
- Non-breaking dependency updates with new capabilities
Patch (0.0.X)
Bug fixes and minor improvements:
- Bug fixes
- Security patches
- Documentation updates
- Typo fixes
- Dependency updates for security/bugs
Workflow
STOP — Complete all steps in order. Do not skip Step 5 (user confirmation).
Step 1: Find the Latest Version Tag
git describe --tags --abbrev=0
This returns the most recent version tag (e.g., v0.5.2).
Step 2: Get Changes Since Last Tag
git log <tag>..HEAD --oneline
Replace <tag> with the result from Step 1.
Step 3: Get Detailed Diff Summary
git diff <tag>..HEAD --stat
This shows which files changed and how many lines were modified.
Step 4: Classify Changes
Analyze the commit messages and changed files:
-
Review each commit message for keywords:
- Breaking: "BREAKING", "remove", "rename API", "migrate"
- Features: "feat", "add", "new", "implement"
- Fixes: "fix", "bug", "patch", "security"
-
Review changed files:
- src/TokenValidator.ts — Core validation logic (behavior changes = major, fixes = patch)
- src/TokenCacheWrapper.ts — Cache logic (behavior changes = major, fixes = patch)
- src/utils.ts — Utility functions
- src/index.ts — Public API surface (exports changed = major)
- package.json dependency changes require analysis
-
Determine the highest applicable SemVer level:
- Any breaking change → major
- Any new feature (no breaking) → minor
- Only fixes/docs → patch
Step 5: Present Changes and Propose Version (REQUIRED)
STOP — Present findings to user and wait for confirmation before proceeding.
Format the proposal as follows:
## Changes since <current-version>
**Commits:**
- <commit message 1>
- <commit message 2>
- ...
**Files changed:** <count>
**Classification:** <major|minor|patch>
**Proposed version:** <current> → <new>
Confirm to proceed with `npm version <increment>`?
Step 6: Execute Version Bump (After Confirmation Only)
Once the user confirms, run:
npm version <major|minor|patch>
This command:
- Updates package.json version
- Creates a git commit
- Creates a git tag
Step 7: Push Changes and Tag
git push && git push --tags
This pushes both the commit and the new version tag to the remote.
Checklist
Before executing version bump:
- Found latest version tag
- Retrieved all commits since tag
- Analyzed changes for SemVer classification
- Presented summary to user
- Received explicit confirmation
- Ran
npm version <increment> - Pushed commit and tag to remote
When not to use it
- →When the user has not confirmed the version bump
- →When the git history is empty
Prerequisites
Limitations
- →Requires user confirmation before execution
- →Depends on accurate commit messages
How it compares
It provides an evidence-based approach to versioning by analyzing actual commit history rather than relying on manual guesses.
Compared to similar skills
bump-version side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| bump-version (this skill) | 0 | 5mo | Review | Intermediate |
| tmux | 20 | 2mo | Review | Intermediate |
| jira | 11 | 6mo | No flags | Beginner |
| triaging-issues | 5 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
tmux
openclaw
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
jira
davila7
Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.
triaging-issues
pytorch
Triages GitHub issues by routing to oncall teams, applying labels, and closing questions. Use when processing new PyTorch issues or when asked to triage an issue.
file-manager
Xxiii8322766509
文件管理技能。用于创建、移动、复制、删除文件和文件夹,整理目录结构。当用户需要管理文件、整理文件夹或批量处理文件时使用。
openspec-archive-change
studyzy
归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用。
slash-commands
parcadei
Create and use Claude Code slash commands - quick prompts, bash execution, file references