Skip to content
cccskills
FreePublished on GitHub

plugin-create

新しい Claude Code プラグインを作成する。「プラグイン作成」「新しいプラグイン」「プラグインを作って」「プラグイン追加」「plugin 作成」「プラグイン一括作成」「フル作成」などで起動。プラグインのみ作成と、スキル/サブエージェント/フックを含む一括作成の両方に対応。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md6.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Create Plugin

必要なディレクトリ構造とファイルを持つ新しい Claude Code プラグインを作成します。

Help

$ARGUMENTS に --help が含まれる場合、以下を表示して終了:

/plugin-create - Create Plugin

概要:
  必要なディレクトリ構造とファイルを持つ新しい Claude Code プラグインを作成します。

使用方法:
  /plugin-create [オプション]

オプション:
  --help  このヘルプを表示

ワークフロー

1. 情報収集

ユーザーに以下を聞く:

  1. プラグイン名

    • 例: common, react, code-review
    • shiiman- プレフィックスは省略可(自動付与される)
  2. 説明(1-2 文)

2. 作成モードを確認

以下のどちらで作成するか確認する:

  • プラグインのみ: ベース構造だけ作成
  • 機能込み一括: ベース構造作成後、スキル/サブエージェント/フックをまとめて追加

3. 機能込み一括の場合のみ、機能一覧を収集

モードが「機能込み一括」の場合、以下の形式で機能一覧を聞く:

| #   | 機能     | スキル      | サブエージェント | フック      |
| --- | -------- | ----------- | ---------------- | ----------- |
| 1   | {機能名} | {名前 or -} | {名前 or -}      | {名前 or -} |
  • 各列に名前を入力、不要なら -
  • ファイル名にプラグイン名のプレフィックスは不要: list ✅ / plugin-list ❌

4. 名前の正規化と検証

  1. プレフィックス自動付与

    • ユーザー入力が shiiman- で始まっていなければ自動で付与
    • 例: common → shiiman-common
    • 例: shiiman-react → shiiman-react(そのまま)
  2. 検証

    • 小文字、ハイフンのみかチェック(アンダースコア、コロン禁止)
    • plugins/ ディレクトリに既存のプラグインがないか確認

命名規則

重要: 他のマーケットプレイスとの競合を避けるため、プラグイン名には必ず shiiman- プレフィックスを付ける。

ルール例
プレフィックス自動付与common → shiiman-common
小文字のみshiiman-common ✅ / shiiman-Common ❌
ハイフン区切りshiiman-code-review ✅ / shiiman_code_review ❌
コロン禁止shiiman:common ❌(コマンド区切りと競合)

呼び出し形式: /shiiman-github:pr-create

5. ベースプラグインを作成

以下のファイルを作成:

plugins/{plugin-name}/
├── .claude-plugin/
│   └── plugin.json
├── skills/
│   └── .gitkeep
├── agents/
│   └── .gitkeep
├── hooks/
│   └── .gitkeep
├── scripts/
│   └── .gitkeep
└── README.md

scripts パス規約:

  • 標準: Skill 固有 script は plugins/{plugin-name}/skills/{skill-name}/scripts/ に配置
  • 標準参照: ${CLAUDE_PLUGIN_ROOT}/skills/{skill-name}/scripts/{script-file}
  • 共通処理のみ plugins/{plugin-name}/scripts/ に配置
  • 共通参照: ${CLAUDE_PLUGIN_ROOT}/scripts/{script-file}
  • 共通化基準(運用): 2 つ以上の SKILL.md から参照される script を plugin ルートへ配置

6. plugin.json を生成

{
  "name": "{plugin-name}",
  "version": "1.0.0",
  "description": "{説明}",
  "author": {
    "name": "shiiman"
  }
}

7. README.md を生成

重要: README には必ずインストール方法を含める。

# {plugin-name}

{説明}

## インストール

```bash
# マーケットプレイスを追加(初回のみ)
/plugin marketplace add shiiman/claude-code-plugins

# プラグインをインストール
/plugin install {plugin-name}@shiiman-claude-code-plugins
```

## スキル

(まだありません)

## ライセンス

MIT

8. marketplace.json を更新

.claude-plugin/marketplace.json の plugins 配列に追加:

{
  "name": "{plugin-name}",
  "description": "{説明}",
  "version": "1.0.0",
  "author": { "name": "shiiman" },
  "source": "./plugins/{plugin-name}",
  "category": "development"
}

9. 機能込み一括モードの場合、単体スキルに順次委譲

機能一覧を上から順に処理し、必要な列だけ作成する:

  1. スキル列が - でなければ skill-create を呼び出す
  2. サブエージェント列が - でなければ subagent-create を呼び出す
  3. フック列が - でなければ hook-create を呼び出す

10. 報告

作成されたファイルと次のステップを表示:

プラグインを作成しました: {plugin-name}

ファイル:
- plugins/{plugin-name}/.claude-plugin/plugin.json
- plugins/{plugin-name}/README.md
- plugins/{plugin-name}/skills/.gitkeep
- plugins/{plugin-name}/agents/.gitkeep
- plugins/{plugin-name}/hooks/.gitkeep
- plugins/{plugin-name}/scripts/.gitkeep

更新:
- .claude-plugin/marketplace.json

次のステップ:
- /plugin-create で別のプラグインを作成
- /skill-create でスキルを追加
- /subagent-create でサブエージェントを追加
- /hook-create でフックを追加

重要な注意事項

  • ✅ 作成開始時に必ずモード(プラグインのみ / 機能込み一括)を確認
  • ✅ shiiman- プレフィックスを必ず付与
  • ✅ 小文字・ハイフン区切りを使用
  • ✅ README にインストール方法を必ず記載
  • ✅ scripts は原則 skills/{skill}/scripts/、共通処理のみ scripts/ を使用
  • ❌ アンダースコアやキャメルケースは使用しない
  • ❌ コロンは使用しない

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

プラグインに新しいフックを作成する。「フック作成」「新しいフック」「フックを作って」「フック追加」「hook 作成」「フックを追加したい」「新規フック」などで起動。ツール実行前後やセッションイベントで実行されるフックを生成。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

マーケットプレイスのソースを dev(directory)/ prd(git)に切り替える。「マーケットプレイス切替」「marketplace toggle」「dev モード」「prd モード」「ローカル開発モード」「開発モード切替」「マーケットプレイス dev」などで起動。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

MCP サーバーの一覧表示・追加・削除を一つのスキルで管理する。「MCP 管理」「MCP 一覧」「MCP を追加」「MCP を削除」「MCP サーバー管理」「MCP 設定」「MCP 操作」などで起動。引数があれば優先し、なければ発話内容から list/install/remove を判定。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

プロジェクトの Claude Code リソース一覧を表示する。「Claude リソース一覧」「スキル一覧」「エージェント一覧」「フック一覧」「プロジェクトリソース確認」「何があるか確認」「リソースを見せて」などで起動。表示対象(スキル/エージェント/フック)は発話から判断する。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

Claude Code 設定の表示・更新・ローカル更新を統合管理する。「Claude 設定管理」「設定を表示」「settings を更新」「local settings を更新」「権限設定を変更」「設定ファイル管理」「claude settings」などで起動。引数があれば優先し、なければ発話内容から view/update/local-update を判定。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

Claude Code CLI 本体のバージョン確認・更新と、インストール済みプラグインの一括更新を実行する。「Claude Code を更新」「claude update」「Claude のバージョン確認」「Claude 本体更新」「プラグイン更新」「plugin update」などで起動。引数があれば優先し、なければ発話内容から version/update/plugin-update を判定。brew での AI CLI 一括更新は shiiman-common:brew-upgrade-ai。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

See all skills by shiiman

Report a problem with this skill