Guide for versioning and releasing Claude Code plugins. Covers semantic versioning, CHANGELOG maintenance, and the automated release workflow.
Provides semantic versioning guidance for Claude Code plugins. Triggers when completing release steps to inform users of required next actions: merging the PR, creating/pushing the version tag, and reviewing the marketplace PR.
/plugin marketplace add WorldCentralKitchen/python-dev-framework/plugin install worldcentralkitchen-python-dev-framework@WorldCentralKitchen/python-dev-frameworkThis skill inherits all available tools. When active, it can use any tool Claude has access to.
After completing your release steps (CHANGELOG, plugin.json, PR), always inform the user of their required next steps:
git checkout main && git pull
git tag vX.Y.Z
git push origin vX.Y.Z
Do not assume the user knows the tag triggers the release workflow.
| Change Type | Version Bump | Example |
|---|---|---|
| Breaking: hook behavior, removed features | MAJOR | 1.0.0 → 2.0.0 |
| New: skill, command, agent, feature | MINOR | 1.0.0 → 1.1.0 |
| Fix: bug fix, typo, docs | PATCH | 1.0.0 → 1.0.1 |
Update CHANGELOG.md
[Unreleased] to new version sectionUpdate plugin.json version
{
"version": "1.1.0"
}
Create release branch and PR
git checkout -b chore/release-v1.1.0
git add CHANGELOG.md .claude-plugin/plugin.json
git commit -m "chore: release v1.1.0"
git push -u origin chore/release-v1.1.0
gh pr create --title "chore: release v1.1.0" --body "Release v1.1.0"
Human merges PR, then tag
# After PR is merged by human:
git checkout main && git pull
git tag v1.1.0
git push origin v1.1.0
Automated steps (GitHub Action handles these)
plugins/python-dev-framework/)marketplace.jsonFollow Keep a Changelog:
## [Unreleased]
## [1.1.0] - 2025-01-15
### Added
- New plugin-versioning skill
### Changed
- Updated hook timeout from 10s to 15s
### Fixed
- Fixed edge case in branch name validation
| File | Field |
|---|---|
.claude-plugin/plugin.json | "version": "X.Y.Z" |
CHANGELOG.md | ## [X.Y.Z] - YYYY-MM-DD |
| Git tag | vX.Y.Z |
For beta or release candidate versions:
git tag v1.1.0-beta.1
git tag v1.1.0-rc.1
Pre-release tags follow semver format and can be used for testing before stable release.
On release, the GitHub Action syncs plugin files to the marketplace repo:
| Source | Destination |
|---|---|
.claude-plugin/ | plugins/python-dev-framework/.claude-plugin/ |
hooks/ | plugins/python-dev-framework/hooks/ |
skills/ | plugins/python-dev-framework/skills/ |
CLAUDE.md | plugins/python-dev-framework/CLAUDE.md |
.lsp.json | plugins/python-dev-framework/.lsp.json |
Note: The plugins/ directory in the marketplace repo is auto-generated. Do not edit directly.
Users install from the marketplace (bundled copy), not from this repo:
claude plugin install python-dev-framework@WorldCentralKitchen
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.