一键导入
release-plugin
Bump a plugin's version and check release paperwork. Use --check to audit CHANGELOG/README before opening a PR; omit --check to do the version bump.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bump a plugin's version and check release paperwork. Use --check to audit CHANGELOG/README before opening a PR; omit --check to do the version bump.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user asks to generate, create, or scaffold an Alert — accessible status/error/info/warning notification with ARIA live regions and icon support.
Use when the user asks to generate, create, or scaffold a Card — accessible content container with header/body/footer slots and interactive variant support.
Use when the user asks to generate, create, or scaffold a Checkbox — accessible checkbox with indeterminate state, aria-checked, custom indicator, and Input dependency.
Use when the user asks to generate, create, or scaffold a Dialog — accessible modal dialog with focus trap, aria-modal, return-focus on close, and Button dependency.
Use when the user asks to generate, create, or scaffold a Field — accessible form field wrapper with label, hint, and error message association via aria-describedby.
Use when the user asks to generate, create, or scaffold an Input — accessible text/number/email input with aria-invalid, error state, and controlled/uncontrolled patterns.
| name | release-plugin |
| description | Bump a plugin's version and check release paperwork. Use --check to audit CHANGELOG/README before opening a PR; omit --check to do the version bump. |
| disable-model-invocation | false |
Two modes:
/release-plugin <plugin-name> <new-version> — bumps plugin.json, cleans up marketplace.json./release-plugin <plugin-name> --check — audits whether the paperwork is complete on the current branch before opening a PR.Usage: /release-plugin acss-kit 0.3.1
Confirm the plugin exists — verify plugins/<plugin-name>/.claude-plugin/plugin.json exists. If not, list available plugins from .claude-plugin/marketplace.json and stop.
Read current version from plugins/<plugin>/.claude-plugin/plugin.json.
Validate the new version — must be a valid semver string (MAJOR.MINOR.PATCH). Refuse if not.
Bump plugin.json — update the "version" field in plugins/<plugin>/.claude-plugin/plugin.json.
Check marketplace.json — read .claude-plugin/marketplace.json. If the matching plugin entry contains a "version" key, remove it and warn the user ("marketplace.json should not have a version field — the plugin.json always wins").
Ask the user if the marketplace.json description for this plugin needs updating to reflect the change. If yes, update it.
Print a pre-commit summary:
<plugin> <old> → <new>Do not commit. Do not push. Leave that to the user.
Usage: /release-plugin acss-kit --check
Audits whether the release paperwork is complete on the current branch. Does not perform a version bump. Run this after the version bump and before opening a PR.
Verify the argument matches a directory under plugins/. If not, list available plugins and stop.
git diff main...HEAD --name-only -- plugins/<plugin>/
Collect the list of changed files scoped to plugins/<plugin>/.
plugins/<plugin>/.claude-plugin/plugin.json from main via git show main:plugins/<plugin>/.claude-plugin/plugin.json.version fields between main and HEAD./release-plugin <name> <new-version> first."plugins/<plugin>/CHANGELOG.md appears in the diff.If any of plugins/<plugin>/commands/*.md or plugins/<plugin>/skills/**/SKILL.md are in the diff, then plugins/<plugin>/README.md must also be in the diff.
The root marketplace.json is not scoped to the plugin dir. Run a separate unscoped diff:
git diff main...HEAD --name-only
If .claude-plugin/marketplace.json appears, note it as touched. If not, remind: "Consider updating .claude-plugin/marketplace.json description if this change is user-facing."
Release checklist for acss-kit (main...HEAD)
[PASS] plugin.json version bumped (0.2.1 → 0.3.0)
[FAIL] CHANGELOG.md not updated
[PASS] README.md updated alongside command changes
[INFO] marketplace.json not touched — update description if change is user-facing
1 item needs attention before opening a PR.
If all required checks pass: "Release paperwork complete. Ready to open a PR."
Do not commit, push, or open the PR — leave that to the user or /ship.