skill-review
sanyuan0704/sanyuan-skills
Quality audit for Claude Code skills—analyzes structure, descriptions, workflows, token efficiency, and anti-patterns.
What is skill-review?
Skill Review evaluates Claude Code skills against best practices for structure, description clarity, workflow design, token efficiency, and common anti-patterns. Use it when you want to validate a skill's quality, identify improvements, or ensure it follows the established standards for skill development.
- Analyzes skill directory structure and SKILL.md compliance (500-line limit, proper frontmatter, file organization)
- Evaluates description quality for concrete trigger keywords, self-containment, and router-friendliness
- Audits workflow design for trackable checklists, required/blocking markers, confirmation gates, and linear progression
- Checks token efficiency: Iron Laws, progressive reference loading, imperative instructions, script execution vs. context loading
- Detects anti-patterns: vague directives, placeholder residue, over-specification, missing guardrails, and monolithic files
How to install skill-review
npx skills add https://github.com/sanyuan0704/sanyuan-skills --skill skill-reviewHow to use skill-review
- 1.Provide the skill path, skill name, or run from within a skill directory
- 2.The skill loads the target SKILL.md and inventories all files
- 3.Review output presents strengths (what works well) and prioritized suggestions (specific, actionable fixes)
- 4.Each suggestion includes: What (the issue), Where (file/location), and Fix (concrete change with before/after when helpful)
Use cases
- Review a new skill before publishing to ensure it meets quality standards and best practices
- Audit an existing skill to identify structural improvements and token efficiency gains
- Validate skill descriptions are concrete and trigger-keyword-rich for proper router matching
- Check for common anti-patterns like vague directives or missing pre-delivery checklists
- Evaluate workflow design for clarity, safety gates, and progressive complexity
- Skill developers building Claude Code extensions
- Teams maintaining skill repositories and quality standards
- Developers auditing existing skills for compliance and improvement
- Anyone validating skill quality before installation or use
skill-review FAQ
It must state exactly what to change, where to change it, and why it matters for model output quality. Vague feedback like 'could be improved' is rejected; instead, show before/after examples or specific line changes.
Under 500 lines. If it exceeds this, move domain-specific details into reference files and load them progressively rather than upfront.
REQUIRED steps must be completed for the skill to function; BLOCKING steps prevent proceeding until a condition is met (e.g., user confirmation before destructive operations).
No. Load references progressively on-demand. SKILL.md should only contain what Claude doesn't already know; detailed domain knowledge belongs in separate reference files.
The review checks intent. If simplicity is the design goal, omitting features is not a flaw—the reviewer will note that as a strength, not a gap.
Full instructions (SKILL.md)
Source of truth, from sanyuan0704/sanyuan-skills.
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
nameanddescription(plus optionalallowed-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)
Related skills
More from sanyuan0704/sanyuan-skills and the wider catalog.

wiki-ingest
Compile articles and documents into a structured, cross-referenced wiki knowledge base.

book-study
Systematic reading coach with knowledge compilation, mastery testing, and spaced repetition for deep book learning.

code-review-expert
Expert code review of git changes detecting SOLID violations, security risks, and proposing actionable improvements.

sigma
Personalized 1-on-1 AI tutor using Bloom's 2-Sigma mastery learning with Socratic questioning and adaptive pacing.

dev-browser
Browser automation with persistent named pages via CLI—navigate, fill forms, scrape, and test websites.

excel-cli
Agent skill from sbroenne/mcp-server-excel.