Skillshub version-bumper
install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/jeremylongshore/claude-code-plugins-plus-skills/version-bumper" ~/.claude/skills/comeonoliver-skillshub-version-bumper && rm -rf "$T"
manifest:
skills/jeremylongshore/claude-code-plugins-plus-skills/version-bumper/SKILL.mdsource content
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
installed and available on PATH for JSON manipulationjq- Read/write access to
and.claude-plugin/plugin.json.claude-plugin/marketplace.extended.json
available at the repository rootpnpm run sync-marketplace- Git installed for optional tag creation
Instructions
- Identify the target plugin directory and read the current version from
using.claude-plugin/plugin.json
.jq -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
components and compute the new version according to semver rules (seemajor.minor.patch
).${CLAUDE_SKILL_DIR}/references/version-bump-process.md - Update the
field in"version"
with the new version string..claude-plugin/plugin.json - Locate the plugin entry in
and update its.claude-plugin/marketplace.extended.json
field to match (see"version"
).${CLAUDE_SKILL_DIR}/references/update-locations.md - Run
at the repository root to regeneratepnpm run sync-marketplace
.marketplace.json - Verify version consistency across all three files by reading each and confirming the version strings match.
- Optionally create a git tag (
) and prepare a commit message following thegit tag -a "v<new_version>" -m "Release v<new_version>"
convention (seechore: Release v<version>
).${CLAUDE_SKILL_DIR}/references/release-workflow.md
Output
A version bump execution summary containing:
- The computed transition (
toold_version
)new_version - The exact files updated:
,.claude-plugin/plugin.json
, and regenerated.claude-plugin/marketplace.extended.json.claude-plugin/marketplace.json - Validation confirmation that all files carry the same version
- Suggested next commands (
,git add
,git commit
, validation scripts)git tag
Error Handling
| Error | Cause | Solution |
|---|---|---|
| not installed | Install via or |
| Version format invalid | Non-semver string in plugin.json | Correct to format before bumping |
| Plugin not found in marketplace | Missing catalog entry | Add the plugin to first |
| Sync marketplace failure | Schema mismatch or missing fields | Run on both JSON files to locate syntax errors |
| Version mismatch after sync | did not pick up changes | Verify the plugin name in matches exactly |
Examples
Patch bump for a specific plugin: Trigger: "Bump the security-scanner plugin to patch version" Process: Read current version 1.2.3, compute 1.2.4, update
plugin.json and marketplace.extended.json, run sync, verify consistency, report success.
Explicit major release: Trigger: "Release version 2.0.0 of plugin-name" Process: Set version to 2.0.0 in all files, sync marketplace, create git tag
v2.0.0, prepare commit with chore: Release v2.0.0.
Feature-based minor bump: Trigger: "Increment version for new feature" Process: Detect minor bump, compute 1.2.3 to 1.3.0, update all version locations, sync, validate, report completion.
Resources
-- step-by-step bump algorithm${CLAUDE_SKILL_DIR}/references/version-bump-process.md
-- all files requiring version updates${CLAUDE_SKILL_DIR}/references/update-locations.md
-- full release process including git tags${CLAUDE_SKILL_DIR}/references/release-workflow.md
-- additional usage scenarios${CLAUDE_SKILL_DIR}/references/examples.md- Semantic Versioning specification