version-bump
Manage semantic version updates for rad-mem project. Handles patch, minor, and major version increments following semantic versioning. Updates package.json, marketplace.json, plugin.json, and CLAUDE.md version number (NOT version history). Creates git tags and GitHub releases. Auto-generates CHANGELOG.md from releases.
When & Why to Use This Skill
This Claude skill automates the semantic versioning and release management workflow for software projects. It ensures absolute consistency by simultaneously updating version numbers across multiple configuration files, managing Git tags, and orchestrating GitHub releases. By automating the generation of CHANGELOG.md and enforcing SemVer rules, it eliminates manual errors and streamlines the transition from development to production.
Use Cases
- Automated Version Synchronization: Update version strings across package.json, marketplace manifests, and project documentation simultaneously to prevent version mismatch errors.
- Standardized Release Workflow: Execute a complete release cycle including version bumping, Git tagging, and GitHub release creation with a single agentic command.
- Changelog Automation: Automatically generate and maintain a CHANGELOG.md based on GitHub releases to keep users and contributors informed of project evolution.
- SemVer Compliance: Use guided prompts to determine whether a change warrants a PATCH, MINOR, or MAJOR update, ensuring the project follows industry-standard versioning logic.
| name | version-bump |
|---|---|
| description | Manage semantic version updates for rad-mem project. Handles patch, minor, and major version increments following semantic versioning. Updates package.json, marketplace.json, plugin.json, and CLAUDE.md version number (NOT version history). Creates git tags and GitHub releases. Auto-generates CHANGELOG.md from releases. |
Version Bump Skill
Manage semantic versioning across the rad-mem project with consistent updates to all version-tracked files.
Quick Reference
Files requiring updates (ALL FOUR):
package.json(line 3).claude-plugin/marketplace.json(line 13)plugin/.claude-plugin/plugin.json(line 3)CLAUDE.md(line 9 ONLY - version number, NOT version history)
Semantic versioning:
- PATCH (x.y.Z): Bugfixes only
- MINOR (x.Y.0): New features, backward compatible
- MAJOR (X.0.0): Breaking changes
Quick Decision Guide
What changed?
- "Fixed a bug" → PATCH (5.3.0 → 5.3.1)
- "Added new feature" → MINOR (5.3.0 → 5.4.0)
- "Breaking change" → MAJOR (5.3.0 → 6.0.0)
If unclear, ASK THE USER explicitly.
Standard Workflow
See operations/workflow.md for detailed step-by-step process.
Quick version:
- Determine version type (PATCH/MINOR/MAJOR)
- Calculate new version from current
- Preview changes to user
- Update ALL FOUR files
- Verify consistency
- Build and test
- Commit and create git tag
- Push and create GitHub release
- Generate CHANGELOG.md from releases and commit
Common Scenarios
See operations/scenarios.md for examples:
- Bug fix releases
- New feature releases
- Breaking change releases
Critical Rules
ALWAYS:
- Update ALL FOUR files with matching version numbers
- Create git tag with format
vX.Y.Z - Create GitHub release from the tag
- Generate CHANGELOG.md from releases after creating release
- Ask user if version type is unclear
NEVER:
- Update only one, two, or three files
- Skip the verification step
- Forget to create git tag or GitHub release
- Add version history entries to CLAUDE.md (that's managed separately)
Verification Checklist
Before considering the task complete:
- All FOUR files have matching version numbers
-
npm run buildsucceeds - Git commit created with all version files
- Git tag created (format: vX.Y.Z)
- Commit and tags pushed to remote
- GitHub release created from the tag
- CHANGELOG.md generated and committed
- CLAUDE.md: ONLY line 9 updated (version number), NOT version history
Reference Commands
# View current version
grep '"version"' package.json
# Verify consistency across all version files
grep '"version"' package.json .claude-plugin/marketplace.json plugin/.claude-plugin/plugin.json
# View git tags
git tag -l -n1
# Check what will be committed
git status
git diff package.json .claude-plugin/marketplace.json plugin/.claude-plugin/plugin.json CLAUDE.md
For more commands, see operations/reference.md.