version-bumper

Execute automatically handles semantic version updates across plugin.json and marketplace catalog when user mentions version bump, update version, or release. ensures version consistency in AI assistant-code-plugins repository. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

25 stars

Best use case

version-bumper is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Execute automatically handles semantic version updates across plugin.json and marketplace catalog when user mentions version bump, update version, or release. ensures version consistency in AI assistant-code-plugins repository. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

Teams using version-bumper should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/version-bumper/SKILL.md --create-dirs "https://raw.githubusercontent.com/ComeOnOliver/skillshub/main/skills/jeremylongshore/claude-code-plugins-plus-skills/version-bumper/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/version-bumper/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How version-bumper Compares

Feature / Agentversion-bumperStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Execute automatically handles semantic version updates across plugin.json and marketplace catalog when user mentions version bump, update version, or release. ensures version consistency in AI assistant-code-plugins repository. Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

- `jq` installed and available on PATH for JSON manipulation
- Read/write access to `.claude-plugin/plugin.json` and `.claude-plugin/marketplace.extended.json`
- `pnpm run sync-marketplace` available at the repository root
- Git installed for optional tag creation

## Instructions

1. Identify the target plugin directory and read the current version from `.claude-plugin/plugin.json` using `jq -r '.version'`.
2. 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.
3. Parse the current version into its `major.minor.patch` components and compute the new version according to semver rules (see `${CLAUDE_SKILL_DIR}/references/version-bump-process.md`).
4. Update the `"version"` field in `.claude-plugin/plugin.json` with the new version string.
5. Locate the plugin entry in `.claude-plugin/marketplace.extended.json` and update its `"version"` field to match (see `${CLAUDE_SKILL_DIR}/references/update-locations.md`).
6. Run `pnpm run sync-marketplace` at the repository root to regenerate `marketplace.json`.
7. Verify version consistency across all three files by reading each and confirming the version strings match.
8. Optionally create a git tag (`git tag -a "v<new_version>" -m "Release v<new_version>"`) and prepare a commit message following the `chore: Release v<version>` convention (see `${CLAUDE_SKILL_DIR}/references/release-workflow.md`).

## Output

A version bump execution summary containing:
- The computed transition (`old_version` to `new_version`)
- The exact files updated: `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.extended.json`, and regenerated `.claude-plugin/marketplace.json`
- Validation confirmation that all files carry the same version
- Suggested next commands (`git add`, `git commit`, `git tag`, validation scripts)

## Error Handling

| Error | Cause | Solution |
|---|---|---|
| `jq: command not found` | `jq` not installed | Install via `apt install jq` or `brew install jq` |
| Version format invalid | Non-semver string in plugin.json | Correct to `x.y.z` format before bumping |
| Plugin not found in marketplace | Missing catalog entry | Add the plugin to `marketplace.extended.json` first |
| Sync marketplace failure | Schema mismatch or missing fields | Run `jq empty` on both JSON files to locate syntax errors |
| Version mismatch after sync | `sync-marketplace` did not pick up changes | Verify the plugin name in `marketplace.extended.json` matches `plugin.json` 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

- `${CLAUDE_SKILL_DIR}/references/version-bump-process.md` -- step-by-step bump algorithm
- `${CLAUDE_SKILL_DIR}/references/update-locations.md` -- all files requiring version updates
- `${CLAUDE_SKILL_DIR}/references/release-workflow.md` -- full release process including git tags
- `${CLAUDE_SKILL_DIR}/references/examples.md` -- additional usage scenarios
- [Semantic Versioning specification](https://semver.org/)

Related Skills

versioning-strategy-helper

25
from ComeOnOliver/skillshub

Versioning Strategy Helper - Auto-activating skill for API Development. Triggers on: versioning strategy helper, versioning strategy helper Part of the API Development skill category.

versioning-apis

25
from ComeOnOliver/skillshub

Implement API versioning with backward compatibility, deprecation notices, and migration paths. Use when managing API versions and backward compatibility. Trigger with phrases like "version the API", "manage API versions", or "handle API versioning".

tracking-model-versions

25
from ComeOnOliver/skillshub

Build this skill enables AI assistant to track and manage ai/ml model versions using the model-versioning-tracker plugin. it should be used when the user asks to manage model versions, track model lineage, log model performance, or implement version control f... Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

model-versioning-manager

25
from ComeOnOliver/skillshub

Model Versioning Manager - Auto-activating skill for ML Deployment. Triggers on: model versioning manager, model versioning manager Part of the ML Deployment skill category.

version-planner

25
from ComeOnOliver/skillshub

帮助用户把产品需求拆解成渐进式版本规划。当用户说"拆版本"、"版本规划"、"MVP怎么做"、"分阶段实现"时触发。

error-conversion-guide

25
from ComeOnOliver/skillshub

Guides users on error conversion patterns, From trait implementations, and the ? operator. Activates when users need to convert between error types or handle multiple error types in a function.

conversion-copywriting

25
from ComeOnOliver/skillshub

Generate conversion-optimized page copy using VOC research, competitor insights, and proven structures. Use when creating or revising landing pages, service pages, or marketing content.

releasing-versions

25
from ComeOnOliver/skillshub

Manages release preparation including validation, version bumping, documentation verification, and security checks.

Schema Versioning

25
from ComeOnOliver/skillshub

## Overview

DVC (Data Version Control)

25
from ComeOnOliver/skillshub

## Installation

API Versioning

25
from ComeOnOliver/skillshub

## Overview

MarkItDown - File to Markdown Conversion

25
from ComeOnOliver/skillshub

## Overview