Skill judge

Evaluate Agent Skill design quality against official specifications and best practices.

by davila7·MIT license·★ 32,299 Stars on the repo·GitHub ↗

Use now

Files of Skill judge

davila7/main1 file shown
SKILL.md
Show the full text753 lines

Skill Judge

Evaluate Agent Skills against official specifications and patterns derived from 17+ official examples.


Core Philosophy

What is a Skill?

A Skill is NOT a tutorial. A Skill is a knowledge externalization mechanism.

Traditional AI knowledge is locked in model parameters. To teach new capabilities:

Traditional: Collect data → GPU cluster → Train → Deploy new version
Cost: $10,000 - $1,000,000+
Timeline: Weeks to months

Skills change this:

Skill: Edit SKILL.md → Save → Takes effect on next invocation
Cost: $0
Timeline: Instant

This is the paradigm shift from "training AI" to "educating AI" — like a hot-swappable LoRA adapter that requires no training. You edit a Markdown file in natural language, and the model's behavior changes.

The Core Formula

Good Skill = Expert-only Knowledge − What Claude Already Knows

A Skill's value is measured by its knowledge delta — the gap between what it provides and what the model already knows.

  • Expert-only knowledge: Decision trees, trade-offs, edge cases, anti-patterns, domain-specific thinking frameworks — things that take years of experience to accumulate
  • What Claude already knows: Basic concepts, standard library usage, common programming patterns, general best practices

When a Skill explains "what is PDF" or "how to write a for-loop", it's compressing knowledge Claude already has. This is token waste — context window is a public resource shared with system prompts, conversation history, other Skills, and user requests.

Tool vs Skill
Concept Essence Function Example
Tool What model CAN do Execute actions bash, read_file, write_file, WebSearch
Skill What model KNOWS how to do Guide decisions PDF processing, MCP building, frontend design

Tools define capability boundaries — without bash tool, model can't execute commands. Skills inject knowledge — without frontend-design Skill, model produces generic UI.

The equation:

General Agent + Excellent Skill = Domain Expert Agent

Same Claude model, different Skills loaded, becomes different experts.

Three Types of Knowledge in Skills

When evaluating, categorize each section:

Type Definition Treatment
Expert Claude genuinely doesn't know this Must keep — this is the Skill's value
Activation Claude knows but may not think of Keep if brief — serves as reminder
Redundant Claude definitely knows this Should delete — wastes tokens

The art of Skill design is maximizing Expert content, using Activation sparingly, and eliminating Redundant ruthlessly.


Evaluation Dimensions (120 points total)

D1: Knowledge Delta (20 points) — THE CORE DIMENSION

The most important dimension. Does the Skill add genuine expert knowledge?

Score Criteria
0-5 Explains basics Claude knows (what is X, how to write code, standard library tutorials)
6-10 Mixed: some expert knowledge diluted by obvious content
11-15 Mostly expert knowledge with minimal redundancy
16-20 Pure knowledge delta — every paragraph earns its tokens

Red flags (instant score ≤5):

  • "What is [basic concept]" sections
  • Step-by-step tutorials for standard operations
  • Explaining how to use common libraries
  • Generic best practices ("write clean code", "handle errors")
  • Definitions of industry-standard terms

Green flags (indicators of high knowledge delta):

  • Decision trees for non-obvious choices ("when X fails, try Y because Z")
  • Trade-offs only an expert would know ("A is faster but B handles edge case C")
  • Edge cases from real-world experience
  • "NEVER do X because [non-obvious reason]"
  • Domain-specific thinking frameworks

Evaluation questions:

  1. For each section, ask: "Does Claude already know this?"
  2. If explaining something, ask: "Is this explaining TO Claude or FOR Claude?"
  3. Count paragraphs that are Expert vs Activation vs Redundant

D2: Mindset + Appropriate Procedures (15 points)

Does the Skill transfer expert thinking patterns along with necessary domain-specific procedures?

The difference between experts and novices isn't "knowing how to operate" — it's "how to think about the problem." But thinking patterns alone aren't enough when Claude lacks domain-specific procedural knowledge.

Key distinction:

Type Example Value
Thinking patterns "Before designing, ask: What makes this memorable?" High — shapes decision-making
Domain-specific procedures "OOXML workflow: unpack → edit XML → validate → pack" High — Claude may not know this
Generic procedures "Step 1: Open file, Step 2: Edit, Step 3: Save" Low — Claude already knows
Score Criteria
0-3 Only generic procedures Claude already knows
4-7 Has domain procedures but lacks thinking frameworks
8-11 Good balance: thinking patterns + domain-specific workflows
12-15 Expert-level: shapes thinking AND provides procedures Claude wouldn't know

What counts as valuable procedures:

  • Workflows Claude hasn't been trained on (new tools, proprietary systems)
  • Correct ordering that's non-obvious (e.g., "validate BEFORE packing, not after")
  • Critical steps that are easy to miss (e.g., "MUST recalculate formulas after editing")
  • Domain-specific sequences (e.g., MCP server's 4-phase development process)

What counts as redundant procedures:

  • Generic file operations (open, read, write, save)
  • Standard programming patterns (loops, conditionals, error handling)
  • Common library usage that's well-documented

Expert thinking patterns look like:

Before [action], ask yourself:
- **Purpose**: What problem does this solve? Who uses it?
- **Constraints**: What are the hidden requirements?
- **Differentiation**: What makes this solution memorable?

Valuable domain procedures look like:

### Redlining Workflow (Claude wouldn't know this sequence)
1. Convert to markdown: `pandoc --track-changes=all`
2. Map text to XML: grep for text in document.xml
3. Implement changes in batches of 3-10
4. Pack and verify: check ALL changes were applied

Redundant generic procedures look like:

Step 1: Open the file
Step 2: Find the section
Step 3: Make the change
Step 4: Save and test

The test:

  1. Does it tell Claude WHAT to think about? (thinking patterns)
  2. Does it tell Claude HOW to do things it wouldn't know? (domain procedures)

A good Skill provides both when needed.


D3: Anti-Pattern Quality (15 points)

Does the Skill have effective NEVER lists?

Why this matters: Half of expert knowledge is knowing what NOT to do. A senior designer sees purple gradient on white background and instinctively cringes — "too AI-generated." This intuition for "what absolutely not to do" comes from stepping on countless landmines.

Claude hasn't stepped on these landmines. It doesn't know Inter font is overused, doesn't know purple gradients are the signature of AI-generated content. Good Skills must explicitly state these "absolute don'ts."

Score Criteria
0-3 No anti-patterns mentioned
4-7 Generic warnings ("avoid errors", "be careful", "consider edge cases")
8-11 Specific NEVER list with some reasoning
12-15 Expert-grade anti-patterns with WHY — things only experience teaches

Expert anti-patterns (specific + reason):

NEVER use generic AI-generated aesthetics like:
- Overused font families (Inter, Roboto, Arial)
- Cliched color schemes (particularly purple gradients on white backgrounds)
- Predictable layouts and component patterns
- Default border-radius on everything

Weak anti-patterns (vague, no reasoning):

Avoid making mistakes.
Be careful with edge cases.
Don't write bad code.

The test: Would an expert read the anti-pattern list and say "yes, I learned this the hard way"? Or would they say "this is obvious to everyone"?


D4: Specification Compliance — Especially Description (15 points)

Does the Skill follow official format requirements? Special focus on description quality.

Score Criteria
0-5 Missing frontmatter or invalid format
6-10 Has frontmatter but description is vague or incomplete
11-13 Valid frontmatter, description has WHAT but weak on WHEN
14-15 Perfect: comprehensive description with WHAT, WHEN, and trigger keywords

Frontmatter requirements:

  • name: lowercase, alphanumeric + hyphens only, ≤64 characters
  • description: THE MOST CRITICAL FIELD — determines if skill gets used at all

Why description is THE MOST IMPORTANT field:

┌─────────────────────────────────────────────────────────────────────┐
│  SKILL ACTIVATION FLOW                                              │
│                                                                     │
│  User Request → Agent sees ALL skill descriptions → Decides which  │
│                 (only descriptions, not bodies!)     to activate    │
│                                                                     │
│  If description doesn't match → Skill NEVER gets loaded            │
│  If description is vague → Skill might not trigger when it should  │
│  If description lacks keywords → Skill is invisible to the Agent   │
└─────────────────────────────────────────────────────────────────────┘

The brutal truth: A Skill with perfect content but poor description is useless — it will never be activated. The description is the only chance to tell the Agent "use me in these situations."


Description must answer THREE questions:

  1. WHAT: What does this Skill do? (functionality)
  2. WHEN: In what situations should it be used? (trigger scenarios)
  3. KEYWORDS: What terms should trigger this Skill? (searchable terms)

Excellent description (all three elements):

description: "Comprehensive document creation, editing, and analysis with support
for tracked changes, comments, formatting preservation, and text extraction.
When Claude needs to work with professional documents (.docx files) for:
(1) Creating new documents, (2) Modifying or editing content,
(3) Working with tracked changes, (4) Adding comments, or any other document tasks"

Analysis:

  • WHAT: creation, editing, analysis, tracked changes, comments
  • WHEN: "When Claude needs to work with... for: (1)... (2)... (3)..."
  • KEYWORDS: .docx files, tracked changes, professional documents

Poor description (missing elements):

description: "处理文档相关功能"

Problems:

  • WHAT: vague ("文档相关功能" — what specifically?)
  • WHEN: missing (when should Agent use this?)
  • KEYWORDS: missing (no ".docx", no specific scenarios)

Another poor example:

description: "A helpful skill for various tasks"

This is useless — Agent has no idea when to activate it.


Description quality checklist:

  • Lists specific capabilities (not just "helps with X")
  • Includes explicit trigger scenarios ("Use when...", "When user asks for...")
  • Contains searchable keywords (file extensions, domain terms, action verbs)
  • Specific enough that Agent knows EXACTLY when to use it
  • Includes scenarios where this skill MUST be used (not just "can be used")

D5: Progressive Disclosure (15 points)

Does the Skill implement proper content layering?

Skill loading has three layers:

Layer 1: Metadata (always in memory)
         Only name + description
         ~100 tokens per skill

Layer 2: SKILL.md Body (loaded after triggering)
         Detailed guidelines, code examples, decision trees
         Ideal: < 500 lines

Layer 3: Resources (loaded on demand)
         scripts/, references/, assets/
         No limit
Score Criteria
0-5 Everything dumped in SKILL.md (>500 lines, no structure)
6-10 Has references but unclear when to load them
11-13 Good layering with MANDATORY triggers present
14-15 Perfect: decision trees + explicit triggers + "Do NOT Load" guidance

For Skills WITH references directory, check Loading Trigger Quality:

Trigger Quality Characteristics
Poor References listed at end, no loading guidance
Mediocre Some triggers but not embedded in workflow
Good MANDATORY triggers in workflow steps
Excellent Scenario detection + conditional triggers + "Do NOT Load"

The loading problem:

Loading too little ◄─────────────────────────────────► Loading too much
- References sit unused                    - Wastes context space
- Agent doesn't know when to load          - Irrelevant info dilutes key content
- Knowledge is there but never accessed    - Unnecessary token overhead

Good loading trigger (embedded in workflow):

### Creating New Document

**MANDATORY - READ ENTIRE FILE**: Before proceeding, you MUST read
[`docx-js.md`](docx-js.md) (~500 lines) completely from start to finish.
**NEVER set any range limits when reading this file.**

**Do NOT load** `ooxml.md` or `redlining.md` for this task.

Bad loading trigger (just listed):

## References
- docx-js.md - for creating documents
- ooxml.md - for editing
- redlining.md - for tracking changes

For simple Skills (no references, <100 lines): Score based on conciseness and self-containment.


D6: Freedom Calibration (15 points)

Is the level of specificity appropriate for the task's fragility?

Different tasks need different levels of constraint. This is about matching freedom to fragility.

Score Criteria
0-5 Severely mismatched (rigid scripts for creative tasks, vague for fragile ops)
6-10 Partially appropriate, some mismatches
11-13 Good calibration for most scenarios
14-15 Perfect freedom calibration throughout

The freedom spectrum:

Task Type Should Have Why Example Skill
Creative/Design High freedom Multiple valid approaches, differentiation is value frontend-design
Code review Medium freedom Principles exist but judgment required code-review
File format operations Low freedom One wrong byte corrupts file, consistency critical docx, xlsx, pdf

High freedom (text-based instructions):

Commit to a BOLD aesthetic direction. Pick an extreme: brutally minimal,
maximalist chaos, retro-futuristic, organic natural...

Medium freedom (pseudocode or parameterized):

Review priority:
1. Security vulnerabilities (must fix)
2. Logic errors (must fix)
3. Performance issues (should fix)
4. Maintainability (optional)

Low freedom (specific scripts, exact steps):

**MANDATORY**: Use exact script in `scripts/create-doc.py`
Parameters: --title "X" --author "Y"
Do NOT modify the script.

The test: Ask "if Agent makes a mistake, what's the consequence?"

  • High consequence → Low freedom
  • Low consequence → High freedom

D7: Pattern Recognition (10 points)

Does the Skill follow an established official pattern?

Through analyzing 17 official Skills, we identified 5 main design patterns:

Pattern ~Lines Key Characteristics Example When to Use
Mindset ~50 Thinking > technique, strong NEVER list, high freedom frontend-design Creative tasks requiring taste
Navigation ~30 Minimal SKILL.md, routes to sub-files internal-comms Multiple distinct scenarios
Philosophy ~150 Two-step: Philosophy → Express, emphasizes craft canvas-design Art/creation requiring originality
Process ~200 Phased workflow, checkpoints, medium freedom mcp-builder Complex multi-step projects
Tool ~300 Decision trees, code examples, low freedom docx, pdf, xlsx Precise operations on specific formats
Score Criteria
0-3 No recognizable pattern, chaotic structure
4-6 Partially follows a pattern with significant deviations
7-8 Clear pattern with minor deviations
9-10 Masterful application of appropriate pattern

Pattern selection guide:

Your Task Characteristics Recommended Pattern
Needs taste and creativity Mindset (~50 lines)
Needs originality and craft quality Philosophy (~150 lines)
Has multiple distinct sub-scenarios Navigation (~30 lines)
Complex multi-step project Process (~200 lines)
Precise operations on specific format Tool (~300 lines)

D8: Practical Usability (15 points)

Can an Agent actually use this Skill effectively?

Score Criteria
0-5 Confusing, incomplete, contradictory, or untested guidance
6-10 Usable but with noticeable gaps
11-13 Clear guidance for common cases
14-15 Comprehensive coverage including edge cases and error handling

Check for:

  • Decision trees: For multi-path scenarios, is there clear guidance on which path to take?
  • Code examples: Do they actually work? Or are they pseudocode that breaks?
  • Error handling: What if the main approach fails? Are fallbacks provided?
  • Edge cases: Are unusual but realistic scenarios covered?
  • Actionability: Can Agent immediately act, or needs to figure things out?

Good usability (decision tree + fallback):

| Task | Primary Tool | Fallback | When to Use Fallback |
|------|-------------|----------|----------------------|
| Read text | pdftotext | PyMuPDF | Need layout info |
| Extract tables | camelot-py | tabula-py | camelot fails |

**Common issues**:
- Scanned PDF: pdftotext returns blank → Use OCR first
- Encrypted PDF: Permission error → Use PyMuPDF with password

Poor usability (vague):

Use appropriate tools for PDF processing.
Handle errors properly.
Consider edge cases.

NEVER Do When Evaluating

  • NEVER give high scores just because it "looks professional" or is well-formatted
  • NEVER ignore token waste — every redundant paragraph should result in deduction
  • NEVER let length impress you — a 43-line Skill can outperform a 500-line Skill
  • NEVER skip mentally testing the decision trees — do they actually lead to correct choices?
  • NEVER forgive explaining basics with "but it provides helpful context"
  • NEVER overlook missing anti-patterns — if there's no NEVER list, that's a significant gap
  • NEVER assume all procedures are valuable — distinguish domain-specific from generic
  • NEVER undervalue the description field — poor description = skill never gets used
  • NEVER put "when to use" info only in the body — Agent only sees description before loading

Evaluation Protocol

Step 1: First Pass — Knowledge Delta Scan

Read SKILL.md completely and for each section ask:

"Does Claude already know this?"

Mark each section as:

  • [E] Expert: Claude genuinely doesn't know this — value-add
  • [A] Activation: Claude knows but brief reminder is useful — acceptable
  • [R] Redundant: Claude definitely knows this — should be deleted

Calculate rough ratio: E:A:R

  • Good Skill: >70% Expert, <20% Activation, <10% Redundant
  • Mediocre Skill: 40-70% Expert, high Activation
  • Bad Skill: <40% Expert, high Redundant
Step 2: Structure Analysis
[ ] Check frontmatter validity
[ ] Count total lines in SKILL.md
[ ] List all reference files and their sizes
[ ] Identify which pattern the Skill follows
[ ] Check for loading triggers (if references exist)
Step 3: Score Each Dimension

For each of the 8 dimensions:

  1. Find specific evidence (quote relevant lines)
  2. Assign score with one-line justification
  3. Note specific improvements if score < max
Step 4: Calculate Total & Grade
Total = D1 + D2 + D3 + D4 + D5 + D6 + D7 + D8
Max = 120 points

Grade Scale (percentage-based):

Grade Percentage Meaning
A 90%+ (108+) Excellent — production-ready expert Skill
B 80-89% (96-107) Good — minor improvements needed
C 70-79% (84-95) Adequate — clear improvement path
D 60-69% (72-83) Below Average — significant issues
F <60% (<72) Poor — needs fundamental redesign
Step 5: Generate Report
# Skill Evaluation Report: [Skill Name]

## Summary
- **Total Score**: X/120 (X%)
- **Grade**: [A/B/C/D/F]
- **Pattern**: [Mindset/Navigation/Philosophy/Process/Tool]
- **Knowledge Ratio**: E:A:R = X:Y:Z
- **Verdict**: [One sentence assessment]

## Dimension Scores

| Dimension | Score | Max | Notes |
|-----------|-------|-----|-------|
| D1: Knowledge Delta | X | 20 | |
| D2: Mindset vs Mechanics | X | 15 | |
| D3: Anti-Pattern Quality | X | 15 | |
| D4: Specification Compliance | X | 15 | |
| D5: Progressive Disclosure | X | 15 | |
| D6: Freedom Calibration | X | 15 | |
| D7: Pattern Recognition | X | 10 | |
| D8: Practical Usability | X | 15 | |

## Critical Issues
[List must-fix problems that significantly impact the Skill's effectiveness]

## Top 3 Improvements
1. [Highest impact improvement with specific guidance]
2. [Second priority improvement]
3. [Third priority improvement]

## Detailed Analysis
[For each dimension scoring below 80%, provide:
- What's missing or problematic
- Specific examples from the Skill
- Concrete suggestions for improvement]

Common Failure Patterns

Pattern 1: The Tutorial
Symptom: Explains what PDF is, how Python works, basic library usage
Root cause: Author assumes Skill should "teach" the model
Fix: Claude already knows this. Delete all basic explanations.
     Focus on expert decisions, trade-offs, and anti-patterns.
Pattern 2: The Dump
Symptom: SKILL.md is 800+ lines with everything included
Root cause: No progressive disclosure design
Fix: Core routing and decision trees in SKILL.md (<300 lines ideal)
     Detailed content in references/, loaded on-demand
Pattern 3: The Orphan References
Symptom: References directory exists but files are never loaded
Root cause: No explicit loading triggers
Fix: Add "MANDATORY - READ ENTIRE FILE" at workflow decision points
     Add "Do NOT Load" to prevent over-loading
Pattern 4: The Checkbox Procedure
Symptom: Step 1, Step 2, Step 3... mechanical procedures
Root cause: Author thinks in procedures, not thinking frameworks
Fix: Transform into "Before doing X, ask yourself..."
     Focus on decision principles, not operation sequences
Pattern 5: The Vague Warning
Symptom: "Be careful", "avoid errors", "consider edge cases"
Root cause: Author knows things can go wrong but hasn't articulated specifics
Fix: Specific NEVER list with concrete examples and non-obvious reasons
     "NEVER use X because [specific problem that takes experience to learn]"
Pattern 6: The Invisible Skill
Symptom: Great content but skill rarely gets activated
Root cause: Description is vague, missing keywords, or lacks trigger scenarios
Fix: Description must answer WHAT, WHEN, and include KEYWORDS
     "Use when..." + specific scenarios + searchable terms

Example fix:
BAD:  "Helps with document tasks"
GOOD: "Create, edit, and analyze .docx files. Use when working with
       Word documents, tracked changes, or professional document formatting."
Pattern 7: The Wrong Location
Symptom: "When to use this Skill" section in body, not in description
Root cause: Misunderstanding of three-layer loading
Fix: Move all triggering information to description field
     Body is only loaded AFTER triggering decision is made
Pattern 8: The Over-Engineered
Symptom: README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, CONTRIBUTING.md
Root cause: Treating Skill like a software project
Fix: Delete all auxiliary files. Only include what Agent needs for the task.
     No documentation about the Skill itself.
Pattern 9: The Freedom Mismatch
Symptom: Rigid scripts for creative tasks, vague guidance for fragile operations
Root cause: Not considering task fragility
Fix: High freedom for creative (principles, not steps)
     Low freedom for fragile (exact scripts, no parameters)

Quick Reference Checklist

┌─────────────────────────────────────────────────────────────────────────┐
│  SKILL EVALUATION QUICK CHECK                                           │
├─────────────────────────────────────────────────────────────────────────┤
│                                                                         │
│  KNOWLEDGE DELTA (most important):                                      │
│    [ ] No "What is X" explanations for basic concepts                   │
│    [ ] No step-by-step tutorials for standard operations                │
│    [ ] Has decision trees for non-obvious choices                       │
│    [ ] Has trade-offs only experts would know                           │
│    [ ] Has edge cases from real-world experience                        │
│                                                                         │
│  MINDSET + PROCEDURES:                                                  │
│    [ ] Transfers thinking patterns (how to think about problems)        │
│    [ ] Has "Before doing X, ask yourself..." frameworks                 │
│    [ ] Includes domain-specific procedures Claude wouldn't know         │
│    [ ] Distinguishes valuable procedures from generic ones              │
│                                                                         │
│  ANTI-PATTERNS:                                                         │
│    [ ] Has explicit NEVER list                                          │
│    [ ] Anti-patterns are specific, not vague                            │
│    [ ] Includes WHY (non-obvious reasons)                               │
│                                                                         │
│  SPECIFICATION (description is critical!):                              │
│    [ ] Valid YAML frontmatter                                           │
│    [ ] name: lowercase, ≤64 chars                                       │
│    [ ] description answers: WHAT does it do?                            │
│    [ ] description answers: WHEN should it be used?                     │
│    [ ] description contains trigger KEYWORDS                            │
│    [ ] description is specific enough for Agent to know when to use     │
│                                                                         │
│  STRUCTURE:                                                             │
│    [ ] SKILL.md < 500 lines (ideal < 300)                               │
│    [ ] Heavy content in references/                                     │
│    [ ] Loading triggers embedded in workflow                            │
│    [ ] Has "Do NOT Load" for preventing over-loading                    │
│                                                                         │
│  FREEDOM:                                                               │
│    [ ] Creative tasks → High freedom (principles)                       │
│    [ ] Fragile operations → Low freedom (exact scripts)                 │
│                                                                         │
│  USABILITY:                                                             │
│    [ ] Decision trees for multi-path scenarios                          │
│    [ ] Working code examples                                            │
│    [ ] Error handling and fallbacks                                     │
│    [ ] Edge cases covered                                               │
│                                                                         │
└─────────────────────────────────────────────────────────────────────────┘

The Meta-Question

When evaluating any Skill, always return to this fundamental question:

"Would an expert in this domain, looking at this Skill, say: 'Yes, this captures knowledge that took me years to learn'?"

If the answer is yes → the Skill has genuine value. If the answer is no → it's compressing what Claude already knows.

The best Skills are compressed expert brains — they take a designer's 10 years of aesthetic accumulation and compress it into 43 lines, or a document expert's operational experience into a 200-line decision tree.

What gets compressed must be things Claude doesn't have. Otherwise, it's garbage compression.


Self-Evaluation Note

This Skill (skill-judge) should itself pass evaluation:

  • Knowledge Delta: Provides specific evaluation criteria Claude wouldn't generate on its own
  • Mindset: Shapes how to think about Skill quality, not just checklist items
  • Anti-Patterns: "NEVER Do When Evaluating" section with specific don'ts
  • Specification: Valid frontmatter with comprehensive description
  • Progressive Disclosure: Self-contained, no external references needed
  • Freedom: Medium freedom appropriate for evaluation task
  • Pattern: Follows Tool pattern with decision frameworks
  • Usability: Clear protocol, report template, quick reference

Evaluate this Skill against itself as a calibration exercise.

1---
2name: skill-judge
3description: Evaluate Agent Skill design quality against official specifications and best practices. Use when reviewing, auditing, or improving SKILL.md files and skill packages. Provides multi-dimensional scoring and actionable improvement suggestions.
4---
5 
6# Skill Judge
7 
8Evaluate Agent Skills against official specifications and patterns derived from 17+ official examples.
9 
10---
11 
12## Core Philosophy
13 
14### What is a Skill?
15 
16A Skill is NOT a tutorial. A Skill is a **knowledge externalization mechanism**.
17 
18Traditional AI knowledge is locked in model parameters. To teach new capabilities:
19```
20Traditional: Collect data → GPU cluster → Train → Deploy new version
21Cost: $10,000 - $1,000,000+
22Timeline: Weeks to months
23```
24 
25Skills change this:
26```
27Skill: Edit SKILL.md → Save → Takes effect on next invocation
28Cost: $0
29Timeline: Instant
30```
31 
32This is the paradigm shift from "training AI" to "educating AI" — like a hot-swappable LoRA adapter that requires no training. You edit a Markdown file in natural language, and the model's behavior changes.
33 
34### The Core Formula
35 
36> **Good Skill = Expert-only Knowledge − What Claude Already Knows**
37 
38A Skill's value is measured by its **knowledge delta** — the gap between what it provides and what the model already knows.
39 
40- **Expert-only knowledge**: Decision trees, trade-offs, edge cases, anti-patterns, domain-specific thinking frameworks — things that take years of experience to accumulate
41- **What Claude already knows**: Basic concepts, standard library usage, common programming patterns, general best practices
42 
43When a Skill explains "what is PDF" or "how to write a for-loop", it's compressing knowledge Claude already has. This is **token waste** — context window is a public resource shared with system prompts, conversation history, other Skills, and user requests.
44 
45### Tool vs Skill
46 
47| Concept | Essence | Function | Example |
48|---------|---------|----------|---------|
49| **Tool** | What model CAN do | Execute actions | bash, read_file, write_file, WebSearch |
50| **Skill** | What model KNOWS how to do | Guide decisions | PDF processing, MCP building, frontend design |
51 
52Tools define capability boundaries — without bash tool, model can't execute commands.
53Skills inject knowledge — without frontend-design Skill, model produces generic UI.
54 
55**The equation**:
56```
57General Agent + Excellent Skill = Domain Expert Agent
58```
59 
60Same Claude model, different Skills loaded, becomes different experts.
61 
62### Three Types of Knowledge in Skills
63 
64When evaluating, categorize each section:
65 
66| Type | Definition | Treatment |
67|------|------------|-----------|
68| **Expert** | Claude genuinely doesn't know this | Must keep — this is the Skill's value |
69| **Activation** | Claude knows but may not think of | Keep if brief — serves as reminder |
70| **Redundant** | Claude definitely knows this | Should delete — wastes tokens |
71 
72The art of Skill design is maximizing Expert content, using Activation sparingly, and eliminating Redundant ruthlessly.
73 
74---
75 
76## Evaluation Dimensions (120 points total)
77 
78### D1: Knowledge Delta (20 points) — THE CORE DIMENSION
79 
80The most important dimension. Does the Skill add genuine expert knowledge?
81 
82| Score | Criteria |
83|-------|----------|
84| 0-5 | Explains basics Claude knows (what is X, how to write code, standard library tutorials) |
85| 6-10 | Mixed: some expert knowledge diluted by obvious content |
86| 11-15 | Mostly expert knowledge with minimal redundancy |
87| 16-20 | Pure knowledge delta — every paragraph earns its tokens |
88 
89**Red flags** (instant score ≤5):
90- "What is [basic concept]" sections
91- Step-by-step tutorials for standard operations
92- Explaining how to use common libraries
93- Generic best practices ("write clean code", "handle errors")
94- Definitions of industry-standard terms
95 
96**Green flags** (indicators of high knowledge delta):
97- Decision trees for non-obvious choices ("when X fails, try Y because Z")
98- Trade-offs only an expert would know ("A is faster but B handles edge case C")
99- Edge cases from real-world experience
100- "NEVER do X because [non-obvious reason]"
101- Domain-specific thinking frameworks
102 
103**Evaluation questions**:
1041. For each section, ask: "Does Claude already know this?"
1052. If explaining something, ask: "Is this explaining TO Claude or FOR Claude?"
1063. Count paragraphs that are Expert vs Activation vs Redundant
107 
108---
109 
110### D2: Mindset + Appropriate Procedures (15 points)
111 
112Does the Skill transfer expert **thinking patterns** along with **necessary domain-specific procedures**?
113 
114The difference between experts and novices isn't "knowing how to operate" — it's "how to think about the problem." But thinking patterns alone aren't enough when Claude lacks domain-specific procedural knowledge.
115 
116**Key distinction**:
117| Type | Example | Value |
118|------|---------|-------|
119| **Thinking patterns** | "Before designing, ask: What makes this memorable?" | High — shapes decision-making |
120| **Domain-specific procedures** | "OOXML workflow: unpack → edit XML → validate → pack" | High — Claude may not know this |
121| **Generic procedures** | "Step 1: Open file, Step 2: Edit, Step 3: Save" | Low — Claude already knows |
122 
123| Score | Criteria |
124|-------|----------|
125| 0-3 | Only generic procedures Claude already knows |
126| 4-7 | Has domain procedures but lacks thinking frameworks |
127| 8-11 | Good balance: thinking patterns + domain-specific workflows |
128| 12-15 | Expert-level: shapes thinking AND provides procedures Claude wouldn't know |
129 
130**What counts as valuable procedures**:
131- Workflows Claude hasn't been trained on (new tools, proprietary systems)
132- Correct ordering that's non-obvious (e.g., "validate BEFORE packing, not after")
133- Critical steps that are easy to miss (e.g., "MUST recalculate formulas after editing")
134- Domain-specific sequences (e.g., MCP server's 4-phase development process)
135 
136**What counts as redundant procedures**:
137- Generic file operations (open, read, write, save)
138- Standard programming patterns (loops, conditionals, error handling)
139- Common library usage that's well-documented
140 
141**Expert thinking patterns look like**:
142```markdown
143Before [action], ask yourself:
144- **Purpose**: What problem does this solve? Who uses it?
145- **Constraints**: What are the hidden requirements?
146- **Differentiation**: What makes this solution memorable?
147```
148 
149**Valuable domain procedures look like**:
150```markdown
151### Redlining Workflow (Claude wouldn't know this sequence)
1521. Convert to markdown: `pandoc --track-changes=all`
1532. Map text to XML: grep for text in document.xml
1543. Implement changes in batches of 3-10
1554. Pack and verify: check ALL changes were applied
156```
157 
158**Redundant generic procedures look like**:
159```markdown
160Step 1: Open the file
161Step 2: Find the section
162Step 3: Make the change
163Step 4: Save and test
164```
165 
166**The test**:
1671. Does it tell Claude WHAT to think about? (thinking patterns)
1682. Does it tell Claude HOW to do things it wouldn't know? (domain procedures)
169 
170A good Skill provides both when needed.
171 
172---
173 
174### D3: Anti-Pattern Quality (15 points)
175 
176Does the Skill have effective NEVER lists?
177 
178**Why this matters**: Half of expert knowledge is knowing what NOT to do. A senior designer sees purple gradient on white background and instinctively cringes — "too AI-generated." This intuition for "what absolutely not to do" comes from stepping on countless landmines.
179 
180Claude hasn't stepped on these landmines. It doesn't know Inter font is overused, doesn't know purple gradients are the signature of AI-generated content. Good Skills must explicitly state these "absolute don'ts."
181 
182| Score | Criteria |
183|-------|----------|
184| 0-3 | No anti-patterns mentioned |
185| 4-7 | Generic warnings ("avoid errors", "be careful", "consider edge cases") |
186| 8-11 | Specific NEVER list with some reasoning |
187| 12-15 | Expert-grade anti-patterns with WHY — things only experience teaches |
188 
189**Expert anti-patterns** (specific + reason):
190```markdown
191NEVER use generic AI-generated aesthetics like:
192- Overused font families (Inter, Roboto, Arial)
193- Cliched color schemes (particularly purple gradients on white backgrounds)
194- Predictable layouts and component patterns
195- Default border-radius on everything
196```
197 
198**Weak anti-patterns** (vague, no reasoning):
199```markdown
200Avoid making mistakes.
201Be careful with edge cases.
202Don't write bad code.
203```
204 
205**The test**: Would an expert read the anti-pattern list and say "yes, I learned this the hard way"? Or would they say "this is obvious to everyone"?
206 
207---
208 
209### D4: Specification Compliance — Especially Description (15 points)
210 
211Does the Skill follow official format requirements? **Special focus on description quality.**
212 
213| Score | Criteria |
214|-------|----------|
215| 0-5 | Missing frontmatter or invalid format |
216| 6-10 | Has frontmatter but description is vague or incomplete |
217| 11-13 | Valid frontmatter, description has WHAT but weak on WHEN |
218| 14-15 | Perfect: comprehensive description with WHAT, WHEN, and trigger keywords |
219 
220**Frontmatter requirements**:
221- `name`: lowercase, alphanumeric + hyphens only, ≤64 characters
222- `description`: **THE MOST CRITICAL FIELD** — determines if skill gets used at all
223 
224---
225 
226**Why description is THE MOST IMPORTANT field**:
227 
228```
229┌─────────────────────────────────────────────────────────────────────┐
230│ SKILL ACTIVATION FLOW │
231│ │
232│ User Request → Agent sees ALL skill descriptions → Decides which │
233│ (only descriptions, not bodies!) to activate │
234│ │
235│ If description doesn't match → Skill NEVER gets loaded │
236│ If description is vague → Skill might not trigger when it should │
237│ If description lacks keywords → Skill is invisible to the Agent │
238└─────────────────────────────────────────────────────────────────────┘
239```
240 
241**The brutal truth**: A Skill with perfect content but poor description is **useless** — it will never be activated. The description is the **only chance** to tell the Agent "use me in these situations."
242 
243---
244 
245**Description must answer THREE questions**:
246 
2471. **WHAT**: What does this Skill do? (functionality)
2482. **WHEN**: In what situations should it be used? (trigger scenarios)
2493. **KEYWORDS**: What terms should trigger this Skill? (searchable terms)
250 
251**Excellent description** (all three elements):
252```yaml
253description: "Comprehensive document creation, editing, and analysis with support
254for tracked changes, comments, formatting preservation, and text extraction.
255When Claude needs to work with professional documents (.docx files) for:
256(1) Creating new documents, (2) Modifying or editing content,
257(3) Working with tracked changes, (4) Adding comments, or any other document tasks"
258```
259 
260Analysis:
261- WHAT: creation, editing, analysis, tracked changes, comments
262- WHEN: "When Claude needs to work with... for: (1)... (2)... (3)..."
263- KEYWORDS: .docx files, tracked changes, professional documents
264 
265**Poor description** (missing elements):
266```yaml
267description: "处理文档相关功能"
268```
269 
270Problems:
271- WHAT: vague ("文档相关功能" — what specifically?)
272- WHEN: missing (when should Agent use this?)
273- KEYWORDS: missing (no ".docx", no specific scenarios)
274 
275**Another poor example**:
276```yaml
277description: "A helpful skill for various tasks"
278```
279 
280This is useless — Agent has no idea when to activate it.
281 
282---
283 
284**Description quality checklist**:
285- [ ] Lists specific capabilities (not just "helps with X")
286- [ ] Includes explicit trigger scenarios ("Use when...", "When user asks for...")
287- [ ] Contains searchable keywords (file extensions, domain terms, action verbs)
288- [ ] Specific enough that Agent knows EXACTLY when to use it
289- [ ] Includes scenarios where this skill MUST be used (not just "can be used")
290 
291---
292 
293### D5: Progressive Disclosure (15 points)
294 
295Does the Skill implement proper content layering?
296 
297Skill loading has three layers:
298```
299Layer 1: Metadata (always in memory)
300 Only name + description
301 ~100 tokens per skill
302 
303Layer 2: SKILL.md Body (loaded after triggering)
304 Detailed guidelines, code examples, decision trees
305 Ideal: < 500 lines
306 
307Layer 3: Resources (loaded on demand)
308 scripts/, references/, assets/
309 No limit
310```
311 
312| Score | Criteria |
313|-------|----------|
314| 0-5 | Everything dumped in SKILL.md (>500 lines, no structure) |
315| 6-10 | Has references but unclear when to load them |
316| 11-13 | Good layering with MANDATORY triggers present |
317| 14-15 | Perfect: decision trees + explicit triggers + "Do NOT Load" guidance |
318 
319**For Skills WITH references directory**, check Loading Trigger Quality:
320 
321| Trigger Quality | Characteristics |
322|-----------------|-----------------|
323| Poor | References listed at end, no loading guidance |
324| Mediocre | Some triggers but not embedded in workflow |
325| Good | MANDATORY triggers in workflow steps |
326| Excellent | Scenario detection + conditional triggers + "Do NOT Load" |
327 
328**The loading problem**:
329```
330Loading too little ◄─────────────────────────────────► Loading too much
331- References sit unused - Wastes context space
332- Agent doesn't know when to load - Irrelevant info dilutes key content
333- Knowledge is there but never accessed - Unnecessary token overhead
334```
335 
336**Good loading trigger** (embedded in workflow):
337```markdown
338### Creating New Document
339 
340**MANDATORY - READ ENTIRE FILE**: Before proceeding, you MUST read
341[`docx-js.md`](docx-js.md) (~500 lines) completely from start to finish.
342**NEVER set any range limits when reading this file.**
343 
344**Do NOT load** `ooxml.md` or `redlining.md` for this task.
345```
346 
347**Bad loading trigger** (just listed):
348```markdown
349## References
350- docx-js.md - for creating documents
351- ooxml.md - for editing
352- redlining.md - for tracking changes
353```
354 
355**For simple Skills** (no references, <100 lines): Score based on conciseness and self-containment.
356 
357---
358 
359### D6: Freedom Calibration (15 points)
360 
361Is the level of specificity appropriate for the task's fragility?
362 
363Different tasks need different levels of constraint. This is about matching freedom to fragility.
364 
365| Score | Criteria |
366|-------|----------|
367| 0-5 | Severely mismatched (rigid scripts for creative tasks, vague for fragile ops) |
368| 6-10 | Partially appropriate, some mismatches |
369| 11-13 | Good calibration for most scenarios |
370| 14-15 | Perfect freedom calibration throughout |
371 
372**The freedom spectrum**:
373 
374| Task Type | Should Have | Why | Example Skill |
375|-----------|-------------|-----|---------------|
376| Creative/Design | High freedom | Multiple valid approaches, differentiation is value | frontend-design |
377| Code review | Medium freedom | Principles exist but judgment required | code-review |
378| File format operations | Low freedom | One wrong byte corrupts file, consistency critical | docx, xlsx, pdf |
379 
380**High freedom** (text-based instructions):
381```markdown
382Commit to a BOLD aesthetic direction. Pick an extreme: brutally minimal,
383maximalist chaos, retro-futuristic, organic natural...
384```
385 
386**Medium freedom** (pseudocode or parameterized):
387```markdown
388Review priority:
3891. Security vulnerabilities (must fix)
3902. Logic errors (must fix)
3913. Performance issues (should fix)
3924. Maintainability (optional)
393```
394 
395**Low freedom** (specific scripts, exact steps):
396```markdown
397**MANDATORY**: Use exact script in `scripts/create-doc.py`
398Parameters: --title "X" --author "Y"
399Do NOT modify the script.
400```
401 
402**The test**: Ask "if Agent makes a mistake, what's the consequence?"
403- High consequence → Low freedom
404- Low consequence → High freedom
405 
406---
407 
408### D7: Pattern Recognition (10 points)
409 
410Does the Skill follow an established official pattern?
411 
412Through analyzing 17 official Skills, we identified 5 main design patterns:
413 
414| Pattern | ~Lines | Key Characteristics | Example | When to Use |
415|---------|--------|---------------------|---------|-------------|
416| **Mindset** | ~50 | Thinking > technique, strong NEVER list, high freedom | frontend-design | Creative tasks requiring taste |
417| **Navigation** | ~30 | Minimal SKILL.md, routes to sub-files | internal-comms | Multiple distinct scenarios |
418| **Philosophy** | ~150 | Two-step: Philosophy → Express, emphasizes craft | canvas-design | Art/creation requiring originality |
419| **Process** | ~200 | Phased workflow, checkpoints, medium freedom | mcp-builder | Complex multi-step projects |
420| **Tool** | ~300 | Decision trees, code examples, low freedom | docx, pdf, xlsx | Precise operations on specific formats |
421 
422| Score | Criteria |
423|-------|----------|
424| 0-3 | No recognizable pattern, chaotic structure |
425| 4-6 | Partially follows a pattern with significant deviations |
426| 7-8 | Clear pattern with minor deviations |
427| 9-10 | Masterful application of appropriate pattern |
428 
429**Pattern selection guide**:
430 
431| Your Task Characteristics | Recommended Pattern |
432|---------------------------|---------------------|
433| Needs taste and creativity | Mindset (~50 lines) |
434| Needs originality and craft quality | Philosophy (~150 lines) |
435| Has multiple distinct sub-scenarios | Navigation (~30 lines) |
436| Complex multi-step project | Process (~200 lines) |
437| Precise operations on specific format | Tool (~300 lines) |
438 
439---
440 
441### D8: Practical Usability (15 points)
442 
443Can an Agent actually use this Skill effectively?
444 
445| Score | Criteria |
446|-------|----------|
447| 0-5 | Confusing, incomplete, contradictory, or untested guidance |
448| 6-10 | Usable but with noticeable gaps |
449| 11-13 | Clear guidance for common cases |
450| 14-15 | Comprehensive coverage including edge cases and error handling |
451 
452**Check for**:
453- **Decision trees**: For multi-path scenarios, is there clear guidance on which path to take?
454- **Code examples**: Do they actually work? Or are they pseudocode that breaks?
455- **Error handling**: What if the main approach fails? Are fallbacks provided?
456- **Edge cases**: Are unusual but realistic scenarios covered?
457- **Actionability**: Can Agent immediately act, or needs to figure things out?
458 
459**Good usability** (decision tree + fallback):
460```markdown
461| Task | Primary Tool | Fallback | When to Use Fallback |
462|------|-------------|----------|----------------------|
463| Read text | pdftotext | PyMuPDF | Need layout info |
464| Extract tables | camelot-py | tabula-py | camelot fails |
465 
466**Common issues**:
467- Scanned PDF: pdftotext returns blank → Use OCR first
468- Encrypted PDF: Permission error → Use PyMuPDF with password
469```
470 
471**Poor usability** (vague):
472```markdown
473Use appropriate tools for PDF processing.
474Handle errors properly.
475Consider edge cases.
476```
477 
478---
479 
480## NEVER Do When Evaluating
481 
482- **NEVER** give high scores just because it "looks professional" or is well-formatted
483- **NEVER** ignore token waste — every redundant paragraph should result in deduction
484- **NEVER** let length impress you — a 43-line Skill can outperform a 500-line Skill
485- **NEVER** skip mentally testing the decision trees — do they actually lead to correct choices?
486- **NEVER** forgive explaining basics with "but it provides helpful context"
487- **NEVER** overlook missing anti-patterns — if there's no NEVER list, that's a significant gap
488- **NEVER** assume all procedures are valuable — distinguish domain-specific from generic
489- **NEVER** undervalue the description field — poor description = skill never gets used
490- **NEVER** put "when to use" info only in the body — Agent only sees description before loading
491 
492---
493 
494## Evaluation Protocol
495 
496### Step 1: First Pass — Knowledge Delta Scan
497 
498Read SKILL.md completely and for each section ask:
499> "Does Claude already know this?"
500 
501Mark each section as:
502- **[E] Expert**: Claude genuinely doesn't know this — value-add
503- **[A] Activation**: Claude knows but brief reminder is useful — acceptable
504- **[R] Redundant**: Claude definitely knows this — should be deleted
505 
506Calculate rough ratio: E:A:R
507- Good Skill: >70% Expert, <20% Activation, <10% Redundant
508- Mediocre Skill: 40-70% Expert, high Activation
509- Bad Skill: <40% Expert, high Redundant
510 
511### Step 2: Structure Analysis
512 
513```
514[ ] Check frontmatter validity
515[ ] Count total lines in SKILL.md
516[ ] List all reference files and their sizes
517[ ] Identify which pattern the Skill follows
518[ ] Check for loading triggers (if references exist)
519```
520 
521### Step 3: Score Each Dimension
522 
523For each of the 8 dimensions:
5241. Find specific evidence (quote relevant lines)
5252. Assign score with one-line justification
5263. Note specific improvements if score < max
527 
528### Step 4: Calculate Total & Grade
529 
530```
531Total = D1 + D2 + D3 + D4 + D5 + D6 + D7 + D8
532Max = 120 points
533```
534 
535**Grade Scale** (percentage-based):
536| Grade | Percentage | Meaning |
537|-------|------------|---------|
538| A | 90%+ (108+) | Excellent — production-ready expert Skill |
539| B | 80-89% (96-107) | Good — minor improvements needed |
540| C | 70-79% (84-95) | Adequate — clear improvement path |
541| D | 60-69% (72-83) | Below Average — significant issues |
542| F | <60% (<72) | Poor — needs fundamental redesign |
543 
544### Step 5: Generate Report
545 
546```markdown
547# Skill Evaluation Report: [Skill Name]
548 
549## Summary
550- **Total Score**: X/120 (X%)
551- **Grade**: [A/B/C/D/F]
552- **Pattern**: [Mindset/Navigation/Philosophy/Process/Tool]
553- **Knowledge Ratio**: E:A:R = X:Y:Z
554- **Verdict**: [One sentence assessment]
555 
556## Dimension Scores
557 
558| Dimension | Score | Max | Notes |
559|-----------|-------|-----|-------|
560| D1: Knowledge Delta | X | 20 | |
561| D2: Mindset vs Mechanics | X | 15 | |
562| D3: Anti-Pattern Quality | X | 15 | |
563| D4: Specification Compliance | X | 15 | |
564| D5: Progressive Disclosure | X | 15 | |
565| D6: Freedom Calibration | X | 15 | |
566| D7: Pattern Recognition | X | 10 | |
567| D8: Practical Usability | X | 15 | |
568 
569## Critical Issues
570[List must-fix problems that significantly impact the Skill's effectiveness]
571 
572## Top 3 Improvements
5731. [Highest impact improvement with specific guidance]
5742. [Second priority improvement]
5753. [Third priority improvement]
576 
577## Detailed Analysis
578[For each dimension scoring below 80%, provide:
579- What's missing or problematic
580- Specific examples from the Skill
581- Concrete suggestions for improvement]
582```
583 
584---
585 
586## Common Failure Patterns
587 
588### Pattern 1: The Tutorial
589```
590Symptom: Explains what PDF is, how Python works, basic library usage
591Root cause: Author assumes Skill should "teach" the model
592Fix: Claude already knows this. Delete all basic explanations.
593 Focus on expert decisions, trade-offs, and anti-patterns.
594```
595 
596### Pattern 2: The Dump
597```
598Symptom: SKILL.md is 800+ lines with everything included
599Root cause: No progressive disclosure design
600Fix: Core routing and decision trees in SKILL.md (<300 lines ideal)
601 Detailed content in references/, loaded on-demand
602```
603 
604### Pattern 3: The Orphan References
605```
606Symptom: References directory exists but files are never loaded
607Root cause: No explicit loading triggers
608Fix: Add "MANDATORY - READ ENTIRE FILE" at workflow decision points
609 Add "Do NOT Load" to prevent over-loading
610```
611 
612### Pattern 4: The Checkbox Procedure
613```
614Symptom: Step 1, Step 2, Step 3... mechanical procedures
615Root cause: Author thinks in procedures, not thinking frameworks
616Fix: Transform into "Before doing X, ask yourself..."
617 Focus on decision principles, not operation sequences
618```
619 
620### Pattern 5: The Vague Warning
621```
622Symptom: "Be careful", "avoid errors", "consider edge cases"
623Root cause: Author knows things can go wrong but hasn't articulated specifics
624Fix: Specific NEVER list with concrete examples and non-obvious reasons
625 "NEVER use X because [specific problem that takes experience to learn]"
626```
627 
628### Pattern 6: The Invisible Skill
629```
630Symptom: Great content but skill rarely gets activated
631Root cause: Description is vague, missing keywords, or lacks trigger scenarios
632Fix: Description must answer WHAT, WHEN, and include KEYWORDS
633 "Use when..." + specific scenarios + searchable terms
634 
635Example fix:
636BAD: "Helps with document tasks"
637GOOD: "Create, edit, and analyze .docx files. Use when working with
638 Word documents, tracked changes, or professional document formatting."
639```
640 
641### Pattern 7: The Wrong Location
642```
643Symptom: "When to use this Skill" section in body, not in description
644Root cause: Misunderstanding of three-layer loading
645Fix: Move all triggering information to description field
646 Body is only loaded AFTER triggering decision is made
647```
648 
649### Pattern 8: The Over-Engineered
650```
651Symptom: README.md, CHANGELOG.md, INSTALLATION_GUIDE.md, CONTRIBUTING.md
652Root cause: Treating Skill like a software project
653Fix: Delete all auxiliary files. Only include what Agent needs for the task.
654 No documentation about the Skill itself.
655```
656 
657### Pattern 9: The Freedom Mismatch
658```
659Symptom: Rigid scripts for creative tasks, vague guidance for fragile operations
660Root cause: Not considering task fragility
661Fix: High freedom for creative (principles, not steps)
662 Low freedom for fragile (exact scripts, no parameters)
663```
664 
665---
666 
667## Quick Reference Checklist
668 
669```
670┌─────────────────────────────────────────────────────────────────────────┐
671│ SKILL EVALUATION QUICK CHECK │
672├─────────────────────────────────────────────────────────────────────────┤
673│ │
674│ KNOWLEDGE DELTA (most important): │
675│ [ ] No "What is X" explanations for basic concepts │
676│ [ ] No step-by-step tutorials for standard operations │
677│ [ ] Has decision trees for non-obvious choices │
678│ [ ] Has trade-offs only experts would know │
679│ [ ] Has edge cases from real-world experience │
680│ │
681│ MINDSET + PROCEDURES: │
682│ [ ] Transfers thinking patterns (how to think about problems) │
683│ [ ] Has "Before doing X, ask yourself..." frameworks │
684│ [ ] Includes domain-specific procedures Claude wouldn't know │
685│ [ ] Distinguishes valuable procedures from generic ones │
686│ │
687│ ANTI-PATTERNS: │
688│ [ ] Has explicit NEVER list │
689│ [ ] Anti-patterns are specific, not vague │
690│ [ ] Includes WHY (non-obvious reasons) │
691│ │
692│ SPECIFICATION (description is critical!): │
693│ [ ] Valid YAML frontmatter │
694│ [ ] name: lowercase, ≤64 chars │
695│ [ ] description answers: WHAT does it do? │
696│ [ ] description answers: WHEN should it be used? │
697│ [ ] description contains trigger KEYWORDS │
698│ [ ] description is specific enough for Agent to know when to use │
699│ │
700│ STRUCTURE: │
701│ [ ] SKILL.md < 500 lines (ideal < 300) │
702│ [ ] Heavy content in references/ │
703│ [ ] Loading triggers embedded in workflow │
704│ [ ] Has "Do NOT Load" for preventing over-loading │
705│ │
706│ FREEDOM: │
707│ [ ] Creative tasks → High freedom (principles) │
708│ [ ] Fragile operations → Low freedom (exact scripts) │
709│ │
710│ USABILITY: │
711│ [ ] Decision trees for multi-path scenarios │
712│ [ ] Working code examples │
713│ [ ] Error handling and fallbacks │
714│ [ ] Edge cases covered │
715│ │
716└─────────────────────────────────────────────────────────────────────────┘
717```
718 
719---
720 
721## The Meta-Question
722 
723When evaluating any Skill, always return to this fundamental question:
724 
725> **"Would an expert in this domain, looking at this Skill, say:**
726> **'Yes, this captures knowledge that took me years to learn'?"**
727 
728If the answer is yes → the Skill has genuine value.
729If the answer is no → it's compressing what Claude already knows.
730 
731The best Skills are **compressed expert brains** — they take a designer's 10 years of aesthetic accumulation and compress it into 43 lines, or a document expert's operational experience into a 200-line decision tree.
732 
733What gets compressed must be things Claude doesn't have. Otherwise, it's garbage compression.
734 
735---
736 
737## Self-Evaluation Note
738 
739This Skill (skill-judge) should itself pass evaluation:
740 
741- **Knowledge Delta**: Provides specific evaluation criteria Claude wouldn't generate on its own
742- **Mindset**: Shapes how to think about Skill quality, not just checklist items
743- **Anti-Patterns**: "NEVER Do When Evaluating" section with specific don'ts
744- **Specification**: Valid frontmatter with comprehensive description
745- **Progressive Disclosure**: Self-contained, no external references needed
746- **Freedom**: Medium freedom appropriate for evaluation task
747- **Pattern**: Follows Tool pattern with decision frameworks
748- **Usability**: Clear protocol, report template, quick reference
749 
750 
751 
752Evaluate this Skill against itself as a calibration exercise.
753 

Discussion

Alternatives