Create Skill Skill
This skill guides you through creating a well-structured Claude Skill with proper frontmatter and effective instructions.
When to Use This Skill
Activate this skill when the user wants to:
- Create a new Claude Skill
- Add a specific capability to Claude
- Structure a skill definition file
- Understand skill components (frontmatter, instructions, reference files)
Skill Creation Workflow
1. Understand Skill Purpose
Ask the user (or infer from context):
- What capability should this skill provide?
- When should Claude activate this skill?
- Does it need reference materials or examples?
- Will it process files or provide guidelines?
2. Determine Skill Type
Skill Types:
- Guidelines/Standards - Brand guidelines, coding standards, compliance rules
- Process/Workflow - Data processing, file conversion, analysis workflows
- Tool Integration - API usage, external tool interaction, documentation generation
- Reference/Knowledge - Domain knowledge, company policies, technical specifications
Structure Needs:
- Simple: Just SKILL.md with instructions
- Medium: SKILL.md + reference.md for detailed docs
- Complex: SKILL.md + reference.md + examples.md + templates/
- Advanced: All above + scripts/ for helper utilities
3. Generate Skill File
Create a directory with at minimum a SKILL.md file:
---
name: skill-name
description: Brief description of what this skill does and when to use it
---
# Skill Title
[2-3 sentence overview of what this skill provides]
## When to Use
[Clear trigger conditions for when Claude should use this skill]
## Instructions
[Step-by-step instructions for Claude to follow]
## Examples
[Optional: Show example usage scenarios]
4. Write Effective Description
Requirements:
- Use third person point of view
- Explain WHAT the skill does
- Explain WHEN to use it
- Maximum 1024 characters
- Be specific, not vague
Good examples:
- ✅ "Applies Acme Corp brand guidelines to all presentations and documents including logo usage, color palette, typography, and approved messaging"
- ✅ "Processes Excel files and generates formatted reports with charts, summaries, and automated insights"
Bad examples:
- ❌ "Use this skill to apply brand guidelines" (wrong POV)
- ❌ "I help with documentation" (wrong POV)
- ❌ "Helps with Excel files" (too vague)
5. Structure Instructions
Core sections:
- Overview - What this skill provides (2-3 sentences)
- When to Use - Clear activation triggers
- Instructions - Specific, actionable steps
- Examples - Concrete usage scenarios
- Reference Materials - Links to detailed docs (if applicable)
Instruction writing tips:
- Be specific and concrete
- Use lists and headers for clarity
- Include examples where helpful
- Avoid vague statements
- Show correct and incorrect usage
6. Validation Checklist
Before saving, verify:
Skill File Naming
Save skill directories as:
.claude/skills/[name]/ (for local project)
- Or in your agent package's
templates/claude/skills/ directory
Directory name should match the name field in frontmatter.
Quick Start Templates
For common skill types, consider using these templates as starting points:
templates/basic-skill.md - Generic structure
templates/guidelines-skill.md - Standards/brand guidelines pattern
templates/process-skill.md - Data processing workflow pattern
templates/tool-integration-skill.md - External tool/API integration pattern
Access templates with: "Use the guidelines skill template"
Reference Materials
For detailed information, consult:
reference.md - Complete skill structure documentation
examples.md - Real-world skill examples with pattern analysis
Tips for Effective Skills
- Clear Triggers: Description should make it obvious when to use the skill
- Third Person: Always write "Provides X" not "Use this to X"
- Specific Instructions: Give Claude concrete steps, not vague guidance
- Progressive Disclosure: Use reference.md for details, SKILL.md for workflow
- Examples Matter: Show real scenarios, not placeholder text
- Test with Scenarios: Try skill with realistic requests after creation
Skill vs Agent Differences
| Aspect |
Skills |
Agents |
| Purpose |
Add capabilities to Claude |
Define Claude personas |
| Frontmatter |
Simple (name, description, version) |
Complex (model, color, tools, examples) |
| Content |
Instructions for Claude to follow |
System prompts defining behavior |
| POV |
Third person ("Provides X") |
Can be first/second person |
| Activation |
Model-invoked based on description |
Explicit invocation or auto-delegation |
| Examples |
Usage scenarios in instructions |
Invocation phrases in frontmatter |
When to use Skills:
- Adding domain knowledge or guidelines
- Providing process instructions
- Integrating with external tools
- Reference materials and standards
When to use Agents:
- Defining specialized personas (code reviewer, architect)
- Creating focused sub-agents with dedicated context
- Needing specific tool access restrictions
- Role-based task delegation
Common Patterns
Brand Guidelines Skill
- Type: Guidelines/Standards
- Structure: SKILL.md + reference.md + examples.md
- Content: Logo rules, color palette, typography, messaging
Data Processing Skill
- Type: Process/Workflow
- Structure: SKILL.md + reference.md + examples.md
- Content: Input validation, processing steps, output format
API Documentation Skill
- Type: Tool Integration
- Structure: SKILL.md + reference.md + examples.md + templates/
- Content: Spec parsing, doc generation, output format
Architecture Patterns Skill
- Type: Reference/Knowledge
- Structure: SKILL.md + reference.md
- Content: Pattern catalog, decision frameworks, best practices
Example Invocations
Here are examples of how users might request different skills:
- "Create a skill for our brand guidelines"
- "I need a skill that processes CSV files"
- "Make a skill for API documentation generation"
- "Build a skill for code review checklists"
- "Create a skill with company policies"
For each request, determine the appropriate type and structure based on the patterns above.
1---2name: create-skill3description: Create well-formed Claude Skills with proper YAML frontmatter and clear instructions. Use when user wants to create a new skill, add capabilities to Claude, or needs help structuring a skill definition.4---56# Create Skill Skill78This skill guides you through creating a well-structured Claude Skill with proper frontmatter and effective instructions.910## When to Use This Skill1112Activate this skill when the user wants to:13- Create a new Claude Skill14- Add a specific capability to Claude15- Structure a skill definition file16- Understand skill components (frontmatter, instructions, reference files)1718## Skill Creation Workflow1920### 1. Understand Skill Purpose2122Ask the user (or infer from context):23- What capability should this skill provide?24- When should Claude activate this skill?25- Does it need reference materials or examples?26- Will it process files or provide guidelines?2728### 2. Determine Skill Type2930**Skill Types**:31- **Guidelines/Standards** - Brand guidelines, coding standards, compliance rules32- **Process/Workflow** - Data processing, file conversion, analysis workflows33- **Tool Integration** - API usage, external tool interaction, documentation generation34- **Reference/Knowledge** - Domain knowledge, company policies, technical specifications3536**Structure Needs**:37- **Simple**: Just SKILL.md with instructions38- **Medium**: SKILL.md + reference.md for detailed docs39- **Complex**: SKILL.md + reference.md + examples.md + templates/40- **Advanced**: All above + scripts/ for helper utilities4142### 3. Generate Skill File4344Create a directory with at minimum a SKILL.md file:4546```markdown47---48name: skill-name49description: Brief description of what this skill does and when to use it50---5152# Skill Title5354[2-3 sentence overview of what this skill provides]5556## When to Use5758[Clear trigger conditions for when Claude should use this skill]5960## Instructions6162[Step-by-step instructions for Claude to follow]6364## Examples6566[Optional: Show example usage scenarios]67```6869### 4. Write Effective Description7071**Requirements**:72- Use third person point of view73- Explain WHAT the skill does74- Explain WHEN to use it75- Maximum 1024 characters76- Be specific, not vague7778**Good examples**:79- ✅ "Applies Acme Corp brand guidelines to all presentations and documents including logo usage, color palette, typography, and approved messaging"80- ✅ "Processes Excel files and generates formatted reports with charts, summaries, and automated insights"8182**Bad examples**:83- ❌ "Use this skill to apply brand guidelines" (wrong POV)84- ❌ "I help with documentation" (wrong POV)85- ❌ "Helps with Excel files" (too vague)8687### 5. Structure Instructions8889**Core sections**:90911. **Overview** - What this skill provides (2-3 sentences)922. **When to Use** - Clear activation triggers933. **Instructions** - Specific, actionable steps944. **Examples** - Concrete usage scenarios955. **Reference Materials** - Links to detailed docs (if applicable)9697**Instruction writing tips**:98- Be specific and concrete99- Use lists and headers for clarity100- Include examples where helpful101- Avoid vague statements102- Show correct and incorrect usage103104### 6. Validation Checklist105106Before saving, verify:107- [ ] YAML frontmatter is valid (triple dashes `---`)108- [ ] Name is lowercase with hyphens (max 64 chars)109- [ ] Description is clear and actionable (< 1024 chars)110- [ ] Description uses third person ("Provides", "Generates", "Applies")111- [ ] Description explains WHAT and WHEN112- [ ] Instructions are clear and specific113- [ ] Examples are concrete (not vague or placeholder)114- [ ] File saved in correct location115116## Skill File Naming117118Save skill directories as:119- `.claude/skills/[name]/` (for local project)120- Or in your agent package's `templates/claude/skills/` directory121122Directory name should match the `name` field in frontmatter.123124## Quick Start Templates125126For common skill types, consider using these templates as starting points:127- `templates/basic-skill.md` - Generic structure128- `templates/guidelines-skill.md` - Standards/brand guidelines pattern129- `templates/process-skill.md` - Data processing workflow pattern130- `templates/tool-integration-skill.md` - External tool/API integration pattern131132Access templates with: "Use the guidelines skill template"133134## Reference Materials135136For detailed information, consult:137- `reference.md` - Complete skill structure documentation138- `examples.md` - Real-world skill examples with pattern analysis139140## Tips for Effective Skills1411421. **Clear Triggers**: Description should make it obvious when to use the skill1432. **Third Person**: Always write "Provides X" not "Use this to X"1443. **Specific Instructions**: Give Claude concrete steps, not vague guidance1454. **Progressive Disclosure**: Use reference.md for details, SKILL.md for workflow1465. **Examples Matter**: Show real scenarios, not placeholder text1476. **Test with Scenarios**: Try skill with realistic requests after creation148149## Skill vs Agent Differences150151| Aspect | Skills | Agents |152|--------|--------|--------|153| **Purpose** | Add capabilities to Claude | Define Claude personas |154| **Frontmatter** | Simple (name, description, version) | Complex (model, color, tools, examples) |155| **Content** | Instructions for Claude to follow | System prompts defining behavior |156| **POV** | Third person ("Provides X") | Can be first/second person |157| **Activation** | Model-invoked based on description | Explicit invocation or auto-delegation |158| **Examples** | Usage scenarios in instructions | Invocation phrases in frontmatter |159160**When to use Skills**:161- Adding domain knowledge or guidelines162- Providing process instructions163- Integrating with external tools164- Reference materials and standards165166**When to use Agents**:167- Defining specialized personas (code reviewer, architect)168- Creating focused sub-agents with dedicated context169- Needing specific tool access restrictions170- Role-based task delegation171172## Common Patterns173174### Brand Guidelines Skill175- **Type**: Guidelines/Standards176- **Structure**: SKILL.md + reference.md + examples.md177- **Content**: Logo rules, color palette, typography, messaging178179### Data Processing Skill180- **Type**: Process/Workflow181- **Structure**: SKILL.md + reference.md + examples.md182- **Content**: Input validation, processing steps, output format183184### API Documentation Skill185- **Type**: Tool Integration186- **Structure**: SKILL.md + reference.md + examples.md + templates/187- **Content**: Spec parsing, doc generation, output format188189### Architecture Patterns Skill190- **Type**: Reference/Knowledge191- **Structure**: SKILL.md + reference.md192- **Content**: Pattern catalog, decision frameworks, best practices193194## Example Invocations195196Here are examples of how users might request different skills:197198- "Create a skill for our brand guidelines"199- "I need a skill that processes CSV files"200- "Make a skill for API documentation generation"201- "Build a skill for code review checklists"202- "Create a skill with company policies"203204For each request, determine the appropriate type and structure based on the patterns above.