← スキル一覧に戻る

creating-skills
by leocavalcante
My personal dotfiles
⭐ 7🍴 1📅 2026年1月23日
SKILL.md
name: creating-skills description: Create new Agent Skills following the official specification and best practices. Use when the user wants to create a skill, write a SKILL.md file, or package instructions/workflows for reuse across conversations.
Creating Agent Skills
Quick Start
-
Determine skill location:
- Personal:
~/.claude/skills/<skill-name>/ - Project:
.claude/skills/<skill-name>/
- Personal:
-
Create directory matching the skill name
-
Create
SKILL.mdwith YAML frontmatter + markdown body -
Add supporting files as needed
SKILL.md Template
---
name: skill-name-here
description: What this skill does. When to use it. Include keywords for discovery.
---
# Skill Title
## Instructions
[Step-by-step guidance]
## Examples
[Input/output examples if helpful]
Field Requirements
See SPECIFICATION.md for complete validation rules.
name (required):
- 1-64 characters
- Lowercase alphanumeric + hyphens only
- Must match parent directory name
- Cannot start/end with hyphen or have consecutive hyphens
description (required):
- 1-1024 characters
- Write in third person (injected into system prompt)
- Include WHAT it does AND WHEN to use it
- Include keywords for discovery
Naming Convention
Use gerund form (verb + -ing):
processing-pdfsanalyzing-datagenerating-reports
Content Guidelines
- Be concise - Claude is smart; only add context it doesn't have
- Keep SKILL.md under 500 lines - Split into separate files if needed
- One level deep references - Don't nest file references
- No time-sensitive info - Avoid dates that will become stale
Progressive Disclosure Pattern
For larger skills, use this structure:
my-skill/
├── SKILL.md # Overview + navigation (<500 lines)
├── WORKFLOWS.md # Detailed procedures
├── REFERENCE.md # API/technical details
└── scripts/
└── utility.py # Executable helpers
Reference files from SKILL.md:
**Detailed workflows**: See [WORKFLOWS.md](WORKFLOWS.md)
**API reference**: See [REFERENCE.md](REFERENCE.md)
Workflow Pattern
For complex multi-step tasks, include checklists:
## Task Workflow
Copy this checklist:
```
- [ ] Step 1: Description
- [ ] Step 2: Description
- [ ] Step 3: Description
```
**Step 1: Description**
[Detailed instructions]
Validation
After creating, validate the skill:
# Check structure
ls -la ~/.claude/skills/skill-name/
# Verify SKILL.md exists and has frontmatter
head -20 ~/.claude/skills/skill-name/SKILL.md
Examples
See EXAMPLES.md for complete skill examples.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です