Reviewing Skills
Comprehensive review of agent skills against Claude's official best practices.
Quick Start
To review a skill:
- Ask user for skill path (e.g.,
.claude/skills/skill-name/)
- Read SKILL.md and analyze structure
- Check against best practices
- Provide detailed feedback with priorities
Example review output:
## Compliance Score
- Naming: ✓ Excellent - `processing-pdfs` (gerund form)
- Description: ⚠ Needs work - Missing "when to use"
- Size: ✓ Good - 234 lines
## Important Issues
- Add "Use when..." to description for better triggering
Review Process
Step 1: Initial Analysis
Read and analyze:
- SKILL.md (frontmatter and body)
- Directory structure
- Reference files (if any)
- Scripts/assets (if any)
Step 2: Core Compliance Checks
Naming (gerund form preferred):
- ✓ Good:
processing-pdfs, analyzing-data, managing-workflows
- ✗ Avoid:
helper, utils, tools, anthropic-*, claude-*
- Requirements: max 64 chars, lowercase/numbers/hyphens only, no XML tags
Description (third person, what + when):
- ✓ Specific with key terms
- ✓ Includes both what it does and when to use it
- ✗ Vague ("helps with documents")
- Requirements: non-empty, max 1024 chars, no XML tags, third person only
SKILL.md Size:
- Target: <500 lines (ideally 200-400)
- If >500 lines: suggest moving content to references
Progressive Disclosure:
- Level 1: Metadata (name + description) always loaded
- Level 2: SKILL.md body loaded when triggered
- Level 3: References loaded as needed
- Check: Are details properly split into reference files?
Single Responsibility:
- Does skill focus on one clear purpose?
- Or does it try to be a multi-purpose helper?
allowed-tools (if present):
- ✗ Too broad:
Bash(git:*) (includes destructive operations)
- ✓ Specific:
Bash(git status:*) Bash(git diff:*) Bash(git log:*)
- ✗ Unnecessary:
Read, Glob (already allowed by default)
- ✗ Dangerous:
Edit, Write, Bash(rm:*) (destructive tools should not be pre-approved)
- Check: Are only non-destructive commands allowed?
- Check: Are subcommands specified explicitly?
Step 3: Detailed Structure Review
File Organization:
- Required: SKILL.md, tests/scenarios.md
- Optional: README.md (human-facing), references/, scripts/, assets/
- Should NOT exist: CHANGELOG.md, INSTALLATION_GUIDE.md
Reference Depth:
- References should be one level deep from SKILL.md
- Avoid: SKILL.md → ref1.md → ref2.md (too nested)
- Good: SKILL.md → ref1.md, ref2.md, ref3.md
Reference Files:
- Files >100 lines should have table of contents
- Check TOC presence: If reference file >100 lines, verify table of contents exists at top
- Descriptive file names (not
doc1.md, misc.md)
- Domain-specific organization when appropriate
Content Quality:
- Concise (only what Claude doesn't know)
- No time-sensitive information
- Consistent terminology
- Concrete examples
- Clear workflows
Workflows and Validation (see checklist.md for detailed criteria):
README.md (optional but recommended):
Step 4: Generate Feedback
Organize feedback by priority:
Critical Issues (must fix):
- Name violates requirements
- Description missing or invalid
- SKILL.md >500 lines without good reason
Important Issues (should fix):
- Poor naming (not gerund form, too vague)
- Weak description (missing "when to use", too vague)
- Duplicate information between SKILL.md and references
- Deeply nested references
- Missing progressive disclosure
- Missing tests/scenarios.md (required for multi-model testing)
Suggestions (nice to have):
- Could be more concise
- Could improve examples
- Could reorganize for clarity
- Could add reference files for long sections
Step 5: Provide Actionable Feedback
For each issue:
- Explain the problem
- Show why it matters
- Suggest specific fix
- Provide example if helpful
Format:
## Critical Issues
- **Issue**: [Problem description]
- **Why it matters**: [Impact explanation]
- **Fix**: [Specific action]
- **Example**: [If applicable]
## Important Issues
[Same format]
## Suggestions
[Same format]
Output Format
Structure review with these sections:
- Summary: Overall assessment, key strengths, areas for improvement
- Compliance Score: Naming, Description, Size, Progressive Disclosure, Structure (each with ✓/⚠/✗)
- Critical Issues: Must fix (with explanations and fixes)
- Important Issues: Should fix (with explanations and fixes)
- Suggestions: Nice to have (with improvements)
- Next Steps: Prioritized actions
See references/checklist.md for detailed criteria.
1---2name: reviewing-skills3description: Review skill files for best practices compliance (naming, description, structure, size). Use when checking SKILL.md quality or getting feedback before publishing. Static analysis only - does NOT execute the skill.4license: Apache-2.05---67# Reviewing Skills89Comprehensive review of agent skills against Claude's official best practices.1011## Quick Start1213To review a skill:14151. Ask user for skill path (e.g., `.claude/skills/skill-name/`)162. Read SKILL.md and analyze structure173. Check against best practices184. Provide detailed feedback with priorities1920**Example review output**:21```22## Compliance Score23- Naming: ✓ Excellent - `processing-pdfs` (gerund form)24- Description: ⚠ Needs work - Missing "when to use"25- Size: ✓ Good - 234 lines2627## Important Issues28- Add "Use when..." to description for better triggering29```3031## Review Process3233### Step 1: Initial Analysis3435Read and analyze:36- SKILL.md (frontmatter and body)37- Directory structure38- Reference files (if any)39- Scripts/assets (if any)4041### Step 2: Core Compliance Checks4243**Naming** (gerund form preferred):44- ✓ Good: `processing-pdfs`, `analyzing-data`, `managing-workflows`45- ✗ Avoid: `helper`, `utils`, `tools`, `anthropic-*`, `claude-*`46- Requirements: max 64 chars, lowercase/numbers/hyphens only, no XML tags4748**Description** (third person, what + when):49- ✓ Specific with key terms50- ✓ Includes both what it does and when to use it51- ✗ Vague ("helps with documents")52- Requirements: non-empty, max 1024 chars, no XML tags, third person only5354**SKILL.md Size**:55- Target: <500 lines (ideally 200-400)56- If >500 lines: suggest moving content to references5758**Progressive Disclosure**:59- Level 1: Metadata (name + description) always loaded60- Level 2: SKILL.md body loaded when triggered61- Level 3: References loaded as needed62- Check: Are details properly split into reference files?6364**Single Responsibility**:65- Does skill focus on one clear purpose?66- Or does it try to be a multi-purpose helper?6768**allowed-tools** (if present):69- ✗ Too broad: `Bash(git:*)` (includes destructive operations)70- ✓ Specific: `Bash(git status:*) Bash(git diff:*) Bash(git log:*)`71- ✗ Unnecessary: `Read`, `Glob` (already allowed by default)72- ✗ Dangerous: `Edit`, `Write`, `Bash(rm:*)` (destructive tools should not be pre-approved)73- Check: Are only non-destructive commands allowed?74- Check: Are subcommands specified explicitly?7576### Step 3: Detailed Structure Review7778**File Organization**:79- Required: SKILL.md, tests/scenarios.md80- Optional: README.md (human-facing), references/, scripts/, assets/81- Should NOT exist: CHANGELOG.md, INSTALLATION_GUIDE.md8283**Reference Depth**:84- References should be one level deep from SKILL.md85- Avoid: SKILL.md → ref1.md → ref2.md (too nested)86- Good: SKILL.md → ref1.md, ref2.md, ref3.md8788**Reference Files**:89- Files >100 lines should have table of contents90- **Check TOC presence**: If reference file >100 lines, verify table of contents exists at top91- Descriptive file names (not `doc1.md`, `misc.md`)92- Domain-specific organization when appropriate9394**Content Quality**:95- Concise (only what Claude doesn't know)96- No time-sensitive information97- Consistent terminology98- Concrete examples99- Clear workflows100101**Workflows and Validation** (see checklist.md for detailed criteria):102- [ ] Complex workflows include checklists for progress tracking103- [ ] Validation patterns used appropriately (plan-validate-execute, validate script, feedback loop)104- [ ] Validation scripts have clear, actionable error messages105- [ ] Workflows explain recovery steps when validation fails106- [ ] Validation level matches task risk (high-risk tasks should have validation)107108**README.md** (optional but recommended):109- [ ] If exists, includes installation instructions and required permissions110- [ ] Explains file structure (especially `tests/scenarios.md` as self-evaluation scenarios)111- [ ] Clearly human-facing (not duplicating SKILL.md content)112- [ ] Provides overview and usage guidance113114### Step 4: Generate Feedback115116Organize feedback by priority:117118**Critical Issues** (must fix):119- Name violates requirements120- Description missing or invalid121- SKILL.md >500 lines without good reason122123**Important Issues** (should fix):124- Poor naming (not gerund form, too vague)125- Weak description (missing "when to use", too vague)126- Duplicate information between SKILL.md and references127- Deeply nested references128- Missing progressive disclosure129- Missing tests/scenarios.md (required for multi-model testing)130131**Suggestions** (nice to have):132- Could be more concise133- Could improve examples134- Could reorganize for clarity135- Could add reference files for long sections136137### Step 5: Provide Actionable Feedback138139For each issue:1401. Explain the problem1412. Show why it matters1423. Suggest specific fix1434. Provide example if helpful144145Format:146```markdown147## Critical Issues148- **Issue**: [Problem description]149 - **Why it matters**: [Impact explanation]150 - **Fix**: [Specific action]151 - **Example**: [If applicable]152153## Important Issues154[Same format]155156## Suggestions157[Same format]158```159160## Output Format161162Structure review with these sections:163- **Summary**: Overall assessment, key strengths, areas for improvement164- **Compliance Score**: Naming, Description, Size, Progressive Disclosure, Structure (each with ✓/⚠/✗)165- **Critical Issues**: Must fix (with explanations and fixes)166- **Important Issues**: Should fix (with explanations and fixes)167- **Suggestions**: Nice to have (with improvements)168- **Next Steps**: Prioritized actions169170See [references/checklist.md](references/checklist.md) for detailed criteria.