ワンクリックで
add-command
Scaffold a new slash command for a plugin — creates the command .md with front-matter and adds a stub section to SKILL.md.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Scaffold a new slash command for a plugin — creates the command .md with front-matter and adds a stub section to SKILL.md.
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 | add-command |
| description | Scaffold a new slash command for a plugin — creates the command .md with front-matter and adds a stub section to SKILL.md. |
| disable-model-invocation | false |
Usage: /add-command <plugin-name> <command-name>
Example: /add-command acss-kit theme-export
Validate inputs — confirm <plugin-name> is one of the existing plugin directories. If <command-name> already exists in commands/, stop and warn.
Ask the user (via AskUserQuestion):
<name> [--force]) — leave empty if noneRead, Glob, Grep, Write, Edit, Bash, AskUserQuestion)acss-kit, usually components or styles)Create <plugin>/commands/<command-name>.md:
---
description: <user's description>
argument-hint: <argument-hint>
allowed-tools: <tools>
---
<One sentence summary of what this command does.>
Follow the `/<command-name>` workflow in the owning skill:
`plugins/<plugin>/skills/<skill>/SKILL.md`
**Quick checklist:**
1. TODO — fill in steps
2. ...
**Safety:** refuse on dirty git tree and on any existing non-empty target file unless `--force`.
plugins/<plugin>/skills/<skill>/SKILL.md at the end of the file:## /<command-name>
> TODO: implement this workflow
### Steps
1. ...
Do not implement the command logic. The user fills in the SKILL.md stub.