$npx -y skills add vinta/hal-9000 --skill bump-plugin-version(project) Use when editing any file under skills/hal-skills/ or plugins/hal-voice/ to bump the plugin version before committing
| 1 | # Bump Plugin Version |
| 2 | |
| 3 | After editing files under `skills/hal-skills/` or `plugins/hal-voice/`, bump the plugin's `version` field in `.claude-plugin/marketplace.json` (the repo-root marketplace manifest). It is the single source of versions: each plugin is an entry in its `plugins` array, and there are no per-plugin `plugin.json` files. |
| 4 | |
| 5 | - **Patch** (0.2.0 -> 0.2.1): bug fixes, config changes, style cleanup |
| 6 | - **Minor** (0.2.0 -> 0.3.0): new features, new hooks, new commands |
| 7 | - **Major** (0.2.0 -> 1.0.0): breaking changes to hook behavior or config format |
| 8 | |
| 9 | ## Before bumping |
| 10 | |
| 11 | Compare the working-tree version against the version on `origin/main`: |
| 12 | |
| 13 | ```bash |
| 14 | git show origin/main:.claude-plugin/marketplace.json |
| 15 | ``` |
| 16 | |
| 17 | If the plugin's version already differs from `origin/main`, it was already bumped for unreleased work. **Do not bump again.** Only bump when the working-tree version matches `origin/main`. |
| 18 | |
| 19 | If both plugins changed, check each independently. |