Agent skill

command-creator

プラグインに新しいスラッシュコマンドを作成する。「コマンド作成」「新しいコマンド」「コマンドを作って」「コマンド追加」「command 作成」「コマンドを追加したい」「新規コマンド」などで起動。プラグインにコマンドファイルを生成。

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/command-creator

SKILL.md

Command Creator

プラグインに新しいスラッシュコマンドを作成します。

ワークフロー

1. ドキュメント参照

docs/command.md を Read ツールで参照(SSOT として扱う)。

2. コマンド実行

/create-command を SlashCommand ツールで実行(実装は Commands に委譲)。

コマンド連携

実際の処理は /create-command に委譲します(SSOT として扱う)。

/create-command コマンドは以下を行う:

  • 対象プラグインを聞く
  • コマンド名と説明を聞く
  • コマンドファイルを作成(--help オプション含む)
  • プラグイン README を更新

命名規則

パターン 説明
リソース操作系 pr-create, hook-new リソースが先、アクションが後
アクション系 check-fact, fix-error アクションが先、ターゲットが後
単一語 review, commit 確立された技術用語

重要な注意事項

  • ✅ 小文字・ハイフン区切りを使用
  • ✅ --help オプションを必ず含める
  • ❌ アンダースコアやキャメルケースは使用しない

Didn't find tool you were looking for?

Be as detailed as possible for better results