/max:release-pluginfrom max
Automates publishing Claude Code plugin updates: detects the plugin, bumps version, updates plugin.json and CHANGELOG, stages, commits, pushes, and merges via worktree for multi-branch repos. Prints UI commands for the user.
Ships in max. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Ship a Claude Code plugin update cleanly. The workflow is five steps (edit, bump, commit, push, update) but has sharp edges — the version-bump step is the silent failure mode, and repos with uncommitted WIP need a worktree to avoid disturbing your working state. This skill encodes the discipline.
Input: the current state of the plugin source on disk (you've already edited the skill files). Optionally a starting directory.
Output: committed and pushed changes, with the plugin's version bumped and the CHANGELOG updated. Plus a printed pair of commands for the user to run in Claude Code's UI.
What this skill does NOT do:
/plugin update or /reload-plugins — these are Claude Code UI commands, not shell-reachable. You print them for the user.max:verify-before-done beforehand if the changes are load-bearing.Find the plugin.json that governs the changes being shipped.
.claude-plugin/ sibling directory or inside a skills/<name>/ directory, walk up until you find .claude-plugin/plugin.json.name — the plugin's canonical name (e.g., max, bugbook)version — current version (e.g., 0.3.0)repository — the git remote URL.claude-plugin/marketplace.json in the same repo (may be at repo root). Note its name field — this is the marketplace suffix used in /plugin install and /plugin update commands.plugins/bugbook/ inside the Bugbook app repo), record that subdirectory path — you'll need it for surgical staging later.If any of these can't be resolved, stop and ask the user to clarify which plugin they're updating.
Run git status in the repo root. Look for modified or new files under the plugin's path.
plugin.json has changed: that's a version-bump-only commit, which is unusual — ask the user what content change they meant to include.Critical check: if the repo also has unrelated modified files (a working tree mixed with WIP), note them now. You'll need to avoid staging them in Phase 6.
Look at the git diff of the changes being shipped (git diff <plugin-subdir> if the plugin is in a subdirectory, git diff otherwise) and recommend a version bump based on this rubric:
| Bump type | When to use | Examples |
|---|---|---|
| Patch (0.x.y → 0.x.y+1) | Description tweaks, typo fixes, README corrections, frontmatter polish, CHANGELOG updates, minor clarifications | "Fix install command in README", "Improve grill-me description pushiness" |
| Minor (0.x.y → 0.(x+1).0) | New skills, new phases in existing skills, new behaviors, new bundled resources, new composition links | "Add release-plugin skill", "Add ambiguity report persistence to grill-me" |
| Major (0.x.y → 1.0.0) | Breaking changes to how skills are invoked, removed skills, renamed skills, changed composition contracts | "Rename write-prd to draft-prd", "Remove tech-spec grill gate requirement" |
Present the recommended bump to the user with 1-2 sentences of reasoning. Let them override.
Update plugin.json:
{
"version": "<new version>"
}
Update CHANGELOG.md if it exists. Add a new section at the top in the same style as the previous entries:
## v<new version> — <YYYY-MM-DD>
<Short paragraph summarizing the change.>
### <Category (Added / Changed / Fixed / Removed)>
- **<skill or area>** — <what changed and why>
If there's no CHANGELOG, skip this step silently — not every plugin has one.
Read the git diff and compose a commit message:
Present the draft to the user and let them edit. If they approve, proceed.
Change directory to the repo root. Then:
If the repo has no WIP (only the plugin changes are modified):
git add -A
If the repo has WIP unrelated to the plugin (the critical case — this is what the bugbook plugin hits because the Bugbook app repo has ongoing Swift work):
git add <specific plugin paths>
# e.g., git add .claude-plugin plugins/bugbook
Never use git add -A or git add . when WIP is present. You'll sweep up the user's in-progress work and commit it accidentally.
Then:
git commit -m "<message from Phase 5>"
Determine which branch to push to:
git symbolic-ref refs/remotes/origin/HEAD for the remote's default branch (usually main).git branch --show-current.dev in the Bugbook case): push the feature branch first, then merge to default via worktree (Phase 8).git push origin <current-branch>
Only run this phase if the current branch is NOT the default branch (i.e., you pushed to dev and need to get to main).
The point of using a worktree is to avoid disturbing the user's WIP by switching branches in the main working tree.
# Create a temporary worktree for the merge
git worktree add /tmp/plugin-release-merge <default-branch>
# Move into it and merge
cd /tmp/plugin-release-merge
git pull origin <default-branch> --ff-only
git merge <current-branch> --no-edit
git push origin <default-branch>
# Clean up
cd <original-repo-path>
git worktree remove /tmp/plugin-release-merge --force
git worktree prune
If the merge produces conflicts (rare for plugin-only changes, since plugins don't usually collide with app code), stop and hand off to the user.
Print the exact commands the user needs to type in Claude Code's UI:
/plugin update <plugin-name>@<marketplace-name>
/reload-plugins
Where:
<plugin-name> is the name field from the plugin's plugin.json<marketplace-name> is the name field from the marketplace's marketplace.jsonExample for the max plugin:
/plugin update max@max4c-skills
/reload-plugins
Example for the bugbook plugin:
/plugin update bugbook@max4c-bugbook
/reload-plugins
Explicitly tell the user: "These are Claude Code UI commands — you need to type them yourself, I can't run them for you."
Offer to clean up old cached versions of the plugin that are no longer needed:
ls ~/.claude/plugins/cache/<marketplace-name>/<plugin-name>/
For each directory that isn't the new version, offer to delete it:
rm -rf ~/.claude/plugins/cache/<marketplace-name>/<plugin-name>/<old-version>
Only delete after the user confirms the new version loaded correctly — deleting prematurely could strand the user if the new version has a bug and they need to roll back.
/plugin update reports "already at latest". This is the most common failure mode and the main reason this skill exists.git add -A real quick." Not in a repo with WIP. Stage specific paths.update skill." No. Future-you will want to know what changed without reading the diff. Write a real message.User: "I just tuned the grill-me description, ship it"
Skill:
~/Code/skills/skills/grill-me/ → plugin is max at ~/Code/skills, marketplace max4c-skillsgit status shows skills/grill-me/SKILL.md modified — has changes to shipplugin.json version to 0.3.1 and adds a CHANGELOG entrygit add -A (clean working tree), git commit, git push origin main/plugin update max@max4c-skills
/reload-plugins
~/.claude/plugins/cache/max4c-skills/max/0.3.0/ after user confirms the new version loadedTotal elapsed: ~30 seconds of work you didn't have to do yourself.
Pairs naturally with:
max:verify-before-done — run BEFORE release to confirm your skill changes actually do what you expect. Releasing a broken skill is worse than not releasing it.max:grill-me — run on the CHANGELOG entry if it feels hand-wavy. Ambiguous release notes mean you won't remember what changed when you look back.Does NOT compose with:
max:write-prd or max:tech-spec — those are about authoring, this is about shipping. Different phase..claude/plugins/marketplaces/claude-plugins-official/.claude-plugin/marketplace.json — a real-world example of a multi-plugin marketplace with diverse source typesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub max4c/skills --plugin max11 skills in this plugin
/cookoffAuto-grill a plan, spec, or ticket by running Claude and Codex as interrogator/answerer pairs instead of interviewing the user. Two modes — relay (iterative back-and-forth between Claude and Codex) and parallel (two swapped streams merged into one spec). Produces a pre-chewed artifact where the user only reviews the result, not sits through the interview. Use this skill whenever the user says "cookoff", "pre-grill this", "have codex grill it", "dual grill", "grill this without me", "run grill-me with codex", "cross-examine this plan", or wants the ambiguity-resolution work done autonomously before they review. Also use when the user has a plan/spec/PRD that would normally go through max:grill-me but explicitly wants to skip being interviewed themselves. Supports `--to-tickets` to emit the grilled spec as Dahso Agent Tickets ready for `/go`, and `--to-tickets --go` to chain straight to `dahso:go` without a review pause./design-interfaceExplore multiple radically different interface designs for a feature in parallel before committing to one. Uses parallel sub-agents to generate distinct approaches so you can compare tradeoffs rather than anchoring on the first idea. For UI/UX interface work specifically — not API interface design. Use when the user says "design-interface", "let's explore some designs for X", "what are the options for this screen", or before building any non-trivial UI.Other plugins' skills for the same job