version-bumper

0
0
Source

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.

Install

mkdir -p .claude/skills/version-bumper && curl -L -o skill.zip "https://mcp.directory/api/skills/download/4783" && unzip -o skill.zip -d .claude/skills/version-bumper && rm skill.zip

Installs to .claude/skills/version-bumper

About this skill

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.01.0.1 (bug fix)
  • 1.0.01.1.0 (new feature)
  • 1.0.02.0.0 (breaking change)

Version Bump Process

When activated, I will:

  1. Identify Current Version

    # Read plugin version
    current=$(jq -r '.version' .claude-plugin/plugin.json)
    echo "Current version: $current"
    
  2. Determine Bump Type

    • From user request (major/minor/patch)
    • Or suggest based on changes
    • Or ask user which type
  3. 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))"
    
  4. Update Files

    • Update .claude-plugin/plugin.json
    • Update .claude-plugin/marketplace.extended.json
    • Sync to marketplace.json
  5. Validate Consistency

    • Verify all files have same version
    • Check no other plugins use this version
    • Validate semver format
  6. 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:

  1. Determine Bump Type

    • Review changes since last version
    • Decide: patch/minor/major
  2. Update Version

    • Bump plugin.json
    • Update marketplace catalog
    • Sync marketplace.json
  3. Update Changelog

    • Add release notes
    • List changes
    • Include date
  4. Commit Changes

    git add .
    git commit -m "chore: Release v1.2.4"
    
  5. Create Tag

    git tag -a "v1.2.4" -m "Release v1.2.4"
    
  6. Push

    git push origin main
    git push origin v1.2.4
    
  7. 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:

  1. Read current version: 1.2.3
  2. Calculate patch bump: 1.2.4
  3. Update plugin.json
  4. Update marketplace.extended.json
  5. Sync marketplace.json
  6. Validate consistency
  7. Report success

User says: "Release version 2.0.0 of plugin-name"

I automatically:

  1. Recognize major version (breaking change)
  2. Update all version files
  3. Update CHANGELOG.md with major release notes
  4. Create git commit
  5. Create git tag v2.0.0
  6. Provide push commands

User says: "Increment version for new feature"

I automatically:

  1. Detect this is a minor bump
  2. Calculate new version (1.2.3 → 1.3.0)
  3. Update all files
  4. Add changelog entry
  5. Report completion

svg-icon-generator

jeremylongshore

Svg Icon Generator - Auto-activating skill for Visual Content. Triggers on: svg icon generator, svg icon generator Part of the Visual Content skill category.

6814

d2-diagram-creator

jeremylongshore

D2 Diagram Creator - Auto-activating skill for Visual Content. Triggers on: d2 diagram creator, d2 diagram creator Part of the Visual Content skill category.

2412

performing-penetration-testing

jeremylongshore

This skill enables automated penetration testing of web applications. It uses the penetration-tester plugin to identify vulnerabilities, including OWASP Top 10 threats, and suggests exploitation techniques. Use this skill when the user requests a "penetration test", "pentest", "vulnerability assessment", or asks to "exploit" a web application. It provides comprehensive reporting on identified security flaws.

379

designing-database-schemas

jeremylongshore

Design and visualize efficient database schemas, normalize data, map relationships, and generate ERD diagrams and SQL statements.

978

performing-security-audits

jeremylongshore

This skill allows Claude to conduct comprehensive security audits of code, infrastructure, and configurations. It leverages various tools within the security-pro-pack plugin, including vulnerability scanning, compliance checking, cryptography review, and infrastructure security analysis. Use this skill when a user requests a "security audit," "vulnerability assessment," "compliance review," or any task involving identifying and mitigating security risks. It helps to ensure code and systems adhere to security best practices and compliance standards.

86

django-view-generator

jeremylongshore

Generate django view generator operations. Auto-activating skill for Backend Development. Triggers on: django view generator, django view generator Part of the Backend Development skill category. Use when working with django view generator functionality. Trigger with phrases like "django view generator", "django generator", "django".

15

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

643969

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

591705

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

318398

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

339397

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

451339

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

304231

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.