Version Bumper
关于
The Version Bumper skill automatically increments semantic versions in plugin.json and marketplace catalog files when triggered by keywords like "bump version" or "release." It ensures version consistency across the repository by handling MAJOR, MINOR, and PATCH updates according to semantic versioning rules. Use this skill to streamline the release process for Claude Code plugins.
快速安装
Claude Code
推荐/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus-skillsgit clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills.git ~/.claude/skills/Version Bumper在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Version Bumper
Purpose
Automatically manages semantic version updates for Claude Code plugins, ensuring consistency across plugin.json, marketplace catalog, and git tags - optimized for claude-code-plugins repository workflow.
Trigger Keywords
- "bump version" or "update version"
- "release" or "new release"
- "major version" or "minor version" or "patch version"
- "increment version"
- "version update"
Semantic Versioning
Format: MAJOR.MINOR.PATCH (e.g., 2.1.3)
Rules:
- MAJOR (2.x.x) - Breaking changes, incompatible API changes
- MINOR (x.1.x) - New features, backward compatible
- PATCH (x.x.3) - Bug fixes, backward compatible
Examples:
1.0.0→1.0.1(bug fix)1.0.0→1.1.0(new feature)1.0.0→2.0.0(breaking change)
Version Bump Process
When activated, I will:
-
Identify Current Version
# Read plugin version current=$(jq -r '.version' .claude-plugin/plugin.json) echo "Current version: $current" -
Determine Bump Type
- From user request (major/minor/patch)
- Or suggest based on changes
- Or ask user which type
-
Calculate New Version
# Example for patch bump: 1.2.3 → 1.2.4 IFS='.' read -r major minor patch <<< "$current" new_version="$major.$minor.$((patch + 1))" -
Update Files
- Update
.claude-plugin/plugin.json - Update
.claude-plugin/marketplace.extended.json - Sync to
marketplace.json
- Update
-
Validate Consistency
- Verify all files have same version
- Check no other plugins use this version
- Validate semver format
-
Create Git Tag (Optional)
git tag -a "v$new_version" -m "Release v$new_version"
Update Locations
1. Plugin JSON
// .claude-plugin/plugin.json
{
"name": "plugin-name",
"version": "1.2.4", // ← Update here
...
}
2. Marketplace Extended
// .claude-plugin/marketplace.extended.json
{
"plugins": [
{
"name": "plugin-name",
"version": "1.2.4", // ← Update here
...
}
]
}
3. Sync CLI Catalog
npm run sync-marketplace
# Regenerates marketplace.json with new version
Bump Types
Patch Bump (Bug Fix)
When to use:
- Bug fixes
- Documentation updates
- Minor improvements
- No new features
Example: 1.2.3 → 1.2.4
Minor Bump (New Feature)
When to use:
- New features
- New commands/agents/skills
- Backward compatible changes
- Enhanced functionality
Example: 1.2.3 → 1.3.0
Major Bump (Breaking Change)
When to use:
- Breaking API changes
- Incompatible updates
- Major refactor
- Removed features
Example: 1.2.3 → 2.0.0
Validation Checks
Before bumping:
- ✅ Current version is valid semver
- ✅ New version is higher than current
- ✅ No other plugin uses new version
- ✅ All files have same current version
- ✅ Git working directory is clean (optional)
After bumping:
- ✅ plugin.json updated
- ✅ marketplace.extended.json updated
- ✅ marketplace.json synced
- ✅ All versions consistent
- ✅ CHANGELOG.md updated (if exists)
Changelog Management
If CHANGELOG.md exists, I update it:
# Changelog
## [1.2.4] - 2025-10-16
### Fixed
- Bug fix description
- Another fix
## [1.2.3] - 2025-10-15
...
Git Integration
Option 1: Version Commit
# Update version files
git add .claude-plugin/plugin.json
git add .claude-plugin/marketplace.extended.json
git add .claude-plugin/marketplace.json
git add CHANGELOG.md # if exists
# Commit version bump
git commit -m "chore: Bump plugin-name to v1.2.4"
Option 2: Version Tag
# Create annotated tag
git tag -a "plugin-name-v1.2.4" -m "Release plugin-name v1.2.4"
# Or for monorepo
git tag -a "v1.2.4" -m "Release v1.2.4"
# Push tag
git push origin plugin-name-v1.2.4
Multi-Plugin Updates
For repository-wide version bump:
# Bump marketplace version
jq '.metadata.version = "1.0.40"' .claude-plugin/marketplace.extended.json
# Update all plugins (if needed)
for plugin in plugins/*/; do
# Update plugin.json
# Update marketplace entry
done
Version Consistency Check
I verify:
# Plugin version
plugin_v=$(jq -r '.version' plugins/category/plugin-name/.claude-plugin/plugin.json)
# Marketplace version
market_v=$(jq -r '.plugins[] | select(.name == "plugin-name") | .version' .claude-plugin/marketplace.extended.json)
# Should match
if [ "$plugin_v" != "$market_v" ]; then
echo "❌ Version mismatch!"
echo "Plugin: $plugin_v"
echo "Marketplace: $market_v"
fi
Release Workflow
Complete release process:
-
Determine Bump Type
- Review changes since last version
- Decide: patch/minor/major
-
Update Version
- Bump plugin.json
- Update marketplace catalog
- Sync marketplace.json
-
Update Changelog
- Add release notes
- List changes
- Include date
-
Commit Changes
git add . git commit -m "chore: Release v1.2.4" -
Create Tag
git tag -a "v1.2.4" -m "Release v1.2.4" -
Push
git push origin main git push origin v1.2.4 -
Validate
- Check GitHub release created
- Verify marketplace updated
- Test plugin installation
Output Format
🔢 VERSION BUMP REPORT
Plugin: plugin-name
Old Version: 1.2.3
New Version: 1.2.4
Bump Type: PATCH
✅ UPDATES COMPLETED:
1. Updated .claude-plugin/plugin.json → v1.2.4
2. Updated marketplace.extended.json → v1.2.4
3. Synced marketplace.json → v1.2.4
4. Updated CHANGELOG.md
📊 CONSISTENCY CHECK:
✅ All files have version 1.2.4
✅ No version conflicts
✅ Semantic versioning valid
📝 CHANGELOG ENTRY:
## [1.2.4] - 2025-10-16
### Fixed
- Bug fix description
🎯 NEXT STEPS:
1. Review changes: git diff
2. Commit: git add . && git commit -m "chore: Bump to v1.2.4"
3. Tag: git tag -a "v1.2.4" -m "Release v1.2.4"
4. Push: git push origin main && git push origin v1.2.4
✨ Ready to release!
Repository-Specific Features
For claude-code-plugins repo:
- Handles both plugin and marketplace versions
- Updates marketplace metadata version
- Manages plugin count in README
- Syncs both catalog files
- Creates proper release tags
Examples
User says: "Bump the security-scanner plugin to patch version"
I automatically:
- Read current version: 1.2.3
- Calculate patch bump: 1.2.4
- Update plugin.json
- Update marketplace.extended.json
- Sync marketplace.json
- Validate consistency
- Report success
User says: "Release version 2.0.0 of plugin-name"
I automatically:
- Recognize major version (breaking change)
- Update all version files
- Update CHANGELOG.md with major release notes
- Create git commit
- Create git tag v2.0.0
- Provide push commands
User says: "Increment version for new feature"
I automatically:
- Detect this is a minor bump
- Calculate new version (1.2.3 → 1.3.0)
- Update all files
- Add changelog entry
- Report completion
GitHub 仓库
相关推荐技能
content-collections
元Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
sglang
元SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
evaluating-llms-harness
测试该Skill通过60+个学术基准测试(如MMLU、GSM8K等)评估大语言模型质量,适用于模型对比、学术研究及训练进度追踪。它支持HuggingFace、vLLM和API接口,被EleutherAI等行业领先机构广泛采用。开发者可通过简单命令行快速对模型进行多任务批量评估。
langchain
元LangChain是一个用于构建LLM应用程序的框架,支持智能体、链和RAG应用开发。它提供多模型提供商支持、500+工具集成、记忆管理和向量检索等核心功能。开发者可用它快速构建聊天机器人、问答系统和自主代理,适用于从原型验证到生产部署的全流程。
