From sd0x-dev-flow
Synchronizes version numbers across package.json, .claude-plugin/plugin.json, and install-state manifest. Supports explicit version, major, minor, or patch bumps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sd0x-dev-flow:bump-versionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Update `package.json`, `.claude-plugin/plugin.json`, and `.sd0x/install-state.json` versions in sync.
Update package.json, .claude-plugin/plugin.json, and .sd0x/install-state.json versions in sync.
grep '"version"' package.json .claude-plugin/plugin.json
Also check manifest:
grep '"plugin_version"' .sd0x/install-state.json 2>/dev/null || echo "(no manifest)"
If versions are already out of sync, warn user before proceeding.
| Input | Action |
|---|---|
Explicit version (e.g., 1.9.0) | Use as-is |
major | Bump major: 1.8.1 → 2.0.0 |
minor | Bump minor: 1.8.1 → 1.9.0 |
patch (default) | Bump patch: 1.8.1 → 1.8.2 |
| No argument | Default to patch |
Use Edit tool to update version fields:
package.json — "version" field.claude-plugin/plugin.json — "version" field.sd0x/install-state.json — "plugin_version" field (if file exists)All must be set to the exact same version string.
The manifest update prevents the SessionStart drift sentinel from firing false warnings after every version bump in the plugin source repo.
## Version Bump
| File | Field | Before | After |
|------|-------|--------|-------|
| package.json | version | x.y.z | a.b.c |
| .claude-plugin/plugin.json | version | x.y.z | a.b.c |
| .sd0x/install-state.json | plugin_version | x.y.z | a.b.c |
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowAutomates semantic version bumps across plugin.json, marketplace.extended.json, and marketplace.json in Claude Code plugins. Triggers on mentions of version bump, update version, or release for consistency.
Bumps semantic version across three Claude plugin config files: plugin.json, marketplace.json, and arc-probe/plugin.json. Ensures version consistency before releases without committing.
Bumps semantic versions (major/minor/patch) for Claude Code plugins, updates plugin.json and marketplace.json, creates git commit and tag. Use after features, bug fixes, or breaking changes.