release
Original:🇺🇸 English
Translated
Automates the release workflow for this plugin: runs `make check`, bumps the version in plugin.json and marketplace.json, creates a release/vX.Y.Z branch if needed, and commits/pushes/opens a PR. Use this skill when the user says "release", "cut a release", "bump version", "prepare a release", "make a release", "create release branch", or any variation of shipping a new version.
5installs
Sourcemthds-ai/skills
Added on
NPX Install
npx skill4agent add mthds-ai/skills releaseTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Release Workflow
This skill handles the full release cycle for a Claude Code plugin that keeps
its version in two files:
- — the
.claude-plugin/plugin.jsonfield"version" - — the
.claude-plugin/marketplace.jsonfield"metadata"."version"
Both must always be in sync.
Workflow
1. Determine the bump type
Ask the user which kind of version bump they want — patch, minor, or
major — unless they already specified it. Show the current version from
and what the new version would be for each option so the choice
is concrete.
plugin.json2. Run quality checks
Run (which verifies shared refs use correct paths and all shared
files exist). This is the gate — if it fails, stop and report the errors so
they can be fixed before retrying. Do not proceed past this step on failure.
make check3. Ensure we're on the right branch
The release branch must be named where X.Y.Z is the new
version (after bumping).
release/vX.Y.Z- If already on matching the new version, stay on it.
release/vX.Y.Z - If on or any other branch, create and switch to
mainfrom the current HEAD.release/vX.Y.Z - If on a branch for a different version, warn the user and ask how to proceed — they may have started a release they want to abandon.
release/
4. Bump the version
Edit both files to the new version string:
- — change the
.claude-plugin/plugin.jsonvalue."version" - — change the
.claude-plugin/marketplace.jsonvalue."metadata"."version"
Only change the version fields — don't touch anything else in either file.
Verify both files now contain the same new version.
5. Commit and push
Stage and , then
commit with the message:
.claude-plugin/plugin.json.claude-plugin/marketplace.jsonBump version to vX.Y.ZPush the branch to origin with to set up tracking.
-u6. Open a PR
Create a pull request targeting with:
main- Title:
Release vX.Y.Z - Body: A short summary noting the version bump from old to new. Keep it minimal — this is a version bump PR, not a changelog.
Report the PR URL back to the user.
Important details
- The version follows semver: .
MAJOR.MINOR.PATCH - Both and
plugin.jsonmust always have the same version.marketplace.json - Always confirm the bump type with the user before making changes.
- If fails, the release is blocked — help the user fix the issues rather than skipping the checks.
make check - If there are uncommitted changes when starting, warn the user and ask whether to stash them, commit them first, or abort.