write-a-skill
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o write-a-skill.zip https://jpskill.com/download/19636.zip && unzip -o write-a-skill.zip && rm write-a-skill.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19636.zip -OutFile "$d\write-a-skill.zip"; Expand-Archive "$d\write-a-skill.zip" -DestinationPath $d -Force; ri "$d\write-a-skill.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
write-a-skill.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
write-a-skillフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
スキルの作成
プロセス
-
要件の収集 - ユーザーに以下について尋ねます。
- このスキルはどのようなタスク/ドメインをカバーしますか?
- どのような特定のユースケースを処理すべきですか?
- 実行可能なスクリプトが必要ですか、それとも指示だけで十分ですか?
- 含めるべき参照資料はありますか?
-
スキルのドラフト作成 - 以下を作成します。
- 簡潔な指示を含む SKILL.md
- コンテンツが500行を超える場合は追加の参照ファイル
- 決定的な操作が必要な場合はユーティリティスクリプト
-
ユーザーとのレビュー - ドラフトを提示し、以下を尋ねます。
- これはあなたのユースケースをカバーしていますか?
- 何か不足している点や不明な点はありますか?
- 特定のセクションをより詳細に/簡潔にするべきですか?
スキルの構造
skill-name/
├── SKILL.md # メインの指示 (必須)
├── REFERENCE.md # 詳細なドキュメント (必要に応じて)
├── EXAMPLES.md # 使用例 (必要に応じて)
└── scripts/ # ユーティリティスクリプト (必要に応じて)
└── helper.js
SKILL.md テンプレート
---
name: skill-name
description: Brief description of capability. Use when [specific triggers].
---
# Skill Name
## Quick start
[Minimal working example]
## Workflows
[Step-by-step processes with checklists for complex tasks]
## Advanced features
[Link to separate files: See [REFERENCE.md](REFERENCE.md)]
説明の要件
説明は、エージェントがどのスキルをロードするかを決定する際に唯一参照するものです。これは、インストールされている他のすべてのスキルとともにシステムプロンプトに表示されます。エージェントはこれらの説明を読み、ユーザーのリクエストに基づいて関連するスキルを選択します。
目標: エージェントに以下のことを理解させるのに十分な情報を提供します。
- このスキルが提供する機能
- いつ/なぜトリガーすべきか(特定のキーワード、コンテキスト、ファイルタイプ)
形式:
- 最大1024文字
- 三人称で記述
- 最初の文:何をするか
- 2番目の文:「Use when [specific triggers]」([特定のトリガー]の場合に使用する)
良い例:
Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when user mentions PDFs, forms, or document extraction.
悪い例:
Helps with documents.
悪い例では、エージェントがこのスキルを他のドキュメントスキルと区別する方法がありません。
スクリプトを追加するタイミング
ユーティリティスクリプトは、以下の場合に追加します。
- 操作が決定論的である(検証、フォーマット)
- 同じコードが繰り返し生成される
- エラーに明示的な処理が必要
スクリプトは、生成されたコードと比較して、トークンを節約し、信頼性を向上させます。
ファイルを分割するタイミング
以下の場合にファイルを分割します。
- SKILL.md が100行を超える
- コンテンツが異なるドメインを持つ(財務と営業のスキーマなど)
- 高度な機能がめったに必要とされない
レビューチェックリスト
ドラフト作成後、以下を確認します。
- [ ] 説明にトリガー(「Use when...」)が含まれているか
- [ ] SKILL.md が100行未満であるか
- [ ] 時間に依存する情報がないか
- [ ] 用語が統一されているか
- [ ] 具体的な例が含まれているか
- [ ] 参照が1レベルの深さであるか
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Writing Skills
Process
-
Gather requirements - ask user about:
- What task/domain does the skill cover?
- What specific use cases should it handle?
- Does it need executable scripts or just instructions?
- Any reference materials to include?
-
Draft the skill - create:
- SKILL.md with concise instructions
- Additional reference files if content exceeds 500 lines
- Utility scripts if deterministic operations needed
-
Review with user - present draft and ask:
- Does this cover your use cases?
- Anything missing or unclear?
- Should any section be more/less detailed?
Skill Structure
skill-name/
├── SKILL.md # Main instructions (required)
├── REFERENCE.md # Detailed docs (if needed)
├── EXAMPLES.md # Usage examples (if needed)
└── scripts/ # Utility scripts (if needed)
└── helper.js
SKILL.md Template
---
name: skill-name
description: Brief description of capability. Use when [specific triggers].
---
# Skill Name
## Quick start
[Minimal working example]
## Workflows
[Step-by-step processes with checklists for complex tasks]
## Advanced features
[Link to separate files: See [REFERENCE.md](REFERENCE.md)]
Description Requirements
The description is the only thing your agent sees when deciding which skill to load. It's surfaced in the system prompt alongside all other installed skills. Your agent reads these descriptions and picks the relevant skill based on the user's request.
Goal: Give your agent just enough info to know:
- What capability this skill provides
- When/why to trigger it (specific keywords, contexts, file types)
Format:
- Max 1024 chars
- Write in third person
- First sentence: what it does
- Second sentence: "Use when [specific triggers]"
Good example:
Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when user mentions PDFs, forms, or document extraction.
Bad example:
Helps with documents.
The bad example gives your agent no way to distinguish this from other document skills.
When to Add Scripts
Add utility scripts when:
- Operation is deterministic (validation, formatting)
- Same code would be generated repeatedly
- Errors need explicit handling
Scripts save tokens and improve reliability vs generated code.
When to Split Files
Split into separate files when:
- SKILL.md exceeds 100 lines
- Content has distinct domains (finance vs sales schemas)
- Advanced features are rarely needed
Review Checklist
After drafting, verify:
- [ ] Description includes triggers ("Use when...")
- [ ] SKILL.md under 100 lines
- [ ] No time-sensitive info
- [ ] Consistent terminology
- [ ] Concrete examples included
- [ ] References one level deep