SKILL.md
Frontmatter fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique identifier (kebab-case) |
version | semver | No | Skill version (stored in metadata sub-block, not a top-level field) |
description | string | Yes | One-line summary of what the skill does |
tags | string[] | No | Categorization tags |
author | string | No | Skill author |
allowed-tools | string[] | No | Claude Code tool names the skill may use |
triggers | string[] | No | Activation phrases that invoke this skill |
user-invocable | boolean | No | Whether users can invoke directly via slash command |
Sections
Instructions
The core of the skill. Write clear, numbered steps that tell the agent exactly what to do. Be specific; agents follow instructions literally.Constraints
Rules the agent must follow. Constraints prevent common mistakes and enforce your team’s conventions.Verification
A checklist the agent can use to validate its own output. Each item should be independently verifiable.Examples
Concrete input/output pairs show the agent exactly what behavior you expect.Multi-file skills
Complex skills can span multiple files in a directory:react-component
SKILL.md
templates/component.tsx.template
templates/test.tsx.template
examples/Button.tsx
SKILL.md file is the entry point. Additional files provide templates, examples, or reference material that the skill can point to.