| name | skill-creator |
| description | Guide for creating effective Claude Code skills. Use when the user wants to create a new skill, update an existing skill, or learn how to structure a skill. Triggers on "create a skill", "make a skill", "add a skill", "/skill-creator". |
Skill Creator
Skills are self-contained packages that extend Claude's capabilities with specialized workflows, domain knowledge, and reusable resources.
Anatomy of a Skill
skill-name/
āāā SKILL.md ā required: frontmatter + instructions
āāā scripts/ ā optional: executable code (Python/Bash)
āāā references/ ā optional: docs loaded into context as needed
āāā assets/ ā optional: templates, images, fonts used in output
SKILL.md Frontmatter
Only name and description are required. The description is the primary trigger ā write it to cover all "when to use" cases, because the body only loads after the skill triggers.
---
name: my-skill
description: What this skill does and when to use it. Include all trigger phrases and use cases here. Example: "Use when the user wants to X, Y, or Z. Triggered by 'do X', '/my-skill', or 'help me with Y'."
---
Body: Degrees of Freedom
Match specificity to the task:
| Task type | Use |
|---|
| Many valid approaches | Free-form text instructions |
| Preferred pattern with some variation | Pseudocode or parameterized scripts |
| Fragile, must be exact | Specific scripts with few params |
Core Principles
Concise is key ā Context window is shared. Only include what Claude doesn't already know.
Progressive disclosure ā Keep SKILL.md under 500 lines. Move detailed content to references/ files and link them explicitly from SKILL.md.
No extra docs ā No README.md, CHANGELOG.md, INSTALLATION.md in the skill. Only files the AI agent needs.
Creation Process
1. Understand with Examples
Ask the user:
- What tasks should this skill handle?
- Give 2-3 concrete examples of how it would be used.
- What should trigger it?
2. Plan Resources
For each example, think:
- Is there code that gets rewritten repeatedly? ā
scripts/
- Is there domain knowledge Claude needs? ā
references/
- Are there templates/files used in output? ā
assets/
3. Create the Skill Directory
mkdir -p skills/my-skill/scripts skills/my-skill/references skills/my-skill/assets
Delete unused subdirectories.
4. Write SKILL.md
- Frontmatter:
name + comprehensive description
- Body: Workflow steps, key commands, when to use references
- If supporting multiple variants (AWS/GCP/Azure, React/Vue/etc.), keep SKILL.md lean and use
references/<variant>.md
5. Add Bundled Resources
Scripts ā Write, then test by actually running them:
python skills/my-skill/scripts/my_script.py
References ā Documentation, schemas, API specs. For files >100 lines, add a table of contents at the top.
Assets ā Templates or boilerplate to copy/modify (not loaded into context, used in output).
6. Validate Structure
ā
SKILL.md has name + description in frontmatter
ā
Description covers all trigger cases
ā
Body is under 500 lines
ā
References linked explicitly from SKILL.md
ā
Scripts tested and working
ā
No extraneous documentation files
7. Add to This Repo
Place the skill folder in skills/ and update README.md table.
Reference File Patterns
Pattern 1 ā High-level + references:
## Advanced features
- Form filling: See [references/forms.md](references/forms.md)
- API reference: See [references/api.md](references/api.md)
Pattern 2 ā Multi-variant:
cloud-deploy/
āāā SKILL.md (selection logic)
āāā references/
āāā aws.md
āāā gcp.md
āāā azure.md
Pattern 3 ā Conditional:
For basic edits, modify directly.
**For tracked changes**: See [references/redlining.md](references/redlining.md)
Keep references one level deep ā all link directly from SKILL.md.