Guides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices. Use when creating skills, reviewing existing skills, or when users mention improving skill quality, encoding expertise, or avoiding common AI tooling mistakes. Activate on keywords: create skill, review skill, skill quality, skill best practices, skill anti-patterns. NOT for general coding advice or non-skill Claude Code features.
This skill helps you create Agent Skills that encode real domain expertise, not just surface-level instructions. It focuses on the shibboleths - the deep knowledge that separates novices from experts.
✅ Use for:
❌ NOT for:
Great skills are progressive disclosure machines that:
Immediate improvements for existing skills:
wc -l) → Should be <500Creating a New Skill:
Skills load in three phases:
Critical: Keep SKILL.md under 500 lines. Split details into /references.
The description is your activation trigger. Formula: [What] [Use for] [Keywords] NOT for [Exclusions]
Progression from Bad → Good:
❌ Bad: description: Helps with images
⚠️ Better: description: Image processing with CLIP
✅ Good: description: CLIP semantic search. Use for image-text matching, zero-shot classification. Activate on "CLIP", "embeddings", "image search". NOT for counting, fine-grained classification, spatial reasoning.
Great skills actively warn about common mistakes. Structure:
## Common Anti-Patterns
### Pattern: [Name]
**What it looks like**: [Code example or description]
**Why it's wrong**: [Fundamental reason]
**What to do instead**: [Better approach]
**How to detect**: [Validation rule]
Technology evolves. Capture what changed and when:
## Evolution Timeline
### Pre-2024: Old Approach
[What people used to do]
### 2024-Present: Current Best Practice
[What changed and why]
### Watch For
[Deprecated patterns LLMs might still suggest]
Mandatory:
your-skill/
└── SKILL.md # Core instructions (<500 lines)
Optional (only if needed):
├── scripts/ # Working code (not templates)
├── references/ # Deep dives (referenced from SKILL.md)
├── assets/ # Config files, templates
└── examples/ # Concrete good/bad examples
Anti-pattern: Creating structure "just in case" - only add files that SKILL.md references
---