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?
Step 3: Detailed Structure Review
File Organization:
- Required: SKILL.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
Suggestions (nice to have):
- Could be more concise
- Could improve examples
- Could reorganize for clarity
- Could add reference files for long sections
- Missing Settings.json Permissions section (add copy-paste snippet)
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.