Skip to content
Development
Command

/bump-plugin

Bump changed plugin and marketplace version

From plugin
context-engineering-kit
1.8k1 skill21 agents1 command
> /plugin marketplace add NeoLabHQ/context-engineering-kit

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
@neolabhq
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.

1.8k68 skills21 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.8k
Star history of NeoLabHQ/context-engineering-kit on GitHub, a chart by star-history.com

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command