skill-review — Claude Code skill: what it does, how to install
Audits Claude Code skills against best practices for structure, token efficiency, and trigger quality. Delivers prioritized fixes with exact line citations.
npx skills add sanyuan0704/sanyuan-skills --skill skill-review -a claude-codeWhat skill-review does
The skill inspects local skills across five core areas: directory layout, description trigger quality, workflow progression, token efficiency, and anti-patterns. It flags monolithic SKILL.md files exceeding 500 lines, redundant context loading, and vague instructions lacking concrete constraints.
During the run, it evaluates frontmatter fields, checks for copy-paste-friendly checklists, and confirms whether scripts run as commands instead of loading full text into context. It pulls detailed scoring rules from references/review-criteria.md. Over-specifying basics that Claude already knows will trigger a direct suggestion to trim the prompt.
The resulting report opens with at least two genuine strengths quoting exact lines, followed by suggestions ordered by impact. You must supply a valid skill path or run the command inside a directory containing SKILL.md, otherwise target loading fails.
What it helps with
- Audit SKILL.md files for token bloat and vague prompts
- Validate trigger keywords and frontmatter description quality
- Check directory layout and reference nesting rules
- Generate prioritized fixes with before and after diffs
Example prompts for the agent
- /skill-review path/to/skill
- Audit this skill and check for anti-patterns: review skill
- Evaluate token efficiency and workflow structure for this skill
How to install skill-review
1Skills CLI (Vercel)
npx skills add sanyuan0704/sanyuan-skills --skill skill-review -a claude-code2Manually: put the files in place
~/.claude/skills/skill-review/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/skill-review/
1Skills CLI (Vercel)
npx skills add sanyuan0704/sanyuan-skills --skill skill-review -a codex2Manually: put the files in place
.agents/skills/skill-review/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add sanyuan0704/sanyuan-skills --skill skill-review -a cursor2Manually: put the files in place
.cursor/skills/skill-review/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install sanyuan0704/sanyuan-skills skill-review2Manually: put the files in place
.github/skills/skill-review/SKILL.md1Skills CLI (Vercel)
npx skills add sanyuan0704/sanyuan-skills --skill skill-review -a gemini-cli2Platform CLI
gemini skills install https://github.com/sanyuan0704/sanyuan-skills --path skills/skill-reviewManually: put the files in place
.devin/skills/skill-review/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add sanyuan0704/sanyuan-skills --skill skill-review -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set6
The whole set →Similar
Questions about skill-review
How do I install skill-review in Claude Code?
Run npx skills add sanyuan0704/sanyuan-skills --skill skill-review -a claude-code in your terminal. The file is placed in ~/.claude/skills/skill-review/SKILL.md.
What five dimensions does the audit evaluate?
It reviews structure compliance, description quality, workflow design, token efficiency, and anti-pattern detection.
What does the review output format look like?
The report lists at least two specific strengths with direct quotes, followed by suggestions ranked by impact with exact locations and concrete fixes.
Source text
SKILL.md · MIT
---
name: skill-review
description: "Quality review and audit for Claude Code skills. Analyzes skill structure, description quality, workflow design, token efficiency, and anti-patterns against best practices. Use when user wants to review a skill, audit a skill, check skill quality, evaluate a skill, critique a skill, lint a skill, or validate a skill. Triggers: 'review skill', 'audit skill', 'skill quality', 'check my skill', 'evaluate skill', 'skill lint', 'validate skill', 'skill review', 'is this skill good', 'improve this skill'."
---
# Skill Review
IRON LAW: Be specific and actionable. Never say "could be improved" without stating exactly what to change and why it matters for model output quality.
## Workflow
```
Skill Review Progress:
- [ ] Step 1: Load Target ⚠️ REQUIRED
- [ ] 1.1 Identify skill path
- [ ] 1.2 Read SKILL.md and inventory all files
- [ ] Step 2: Analyze ⚠️ REQUIRED
- [ ] 2.1 Structure compliance
- [ ] 2.2 Description quality
- [ ] 2.3 Workflow design
- [ ] 2.4 Token efficiency
- [ ] 2.5 Anti-pattern detection
- [ ] Step 3: Report ⚠️ REQUIRED
- [ ] 3.1 Strengths (what's done well)
- [ ] 3.2 Suggestions (prioritized improvements)
```
## Step 1: Load Target ⚠️ REQUIRED
Identify the skill to review. Accept:
- Explicit path: `/skill-review path/to/skill`
- Current directory context: if user is already in a skill folder
- Skill name: search within the workspace for matching skill directory
Read the full SKILL.md and list all files in the skill directory. Count SKILL.md line count — this is a key metric.
## Step 2: Analyze ⚠️ REQUIRED
Load references/review-criteria.md for detailed criteria. Evaluate the skill across five dimensions:
### 2.1 Structure Compliance
Questions to answer:
- Does the directory follow the standard layout (SKILL.md, scripts/, references/, assets/)?
- Is SKILL.md under 500 lines?
- Does frontmatter contain only `name` and `description` (plus optional `allowed-tools`, `license`, `metadata`)?
- Are there unnecessary files (README.md, CHANGELOG.md, LICENSE duplicates)?
- Are references organized by domain with one level of nesting?
### 2.2 Description Quality
Questions to answer:
- Does the description include concrete trigger keywords and phrases?
- Does it use keyword bombing (multiple phrasings of the same intent)?
- Is it self-contained — can a router understand what this skill does without reading the body?
- Does it avoid putting "When to Use" info in the body instead of the description?
- Would a user's natural language query match this description?
### 2.3 Workflow Design
Questions to answer:
- Is there a trackable checklist with copy-paste-friendly format?
- Are critical steps marked with ⚠️ REQUIRED or ⛔ BLOCKING?
- Are there confirmation gates before destructive/generative operations?
- Is the workflow linear and progressive, or does it jump around?
- Are sub-steps used where complexity demands it?
### 2.4 Token Efficiency
Questions to answer:
- Is there an Iron Law or core constraint at the top?
- Does SKILL.md only contain what Claude doesn't already know?
- Are references loaded progressively (on-demand) rather than all upfront?
- Are instructions in imperative form (not "You should...")?
- Are scripts executed rather than loaded into context?
- Is there redundancy between SKILL.md and reference files?
### 2.5 Anti-Pattern Detection
Check for these known bad patterns:
- Vague directives ("ensure good quality", "make it better")
- Placeholder residue (TODO, FIXME, xxx, TBD)
- Over-specification of things Claude already knows
- No anti-patterns section (model has no guardrails against lazy defaults)
- Missing pre-delivery checklist (no concrete verification criteria)
- Giant monolithic SKILL.md with no reference extraction
- Instructions that describe WHAT rather than constrain HOW
## Step 3: Report ⚠️ REQUIRED
### Output Format
Present the review in this order:
**1. Strengths** — What this skill does well. Be specific: quote the actual lines or patterns that work. Minimum 2 strengths, even for weak skills (find what's salvageable).
**2. Suggestions** — Improvements sorted by impact (highest first). Each suggestion must include:
- **What**: the specific issue found
- **Where**: file and location
- **Fix**: concrete actionable change (show before/after when helpful)
Group suggestions by dimension only if there are many (5+). Otherwise present as a flat prioritized list.
### Tone
- Direct, constructive, collegial
- Lead with genuine strengths — not filler praise
- Suggestions are opportunities, not failures
- If the skill is already solid, say so briefly and move on
## Anti-Patterns for This Skill
- Giving vague praise ("nice structure!") without quoting what specifically works
- Listing problems without actionable fixes
- Reviewing against personal taste rather than the documented principles
- Suggesting over-engineering for simple skills
- Flagging missing features that the skill intentionally omits (check if simplicity is the point)
© sanyuan0704 · MIT · sanyuan0704/sanyuan-skills