skill-coach
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.
What this skill does
# 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: 1. **Activate precisely** - Specific keywords trigger, NOT clause prevents false activation 2. **Encode shibboleths** - Expert knowledge that separates novice from expert approaches 3. **Surface anti-patterns** - "If you see X, that's wrong because Y, use Z instead" 4. **Capture temporal knowledge** - "Pre-2024: X. 2024+: Y. Watch for: LLMs suggesting X" 5. **Know their limits** - "Use this for A, B, C. NOT for D, E, F. For D use skill-name-2" 6. **Provide decision trees** - Not templates, but "If X then A, if Y then B, never C" 7. **Stay under 500 lines** - Core in SKILL.md, deep dives in /references ## Quick Wins **Immediate improvements for existing skills**: 1. **Add NOT clause** to description → Prevents false activation 2. **Add 1-2 anti-patterns** → Prevents common mistakes 3. **Check line count** (`wc -l`) → Should be <500 4. **Remove dead files** → Delete unreferenced scripts/references 5. **Test activation** → Ask questions that should/shouldn't trigger it ## Quick Start **Creating a New Skill**: 1. Define scope: What expertise? What keywords? What NOT to handle? 2. Write description with keywords and NOT clause 3. Add anti-patterns you've observed 4. Test activation thoroughly 5. 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: ```markdown ## 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: ```markdown ## 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 ```markdown --- 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 ```yaml # 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, causing errors and confusion. **What to do instead**: Only reference files that actually exist. If you want to suggest scripts, either: 1. Include them in the skill 2. Show inline code examples 3. Clearly mark as "Example - not included" **How to detect**: `find skill-dir/ -type f` and verify all referenced paths exist ### Anti-Pattern: Description Soup **What it looks like**: ```yaml description: Helps with many things including X, Y, Z, and also A, B, C, plus general assistance ``` **Why it's wrong**: Vague descriptions cause: - False activations (activates when shouldn't) - Missed activations (doesn't activate when should) - Token waste (loads unnecessary context) **What to do instead**: Specific trigger keywords + clear exclusions ```yaml description: [Core capability]. Use for [A, B, C]. Activate on keywords: "X", "Y", "Z". NOT for [D, E, F]. ``` ### Anti-Pattern: Template Theater **What it looks like**: Skill is 90% templates and examples, 10% actual instructions **Why it's wrong**: Claude doesn't need templates - it needs expert knowledge and decision trees. Templates are for humans. **What to do instead**: - Focus on WHEN to use patterns, not just WHAT the patterns are - Encode decision logic: "If X, use A; if Y, use B; never use C" - Include anti-patterns and edge cases ### Anti-Pattern: The Everything Skill **What it looks like**: One skill trying to handle an entire domain ```yaml name: web-dev-expert description: Handles all web development tasks ``` **Why it's wrong**: - Too broad to activate correctly - Mixes concerns (React ≠ API design ≠ CSS) - Violates progressive disclosure **What to do instead**: Create focused, composable skills: - `react-performance-expert` - `api-design-expert` - `css-layout-expert` ### Anti-Pattern: Orphaned Sections **What it looks like**: Skill has `/references/deep_dive.md` but never tells Claude when to read it **Why it's wrong**: Files exist but are never used = wasted space **What to do instead**: Explicit triggers in main SKILL.md: ```markdown For database-specific anti-patterns, see `/references/database_antipatterns.md` ``` ## Evolution Timeline: Skill Framework Best Practices ### 2024 Early: First Skills - Basic SKILL.md files - Heavy use of bash scripts - Minimal structure ### 2024 Mid: Progressive Disclosure - Introduction of phased loading - `allowed-tools` constraints - Reference directory pattern ### 2024 Late: Anti-Pattern Focus - Shift from "what to do" to "what NOT to do" - Temporal knowledge capture - Shibboleth encoding ### 2025: Current Best Practices - Sub-500 line SKILL.md - Validation-first approach - Clear activation boundaries - Working code examples (not just templates) ## Domain-Specific Shibboleths Shibboleths = deep knowledge that separates novices from experts. ### Skill Creation Shibboleths **Novice skill creator**: - "I'll make a comprehensive skill that handles everything related to X" - Focuses on templates and examples - Description: "Helps wi
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.