Create Skill
Skill Structure
code
skill-name/ ├── SKILL.md # instructions + metadata ├── scripts/ # executable code (optional) ├── references/ # documentation (optional) └── assets/ # templates/resources (optional)
Requirements
- •Frontmatter: Must include
name(lowercase-alphanumeric) anddescription. - •Description: Must include what it does and when to use it.
- •Body: Keep under 500 lines. Use imperative language.
- •Resources: Move detailed docs to
references/and code toscripts/.
Process
- •Directory:
mkdir <name>. Createscripts/,references/, orassets/only if you actually have content for them. - •Metadata: Write the
SKILL.mdfrontmatter first. - •Resources: Implement scripts and test them.
- •Instructions: Write concise steps in
SKILL.mdbody. - •Verify: Ensure frontmatter name matches directory name.