// This skill automates version bumping during the release process for the Claude Code Handbook monorepo. It should be used when the user requests to bump versions, prepare a release, or increment version numbers across the repository.
| name | version-bump |
| description | This skill automates version bumping during the release process for the Claude Code Handbook monorepo. It should be used when the user requests to bump versions, prepare a release, or increment version numbers across the repository. |
This skill automates the version management process for the Claude Code Handbook monorepo, ensuring consistent version updates across all plugin files and the marketplace manifest.
Trigger this skill when users mention:
The monorepo maintains versions across multiple locations that must stay synchronized:
.claude-plugin/marketplace.json - Marketplace metadata version.claude-plugin/marketplace.json - Plugin entries (currently 3 plugins)plugins/handbook/.claude-plugin/plugin.jsonplugins/handbook-extras/.claude-plugin/plugin.jsonplugins/handbook-dotnet/.claude-plugin/plugin.jsonThe skill automatically discovers all plugins from the marketplace manifest and updates them dynamically, ensuring all locations are updated atomically and remain consistent.
Before proceeding with any version bump:
Check for uncommitted changes in the working directory using git status
Validate current version consistency by running the validation check:
python .claude/skills/version-bump/scripts/bump_version.py patch --dry-run
(Note: The script doesn't actually support --dry-run flag, so skip this and proceed directly to asking the user)
If versions are inconsistent, report the discrepancy to the user and ask whether to proceed
Ask the user which type of version bump to perform using semantic versioning:
Use clear language: "Which version component should be bumped: major, minor, or patch?"
Before executing the version bump, collect information for the CHANGELOG.md update:
Keep the summary concise but informative.
Run the bundled Python script to update all version references:
python .claude/skills/version-bump/scripts/bump_version.py <bump_type>
Replace <bump_type> with the user's selection (major, minor, or patch).
The script will:
After the script succeeds, update the CHANGELOG.md file:
## [X.Y.Z] - YYYY-MM-DD
### Added
- List of new features
### Changed
- List of changes to existing functionality
### Fixed
- List of bug fixes
After successful completion:
Display a summary showing:
Provide next steps for the user:
Version bump completed successfully!
Changes made:
- .claude-plugin/marketplace.json
- plugins/handbook/.claude-plugin/plugin.json
- plugins/handbook-extras/.claude-plugin/plugin.json
- plugins/handbook-dotnet/.claude-plugin/plugin.json
- CHANGELOG.md
Next steps:
1. Review changes: git diff
2. Commit changes: git add . && git commit -m "chore: bump version to X.Y.Z"
3. Create git tag (optional): git tag vX.Y.Z
4. Push changes: git push && git push --tags
Handle common error scenarios:
scripts/bump_version.py: Python script that performs atomic version updates across all files with validation and consistency checksUser: "Bump the version for a patch release"
Claude: "I'll help you bump the version for a patch release. First, let me check the current version state..."
[Runs validation]
Claude: "Current version is 1.0.0. What changes should I include in the CHANGELOG for this patch release?"
User: "Fixed bug in commit command and updated documentation"
Claude: "Perfect. I'll now bump the patch version to 1.0.1 and update the changelog."
[Executes bump_version.py patch]
[Updates CHANGELOG.md]
Claude: "Version bump completed successfully!
- Old version: 1.0.0
- New version: 1.0.1
Files updated:
- .claude-plugin/marketplace.json
- plugins/handbook/.claude-plugin/plugin.json
- plugins/handbook-extras/.claude-plugin/plugin.json
- plugins/handbook-dotnet/.claude-plugin/plugin.json
- CHANGELOG.md
Next steps:
1. Review changes: git diff
2. Commit: git add . && git commit -m 'chore: bump version to 1.0.1'
3. Tag (optional): git tag v1.0.1"
User: "I want to release a new minor version with the new agents I added"
Claude: "I'll help you prepare a minor version release. Let me validate the current version state first..."
[Runs validation]
Claude: "Current version is 1.0.1. What new features and changes should I include in the CHANGELOG?"
User: "Added two new agents: root-cause-analyst and refactoring-expert. Updated documentation for all agents."
Claude: "Great! I'll bump the minor version to 1.1.0 and update the changelog accordingly."
[Executes bump_version.py minor]
[Updates CHANGELOG.md with Added and Changed sections]
Claude: "Minor version release prepared successfully!
- Old version: 1.0.1
- New version: 1.1.0
Next steps:
1. Review changes: git diff
2. Commit and tag for release
3. Push to trigger deployment"