Bump the knowledge-distillery plugin version with changelog update. Use when user asks to bump, version up, or release.
Bump the knowledge-distillery plugin version: analyze changes, suggest semver level, get user confirmation, update files, commit, and push.
plugins/knowledge-distillery/.claude-plugin/plugin.json → "version" fieldCHANGELOG.md → prepend new entry at top (after header)Run two separate Bash calls (no command substitution — Claude Code blocks $(...) patterns):
# Call 1: Find the last bump commit SHA
git log --oneline --grep="bump version" -1 --format="%H"
Read the SHA from the output, then use it in a second call:
# Call 2: Show commits since the last bump (replace <SHA> with output from Call 1)
git log --oneline <SHA>..HEAD
Based on the commits, suggest one of:
Present the suggestion with rationale, then ask the user to choose:
[In user's language]
Changes since last bump:
- [commit summary 1]
- [commit summary 2]
Suggested: patch (reason)
Which level?
- [1] patch
- [2] minor
- [3] major
Read current version from plugins/knowledge-distillery/.claude-plugin/plugin.json.
Increment the chosen semver component (reset lower components to 0 for minor/major).
Update plugin.json: Change "version" value.
Update CHANGELOG.md: Add new entry after the header block, before the first existing version entry. Follow the existing format:
## [X.Y.Z] - YYYY-MM-DD
### Added/Improved/Fixed
- **component**: Description of change
Use the appropriate changelog category:
Added for new features/skillsImproved for enhancements/refactorsFixed for bug fixesgit add CHANGELOG.md plugins/knowledge-distillery/.claude-plugin/plugin.json
git commit -m "chore: bump version to X.Y.Z"
git push origin HEAD:main
origin/main