Version Bumper
БесплатноБез исполняемых скриптовНе проверенAutomatically handles semantic version updates across plugin.json and marketplace catalog when user mentions version bump, update version, or release. Ensures…
Об этом скилле
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
Установить Version Bumper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGrepBashFAQ
Что делает скилл Version Bumper?
Automatically handles semantic version updates across plugin.json and marketplace catalog when user mentions version bump, update version, or release. Ensures version consistency in claude-code-plugins repository.
Как установить скилл Version Bumper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Version Bumper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic