| name | create-skill |
| description | Use when creating new Claude Code skills - guides SKILL.md structure, description writing, and file organization |
Creating Claude Code Skills
Skills are directories with a SKILL.md file that extend Claude's capabilities. Claude auto-discovers them based on the description field.
Location
.claude/skills/skill-name/
~/.claude/skills/skill-name/
SKILL.md Structure
---
name: kebab-case-name
description: [WHAT] + [WHEN]
allowed-tools: Read, Grep
---
Clear, actionable guidance for Claude. Include examples inline if short.
The Description is Everything
Claude decides when to use a skill based ONLY on the description. Be specific about both WHAT and WHEN.
description: Use when creating pull requests - handles branch naming, commit messages, and PR descriptions
description: Write SEO-optimized markdown articles with proper frontmatter and structure
description: Helps with git stuff
description: Formats code according to standards
Supporting Files (Optional)
Most skills only need SKILL.md. Add supporting files ONLY when the content is too large or complex for the main file.
my-skill/
├── SKILL.md # Required - main instructions
├── templates.md # Only if templates are extensive
└── scripts/
└── helper.sh # Only if automation is needed
When to add templates.md:
- Multiple reusable formats (PR templates, code snippets, config examples)
- Content too long to inline in SKILL.md
When to add scripts/:
- Automation Claude should execute (build, deploy, data transform)
- Complex multi-step shell commands
Reference them from SKILL.md when relevant:
Use the PR template from [templates.md](templates.md).
Run `bash scripts/deploy.sh` to publish.
Claude reads supporting files on-demand - don't add them "just in case".
Checklist