version-bump
管理该项目的语义版本更新。处理语义版本控制后的补丁、次要和主要版本增量。更新 package.json、marketplace.json 和 plugin.json。创建 git 标签和 GitHub 版本。从版本中自动生成 CHANGELOG.md。
📖 中文导读:管理该项目的语义版本更新。处理语义版本控制后的补丁、次要和主要版本增量。更新 package.json、marketplace.json 和 plugin.json。创建 git 标签和 GitHub 版本。从版本中自动生成 CHANGELOG.md。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: version-bump description: Manage semantic version updates for this project. Handles patch, minor, and major version increments following semantic versioning. Updates package.json, marketplace.json, and plugin.json. Creates git tags and GitHub releases. Auto-generates CHANGELOG.md from releases.
Version Bump Skill
Your Tasks
IMPORTANT: ultrathink for every task
Decide version type (only if user doesn't specify):
- PATCH (x.y.Z): Bug fixes only
- MINOR (x.Y.0): New features, backward compatible
- MAJOR (X.0.0): Breaking changes
Write detailed release notes describing the changes
Workflow
# 1. Check current version
${CLAUDE_PLUGIN_ROOT}/scripts/version-bump.sh check
# 2. Decide new version (PATCH/MINOR/MAJOR)
# 3. Update version files
${CLAUDE_PLUGIN_ROOT}/scripts/version-bump.sh update X.Y.Z
# 4. Write release notes, then release (pipe notes via stdin)
cat <<'EOF' | ${CLAUDE_PLUGIN_ROOT}/scripts/version-bump.sh release X.Y.Z
## What's New
- Feature 1
- Feature 2
## Bug Fixes
- Fix 1
EOF
Checklist
- Ultrathink + decide version type
- Write detailed release notes
- Run update script
- Run release script (with notes piped via stdin)