Version Bumper
Overview
Automates semantic version bumps across all version-bearing files in a Claude Code plugin. Ensures consistency between plugin.json, marketplace.extended.json, and the generated marketplace.json catalog.
Prerequisites
jqinstalled and available on PATH for JSON manipulation- Read/write access to
.claude-plugin/plugin.jsonand.claude-plugin/marketplace.extended.json pnpm run sync-marketplaceavailable at the repository root- Git installed for optional tag creation
Instructions
- Identify the target plugin directory and read the current version from
.claude-plugin/plugin.jsonusingjq -r '.version'. - Determine the bump type (major, minor, or patch) from the user request. If unspecified, infer from the nature of changes: breaking changes warrant major, new features warrant minor, and fixes warrant patch.
- Parse the current version into its
major.minor.patchcomponents and compute the new version according to semver rules (see