Skip to content
Development
Command

/bump-plugin

Bump changed plugin and marketplace version

From plugin
context-engineering-kit
1.3k1 skill23 agents1 command
Install
> /plugin marketplace add NeoLabHQ/context-engineering-kit

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/bump-plugin

Context preview

What this command does when you run it.

Bump changed plugin and marketplace version

Command definition

bump-plugin.md
description: Bump changed plugin and marketplace version
argument-hint: minor|major|patch (version increment type)
allowed-tools: Bash(just set-version*), Bash(just set-marketplace-version*), Bash(git diff:*), Bash(git status:*)

Bump Plugin Version

If not instructions from user provided, detect changed plugins and bump their versions along with the marketplace version.

Current State

  • Git status: `git status --short`
  • Changed files in plugins: `git diff --name-only HEAD | grep "^plugins/" | cut -d'/' -f2 | sort -u`

Instructions

1. **Parse the argument**: `$ARGUMENTS` should be one of: `minor`, `major`, or `patch`

  • If no argument provided or invalid, ask the user to specify: minor, major, or patch

2. **Identify changed plugins** from the git diff output above

  • Look for changes in `plugins/<plugin-name>/` directories
  • Extract unique plugin names

3. **For each changed plugin**:

  • Read current version from `plugins/<plugin-name>/.claude-plugin/plugin.json`
  • Calculate new version based on increment type:
  • `patch`: 1.0.0 → 1.0.1
  • `minor`: 1.0.0 → 1.1.0
  • `major`: 1.0.0 → 2.0.0
  • Run: `just set-version <name> <new-version>`

4. **Bump marketplace version** using the same increment type:

  • Read current version from `.claude-plugin/marketplace.json`
  • Calculate new version
  • Run: `just set-marketplace-version <new-version>`

5. **Report** what was bumped:

  • List each plugin with old → new version
  • Show marketplace old → new version
Read more
Ships withcontext-engineering-kit

A hand-crafted collection of advanced context engineering techniques and patterns with minimal token footprint, focused on improving agent result quality and predictability.

Get the whole plugin