/versioning:bump [major|minor|patch] [--dry-run] [--force]from versioning
Increment semantic version and create git tag with changelog
Ships in versioning. Installing the plugin adds it to Claude Code.
🚨 EXECUTION NOTICE FOR CLAUDE
When you invoke this command via SlashCommand, the system returns THESE INSTRUCTIONS below.
YOU are the executor. This is NOT an autonomous subprocess.
Immediately after SlashCommand returns, start executing Phase 0, then Phase 1, etc.
See @CLAUDE.md section "SlashCommand Execution - YOU Are The Executor" for detailed explanation.
CRITICAL: All generated files must follow security rules:
@docs/security/SECURITY-RULES.md
Key requirements:
your_service_key_here.env files with .gitignore.env.example with placeholders onlyArguments: $ARGUMENTS
Goal: Increment semantic version (major/minor/patch), update version files, generate changelog, and create annotated git tag
Core Principles:
This commands has access to the following skills from the versioning plugin:
To use a skill:
!{skill skill-name}
Use skills when you need:
Skills provide pre-built resources to accelerate your work.
Parse bump type and flags:
Actions:
--dry-run flag (preview only, no changes)--force flag (auto-push without confirmation)Validate prerequisites:
Load current version:
Actions:
MAJOR.MINOR.PATCHDelegate to version-bumper agent:
Actions:
Use Task() to invoke agent:
Task(agent="version-bumper", parameters={
"bump_type": "<major|minor|patch>",
"current_version": "<current_version>",
"dry_run": <true|false>,
"force_push": <true|false>
})
Show results based on agent status:
Actions:
If status is "dry_run_complete":
DRY RUN - No changes made
Would bump: <old_version> → <new_version>
Changelog Preview:
<changelog>
If status is "pushed":
✅ Version bumped and pushed: <old_version> → <new_version>
Tag: <tag_name>
Commit: <commit_hash>
Monitor release: gh run list --workflow=version-management.yml
If status is "ready_to_push":
✅ Version bumped: <old_version> → <new_version>
📝 Changes:
- VERSION: ✓
- pyproject.toml: ✓ (if exists)
- package.json: ✓ (if exists)
- Commit: <commit_hash>
- Tag: <tag_name>
📋 Changelog:
<changelog>
🚀 To complete the release:
1. Push changes and tags:
git push && git push --tags
2. GitHub Actions will:
- Create GitHub release
- Publish to PyPI/npm (if configured)
- Update CHANGELOG.md
3. Monitor release:
gh run list --workflow=version-management.yml
📌 Rollback (if needed):
/versioning:rollback <new_version>
If status is "error":
Handle failures from agent:
Display error context and suggested fixes for each error type.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub vanman2024/dev-lifecycle-marketplace --plugin versioning10 commands in this plugin
/analyze-breakingSecurity RequirementsDetect breaking changes and recommend version bump/approve-releaseSecurity RequirementsMulti-stakeholder approval workflow before release/commitPhase 1: Validate and Scan Changed FilesSmart commit - auto-groups changed files by relationship, pick a group to commit/generate-release-notesSecurity RequirementsAI-powered release notes with migration guides and breaking change analysis/infoSecurity RequirementsDisplay version information and validate configuration/prereleasePhase 1: Parse Arguments and ValidateCreate pre-release versions (alpha, beta, RC)Other plugins' commands for the same job