- name
- skill-creator
- description
- Guide for creating Agent Skills following the official specification. Use when creating new skills, validating skill structure, understanding frontmatter requirements, organizing skill resources, or ensuring compliance with Agent Skills standard.
Skill Creator
Create Agent Skills following the official specification.
Skill Structure
skill-name/
├── SKILL.md # Required
└── [optional]
├── scripts/ # Executable code
├── references/ # Documentation
└── assets/ # Templates, resourcesSKILL.md Template
---
name: skill-name
description: What the skill does and when to use it (max 1024 chars). Include specific use cases and triggers.
---
# Skill Title
Brief introduction to the skill.
## Section 1
Content with code examples...
code example
## Best Practices
1. Keep clear and focused
2. Include practical examples
3. Reference official docs
## Resources
- Link to docsFrontmatter Rules
Required Fields
name: skill-name # Max 64 chars, lowercase, hyphens only
description: Complete description of what skill does and when to use itOptional Fields
license: MIT # License identifier
metadata:
author: team-name
version: "1.0.0"
tags: [angular, typescript]Name Requirements
- Max 64 characters
- Lowercase letters, numbers, hyphens
- Cannot start/end with hyphen
- Examples:
angular-component,docker-basics
Description Requirements
- Max 1024 characters
- Non-empty
- Describe WHAT and WHEN
- Include specific triggers
- Example: "Create standalone Angular components with signal inputs/outputs. Use when creating components, refactoring to standalone, or implementing OnPush change detection."
Content Guidelines
- Keep focused - One topic per skill
- Under 500 lines - Move details to references/
- Include examples - Practical, working code
- Add resources - Link to official docs
- Use clear sections - Organize logically
Validation
# Install validator
npm install -g @agentskills/skills-ref
# Validate skill
skills-ref validate path/to/skill
# Generate prompt XML
skills-ref generate path/to/skillBest Practices
- Start with examples - Understand use cases
- Be concise - Claude is smart, avoid over-explaining
- Focus on procedural knowledge - Not general facts
- Progressive disclosure - Core in SKILL.md, details in references/
- Test the skill - Use it with Claude/agent
- Iterate based on usage - Improve from real use
Common Mistakes to Avoid
❌ Name with uppercase: Angular-Component ✅ Correct: angular-component
❌ Description too short: "Angular components" ✅ Good: "Create standalone Angular components with signal inputs. Use when..."
❌ Too long (>500 lines) ✅ Split into references/
❌ Missing examples ✅ Include working code
Resources
- Agent Skills Spec: https://agentskills.io/specification
- GitHub: https://github.com/agentskills/agentskills
- Examples: https://github.com/analogjs/angular-skills