一键导入
release-plugin
Bump a plugin's version in plugin.json and update marketplace.json description if needed. Run before committing a publishable change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bump a plugin's version in plugin.json and update marketplace.json description if needed. Run before committing a publishable change.
用 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 in plugin.json and update marketplace.json description if needed. Run before committing a publishable change. |
| disable-model-invocation | false |
Usage: /release-plugin <plugin-name> <new-version>
Example: /release-plugin acss-kit 0.3.1
Confirm the plugin exists — parse the first argument as <plugin-name>, verify it is acss-kit, and confirm plugins/acss-kit/.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.