Skills are small markdown files that teach AI assistants how to perform specific tasks. This guide shows you how to create effective, high-quality skills.
What Makes a Good Skill?
A good skill is:- Clear: Instructions are easy to understand
- Actionable: Provides specific steps
- Complete: Covers the happy path and edge cases
- Useful: Solves a real problem
Basic Folder Structure
SKILL.md Structure
EverySKILL.md has two main parts:
1. Frontmatter (Metadata)
The frontmatter is YAML wrapped in---:
Required Fields
name
name
- Format: lowercase-with-hyphens
- Must match: The folder name exactly
- Example:
stripe-integration
description
description
- Format: String in quotes
- Length: Under 200 characters
- Example:
"Stripe payment integration patterns including checkout, subscriptions, and webhooks"
Optional Fields
risk
risk
Risk level classification:
none- Pure text/reasoning (e.g., Brainstorming)safe- Reads files, runs safe commands (e.g., Linter)critical- Modifies state, deletes files (e.g., Git Push)offensive- Pentesting/Red Team tools (requires “Authorized Use Only” warning)unknown- Legacy or unclassified (avoid for new skills)
source
source
- Purpose: Attribution
- Examples:
"community","https://github.com/user/repo","self"
tags
tags
date_added
date_added
- Format:
YYYY-MM-DD(ISO 8601) - Purpose: Track skill versioning
- Example:
"2024-01-15"
Content Sections
After the frontmatter, add the skill content:Recommended Structure
When to Use
This section helps the AI know when to activate this skill. It’s critical for discoverability.
Writing Effective Instructions
Use Clear, Direct Language
❌ Bad
You might want to consider possibly checking if the user has authentication.
✅ Good
Check if the user is authenticated before proceeding.
Use Action Verbs
❌ Bad
The file should be created…
✅ Good
Create the file…
Be Specific
❌ Bad
Set up the database properly.
✅ Good
- Create a PostgreSQL database
- Run migrations:
npm run migrate - Seed initial data:
npm run seed
Quality Bar
To earn the “Validated” badge, your skill must pass 5 automated checks:Metadata Integrity
- Valid YAML frontmatter
- Required fields present (name, description)
- Risk level specified
- Source attribution included
Clear Triggers
Must have a “When to Use” section explicitly stating when to activate the skill.Accepted headings:
## When to Use## Use this skill when## When to Use This Skill
Safety Classification
Every skill must declare its risk level:
- 🟢
none- Pure text/reasoning - 🔵
safe- Reads files, runs safe commands - 🟠
critical- Modifies state, deletes files - 🔴
offensive- Pentesting/Red Team (requires warning)
Copy-Pasteable Examples
At least one code block or interaction example that users can immediately use.
Validation
Run validation before submitting:Optional Components
Examples Directory
Real-world examples demonstrating the skill:Scripts Directory
Helper scripts for automation:Templates Directory
Reusable code templates:References Directory
External documentation or API references:Skill Size Guidelines
Minimum Viable Skill
Minimum Viable Skill
- Frontmatter: name + description
- Content: 100-200 words
- Sections: Overview + Instructions
Standard Skill
Standard Skill
- Frontmatter: name + description
- Content: 300-800 words
- Sections: Overview + When to Use + Instructions + Examples
Comprehensive Skill
Comprehensive Skill
- Frontmatter: name + description + optional fields
- Content: 800-2000 words
- Sections: All recommended sections
- Extras: Scripts, examples, templates
Contributing Your Skill
Fork the repository
Fork antigravity-awesome-skills on GitHub.
Common Mistakes to Avoid
Too Vague
❌ Bad
Make the code better.
✅ Good
- Extract repeated logic into functions
- Add error handling for edge cases
- Write unit tests for core functionality
Too Complex
❌ Bad
5000 words of dense technical jargon
✅ Good
Break into multiple skills or use progressive disclosure
No Examples
❌ Bad
Instructions without any code examples
✅ Good
At least 2-3 realistic examples showing usage
Outdated Information
❌ Bad
Use React class components…
✅ Good
Keep skills updated with current best practices
Learning from Examples
Study These Skills
For Beginners:skills/brainstorming/SKILL.md- Clear structureskills/git-pushing/SKILL.md- Simple and focusedskills/copywriting/SKILL.md- Good examples
skills/systematic-debugging/SKILL.md- Comprehensiveskills/react-best-practices/SKILL.md- Multiple filesskills/loki-mode/SKILL.md- Complex workflows
Pro Tips
Start with 'When to Use'
This clarifies the skill’s purpose before you write instructions
Write examples first
Examples help you understand what you’re teaching
Test with an AI
See if it actually works before submitting
Get feedback
Ask others to review your skill
Iterate
Skills improve over time based on usage
Next Steps
View Examples
Browse existing skills in the repository
Read Quality Bar
Understand validation requirements
Explore Workflows
See how skills work together
Join Community
Connect with other skill creators
Every expert was once a beginner. Start simple, learn from feedback, and improve over time!