mcpField
S
skill-create

skill-create

github.com/skillscatalogエージェントワークフロー1595 回インストール43 週間前に更新
リポジトリ

skill-create について

skill-createは、選択したテンプレートから構成済みのAgent Skillディレクトリを生成します。スキルの新規作成や試作に向けて、スクリプトやアセットのフォルダーも選べます。

主な機能

  1. 01テンプレートからスキルディレクトリを生成
  2. 02有効なSKILL.mdを作成
  3. 03basic、with-scripts、with-assetsのテンプレート
  4. 04説明や作者などのメタデータを追加
  5. 05名前の形式を検証し既存ディレクトリを保護

活用シーン

  1. 01新しいスキルを一から作成
  2. 02スクリプトやアセット付きスキルを試作
  3. 03スキルの命名とディレクトリ構成を確認

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/skillscatalog/registry --skill skill-create

インストール後、Claude Code で/skill-createを入力して読み込まれたか確認します。

同梱ファイルMANIFEST.jsonscripts/create_skill.py

詳細

手順

このスキルを使用して、テンプレートから新しいエージェントスキルを作成します。適切な構造のスキルディレクトリを生成し、有効な SKILL.md ファイルと、任意の scripts/assets フォルダーを用意します。

使用するタイミング
  • 新しいスキルを一から作成するとき
  • スキルの適切な構造と命名を確保するとき
  • 新しいスキルのアイデアをすばやく試作するとき
  • スキルの構成方法を他の人に教えるとき
使用方法

名前を指定して新しいスキルを作成します。

Create a new skill called "pdf-tools"

特定のテンプレートでスキルを作成します。

Create a new skill called "data-analyzer" using the with-scripts template

利用可能なテンプレート:

  • basic - SKILL.md のみ(デフォルト)
  • with-scripts - SKILL.md + scripts ディレクトリ
  • with-assets - SKILL.md + scripts + assets ディレクトリ
出力

完全なスキルディレクトリを作成します。

Basic テンプレート:

pdf-tools/
├── SKILL.md
└── README.md

With-scripts テンプレート:

pdf-tools/
├── SKILL.md
├── README.md
└── scripts/
    └── main.py

With-assets テンプレート:

pdf-tools/
├── SKILL.md
├── README.md
├── scripts/
│   └── main.py
└── assets/
    └── .gitkeep

例

Basic スキル:

User: Create a new skill called "code-formatter"
Agent: Creating skill "code-formatter" with basic template...

       Created:
       ✓ code-formatter/SKILL.md
       ✓ code-formatter/README.md

       Next steps:
       1. Edit SKILL.md with your skill's instructions
       2. Add any supporting files
       3. Run skill-validator to check compliance

対話モード:

User: Create a new skill
Agent: I'll help you create a new skill.

       Skill name: code-formatter
       Description: Format code in various languages
       Template: with-scripts
       License: MIT

       Creating...
       ✓ Created code-formatter with with-scripts template

メタデータを含む場合:

User: Create a new skill called "api-tester" with description "Test REST APIs" and author "acme-corp"
Agent: Creating skill "api-tester"...
       ✓ Created with custom metadata:
         - Description: Test REST APIs
         - Author: acme-corp
         - License: MIT (default)

制限事項

  • スキル名には小文字とハイフンのみ使用でき(1~64文字)、先頭は英字にする必要があります
  • 既存のディレクトリは上書きしません
  • テンプレートは最小限の構成で、出発点として使用することを想定しています

依存関係

  • Python 3.9+
  • 外部依存関係なし(Python 標準ライブラリを使用)

コメント