skill-coach
FreeNo executable scriptsNot checkedGuides creation of high-quality Agent Skills with domain expertise, anti-pattern detection, and progressive disclosure best practices. Use when creating…
by curiositech★ 283 GitHub starsAbout this skill
Skill Coach: Creating Expert-Level Agent Skills
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.
When to Use This Skill
✅ Use for:
- Creating new Agent Skills from scratch
- Reviewing/auditing existing skills
- Improving skill activation rates
- Adding domain expertise to skills
- Debugging why skills don't activate
❌ NOT for:
- General Claude Code features (slash commands, MCPs)
- Non-skill coding advice
- Debugging runtime errors in skills (use specific domain skills)
- Project setup unrelated to skills
What Makes a Great Skill
Great skills are progressive disclosure machines that:
- Activate precisely - Specific keywords trigger, NOT clause prevents false activation
- Encode shibboleths - Expert knowledge that separates novice from expert approaches
- Surface anti-patterns - "If you see X, that's wrong because Y, use Z instead"
- Capture temporal knowledge - "Pre-2024: X. 2024+: Y. Watch for: LLMs suggesting X"
- Know their limits - "Use this for A, B, C. NOT for D, E, F. For D use skill-name-2"
- Provide decision trees - Not templates, but "If X then A, if Y then B, never C"
- Stay under 500 lines - Core in SKILL.md, deep dives in /references
Quick Wins
Immediate improvements for existing skills:
- Add NOT clause to description → Prevents false activation
- Add 1-2 anti-patterns → Prevents common mistakes
- Check line count (
wc -l) → Should be <500 - Remove dead files → Delete unreferenced scripts/references
- Test activation → Ask questions that should/shouldn't trigger it
Quick Start
Creating a New Skill:
- Define scope: What expertise? What keywords? What NOT to handle?
- Write description with keywords and NOT clause
- Add anti-patterns you've observed
- Test activation thoroughly
- Use Review Checklist below
Core Principles
1. Progressive Disclosure Architecture
Skills load in three phases:
- Phase 1 (~100 tokens): Metadata (name, description) - "Should I activate?"
- Phase 2 (<5k tokens): Main instructions in SKILL.md - "How do I do this?"
- Phase 3 (as needed): Scripts, references, assets - "Show me the details"
Critical: Keep SKILL.md under 500 lines. Split details into /references.
2. Description Field Design
The description is your activation trigger. Formula: [What] [Use for] [Keywords] NOT for [Exclusions]
Progression from Bad → Good:
❌ Bad: description: Helps with images
- Too vague, no keywords, no exclusions
⚠️ Better: description: Image processing with CLIP
- Has keyword (CLIP) but no use cases or exclusions
✅ 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.
- Clear capability, use cases, keywords, and exclusions
3. Anti-Pattern Detection
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]
4. Temporal Knowledge
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]
Skill Structure
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
SKILL.md Template Structure
---
name: your-skill-name
description: [What] [When] [Triggers]. NOT for [Exclusions].
allowed-tools: Read,Write # Minimal only
---
# Skill Name
[One sentence purpose]
## When to Use
✅ Use for: [A, B, C]
❌ NOT for: [D, E, F]
## Core Instructions
[Step-by-step, decision trees, not templates]
## Common Anti-Patterns
### [Pattern]
**Symptom**: [Recognition]
**Problem**: [Why wrong]
**Solution**: [Better approach]
Anti-Patterns in Skill Creation
Anti-Pattern: The Reference Illusion
What it looks like: Skill references scripts/files that don't exist
# Quick Start
Run `python scripts/validate.py` to check your skill
But /scripts/validate.py doesn't exist in the skill directory.
Why it's wrong: Claude will try to use non-existent files,
Install skill-coach in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadWriteBashGlobGrepEditBundled files
FAQ
What does the skill-coach skill do?
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.
How do I install the skill-coach skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the skill-coach skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic