release
Original:🇺🇸 English
Translated
Plugin release process for MAG Claude Plugins marketplace. Covers version bumping, marketplace.json updates, git tagging, and common mistakes. Use when releasing new plugin versions or troubleshooting update issues.
18installs
Sourcemadappgang/claude-code
Added on
NPX Install
npx skill4agent add madappgang/claude-code releaseTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Plugin Release Process
Complete guide for releasing new versions of plugins in the MAG Claude Plugins marketplace.
Critical Understanding
Claude Code plugin discovery works through TWO configuration files that MUST BOTH BE UPDATED:
- - The plugin's own version metadata
plugins/{plugin-name}/plugin.json - - The marketplace catalog (what users see when browsing)
.claude-plugin/marketplace.json
Why both?
- - Defines the plugin itself (agents, commands, version)
plugin.json - - The "catalog" that Claude Code reads for plugin discovery
marketplace.json - Users run which reads
/plugin marketplace updatemarketplace.json - If you only update , users won't see the new version!
plugin.json
Release Checklist
Step 1: Update Plugin Files
- - Update
plugins/{plugin-name}/plugin.jsonfieldversion - - Add new agents (if any)
plugins/{plugin-name}/agents/*.md - - Update commands (if any)
plugins/{plugin-name}/commands/*.md - - Add new skills (if any)
plugins/{plugin-name}/skills/*/SKILL.md
Step 2: Update Documentation
- - Add new version entry at the top
CHANGELOG.md - - Add detailed release notes at the top
RELEASES.md - - Update ALL version references (6+ locations)
CLAUDE.md
Step 3: ⚠️ CRITICAL - Update Marketplace Catalog
File:
.claude-plugin/marketplace.jsonUpdate TWO fields:
-
Marketplace metadata version (line ~10):json
"metadata": { "version": "3.3.0" // ← Update this } -
Specific plugin version (in plugins array):json
"plugins": [ { "name": "frontend", "version": "3.3.0", // ← Update this (CRITICAL!) "description": "..." // ← Update if description changed } ]
Step 4: Commit and Tag
bash
# Commit all changes
git add -A
git commit -m "feat({plugin}): v{X.Y.Z} - {Feature summary}"
# Create tag (format: plugins/{plugin-name}/v{X.Y.Z})
git tag -a plugins/{plugin}/v{X.Y.Z} -m "..."
# Push
git push origin main
git push origin plugins/{plugin}/v{X.Y.Z}Step 5: Verify
bash
/plugin marketplace update mag-claude-plugins
# Should show new version ✅Common Mistakes
❌ #1: Forgot to update marketplace.json
Symptom: Users still see old version after
/plugin marketplace updateFix:
bash
# Update .claude-plugin/marketplace.json
vim .claude-plugin/marketplace.json
# Update plugins[].version field
git add .claude-plugin/marketplace.json
git commit -m "fix(marketplace): Update {plugin} version to v{X.Y.Z}"
git push origin main❌ #2: Wrong git tag format
Wrong: , ,
Correct: ✅
frontend-v3.3.0v3.3.0frontend/v3.3.0plugins/frontend/v3.3.0❌ #3: Inconsistent versions
Problem: plugin.json says v3.3.0 but marketplace.json says v3.2.0
Prevention: Use checklist, search for old version:
grep -r "3.2.0" .Version Numbering
MAJOR (X.0.0): Breaking changes (removed agents, changed behavior)
MINOR (x.Y.0): New features (new agents/commands, backward compatible)
PATCH (x.y.Z): Bug fixes (no new features, backward compatible)
Quick Reference
Minimal checklist:
- ✅ Update version
plugins/{plugin}/plugin.json - ✅ Update plugin version ⚠️ CRITICAL
.claude-plugin/marketplace.json - ✅ Update ,
CHANGELOG.md,RELEASES.mdCLAUDE.md - ✅ Commit:
git commit -m "feat({plugin}): v{X.Y.Z} - {summary}" - ✅ Tag:
git tag -a plugins/{plugin}/v{X.Y.Z} -m "..." - ✅ Push:
git push origin main && git push origin plugins/{plugin}/v{X.Y.Z} - ✅ Verify: shows new version
/plugin marketplace update
Example Release
bash
# 1. Update versions
vim plugins/frontend/plugin.json # version: "3.3.0"
vim .claude-plugin/marketplace.json # plugins[0].version: "3.3.0" ← DON'T FORGET!
vim CHANGELOG.md RELEASES.md CLAUDE.md
# 2. Commit
git add -A
git commit -m "feat(frontend): v3.3.0 - Multi-Model Plan Review"
# 3. Tag
git tag -a plugins/frontend/v3.3.0 -m "Frontend Plugin v3.3.0"
# 4. Push
git push origin main
git push origin plugins/frontend/v3.3.0
# 5. Verify
/plugin marketplace update mag-claude-plugins
# Output: frontend v3.3.0 ✅Troubleshooting
Q: Users still see old version
A: Check - version must match
.claude-plugin/marketplace.jsonplugin.jsonQ: Tag already exists
A: then then recreate
git tag -d {tag}git push origin :{tag}Q: How to test locally?
A:
/plugin marketplace add /path/to/claude-codeRelated: RELEASE_PROCESS.md - Full detailed documentation
Last Updated: November 13, 2025