This skill should be used when reviewing, auditing, or improving existing Claude Code skills to ensure they follow Anthropic best practices, have proper structure, use current domain-specific patterns, and include all necessary resources. It analyzes skill quality, identifies gaps, suggests improvements, and can automatically enhance skills with updated best practices. Trigger terms include review skill, audit skill, improve skill, enhance skill, update skill, check skill quality, skill best practices, fix skill, optimize skill, validate skill structure.
Reviews and enhances Claude Code skills to follow Anthropic best practices. Audits structure, validates domain-specific patterns, and applies automated fixes when you use terms like "review skill" or "enhance skill.
/plugin marketplace add hopeoverture/worldbuilding-app-skills/plugin install skill-reviewer-and-enhancer@worldbuilding-app-skillsThis skill is limited to using the following tools:
assets/review-report-template.mdreferences/anthropic-skill-standards.mdreferences/nextjs-best-practices.mdreferences/testing-best-practices.mdscripts/analyze_skill_structure.pyReview, audit, and enhance existing Claude Code skills to ensure they follow Anthropic best practices and current domain-specific patterns.
To improve skill quality and ensure adherence to official standards, this skill performs comprehensive analysis of existing skills, identifies structural issues, verifies domain-specific best practices, and automatically applies improvements.
Apply this skill when:
To begin the review process:
# Find skill
ls skills/[category]/[skill-name]/SKILL.md
# Read skill
Read: skills/[category]/[skill-name]/SKILL.md
To verify proper skill structure, check for:
Required Fields:
name: Must be present, hyphen-case, no angle bracketsdescription: Must be present, third-person voice, includes trigger terms, under 1024 charactersOptional Fields:
allowed-tools: Present for read-only/analysis skillsValidation Script:
python scripts/analyze_skill_structure.py --skill skills/[category]/[skill-name]
Verify name follows hyphen-case:
skill-reviewer-and-enhancer, nextjs-fullstack-scaffoldSkillReviewer, skill_reviewer, skillReviewerCheck for invalid patterns:
--)Verify description:
To verify proper instruction format, scan the SKILL.md body for:
Instructions should use imperative/infinitive form:
Use Grep to find second-person usage:
Grep: pattern="\\b[Yy]ou\\b" path="skills/[category]/[skill-name]/SKILL.md" output_mode="content"
Flag any instances for correction.
Verify logical organization:
To ensure the skill follows current best practices for its domain, consult the appropriate reference:
For Next.js, React, TypeScript, database skills, check:
Consult references/nextjs-best-practices.md for detailed checks.
For testing-related skills, check:
Consult references/testing-best-practices.md for detailed checks.
For UI and component skills, check:
Consult references/ui-best-practices.md for detailed checks.
For database and ORM skills, check:
Consult references/database-best-practices.md for detailed checks.
For security-related skills, check:
Consult references/security-best-practices.md for detailed checks.
To verify bundled resources are properly referenced:
Check if skill references scripts and whether they exist:
Grep: pattern="scripts/" path="skills/[category]/[skill-name]/SKILL.md" output_mode="content"
Glob: pattern="skills/[category]/[skill-name]/scripts/*"
Verify:
Check if skill references documentation:
Grep: pattern="references/" path="skills/[category]/[skill-name]/SKILL.md" output_mode="content"
Glob: pattern="skills/[category]/[skill-name]/references/*"
Verify:
Check if skill references templates or output files:
Grep: pattern="assets/" path="skills/[category]/[skill-name]/SKILL.md" output_mode="content"
Glob: pattern="skills/[category]/[skill-name]/assets/*"
Verify:
To create a comprehensive review report, use the template from assets/review-report-template.md:
# Skill Review Report: [Skill Name]
**Skill Path:** skills/[category]/[skill-name]
**Review Date:** [Date]
**Reviewer:** Claude Code (skill-reviewer-and-enhancer)
## Overall Assessment
**Grade:** [A/B/C/D/F]
**Status:** [Production Ready / Needs Minor Fixes / Needs Major Revision]
## Structural Compliance
### Frontmatter
- [x] Name present and valid
- [x] Description present and well-formatted
- [ ] allowed-tools specified (if applicable)
### Naming Convention
- [x] Uses hyphen-case
- [ ] Issue: Contains uppercase/invalid characters
### Description Quality
- [x] Third-person voice
- [x] Includes trigger terms
- [x] Under 1024 characters
- [ ] Issue: Missing WHEN to use explanation
## Instruction Style
### Imperative Form
- [x] Uses verb-first instructions
- [ ] Issue: Found 5 instances of "you should" (lines: 45, 67, 89, 102, 134)
**Recommended Changes:**
Line 45: "You should use the script" → "Use the script" Line 67: "You can generate forms" → "Generate forms" or "To generate forms"
## Domain-Specific Best Practices
### [Domain] Patterns
- [x] Uses current framework version
- [x] Follows recommended patterns
- [ ] Issue: References deprecated API (NextAuth v3, should use v5)
- [ ] Issue: Uses Pages Router patterns (should use App Router)
**Recommended Updates:**
[Specific suggestions for domain improvements]
## Resource Completeness
### Scripts
- [ ] Script `generate_form.py` mentioned but not found
- [x] Script `validate_schema.py` exists and documented
### References
- [x] All references exist
- [ ] `api-patterns.md` is outdated (2022 patterns)
### Assets
- [x] All assets exist and properly formatted
## Suggested Improvements
### Critical (Must Fix)
1. **Fix second-person usage**: Replace 5 instances with imperative form
2. **Add missing script**: Create `generate_form.py` or remove reference
3. **Update deprecated API**: Replace NextAuth v3 with v5 patterns
### Recommended (Should Fix)
1. **Enhance description**: Add more trigger terms related to [domain]
2. **Update reference**: Modernize `api-patterns.md` with 2025 patterns
3. **Add troubleshooting**: Include common error scenarios
### Optional (Nice to Have)
1. **Add examples**: Include more code examples for common use cases
2. **Expand prerequisites**: Document required dependencies
3. **Add related skills**: Link to complementary skills
## Modernization Opportunities
1. **Framework Updates**: Update from Next.js 14 to Next.js 15/16
2. **Tooling Updates**: Replace Jest with Vitest
3. **Pattern Updates**: Use Server Actions instead of API routes
4. **Type Safety**: Add more TypeScript examples
## Automated Fixes Available
The following fixes can be applied automatically:
- [ ] Convert "you" to imperative form (5 instances)
- [ ] Update frontmatter format
- [ ] Fix hyphenation in name
- [ ] Add missing allowed-tools field
**Apply automated fixes?** (Yes/No)
To apply improvements to the skill, proceed with user approval:
For structural and style issues:
Fix Second-Person Usage:
// Replace patterns like:
"You should use" → "Use"
"You can generate" → "Generate" or "To generate"
"You need to configure" → "Configure" or "To configure"
"You will see" → "This displays" or "This shows"
"You have to install" → "Install"
Use Edit tool to apply changes:
Edit: file_path="skills/[category]/[skill-name]/SKILL.md"
old_string="You should use the generator script"
new_string="Use the generator script"
Fix Frontmatter: Add missing fields or correct format:
---
name: skill-name-in-hyphen-case
description: Third-person description with trigger terms under 1024 chars.
allowed-tools: Read, Grep, Glob # For read-only skills
---
Fix Name Convention: If name uses wrong format, update both frontmatter and directory:
For framework/library updates:
Update Next.js Patterns:
pages/ with app/ directory examplesgetServerSideProps with Server ComponentsUpdate Testing Patterns:
Update Database Patterns:
Update Security Patterns:
For missing resources:
Create Missing Scripts:
Use templates from assets/script-templates/ to generate placeholder scripts:
#!/usr/bin/env python3
"""
Script for [skill-name]: [purpose]
"""
def main():
# Implementation here
pass
if __name__ == "__main__":
main()
Create Missing References: Generate reference documents with appropriate content:
# [Topic] Best Practices
## Overview
[Introduction to the topic]
## Patterns
[Common patterns and examples]
## Anti-Patterns
[What to avoid]
## Resources
[External references]
Create Missing Assets: Generate template files as needed for the skill's purpose.
To verify improvements, run validation:
python scripts/quick_validate.py skills/[category]/[skill-name]
Confirm:
To document changes made, create a summary:
# Skill Enhancement Summary
**Skill:** [name]
**Date:** [date]
**Changes Applied:** [count]
## Structural Fixes
- Fixed second-person usage (5 instances)
- Updated frontmatter format
- Added allowed-tools field
## Domain Updates
- Updated Next.js patterns to v15
- Replaced deprecated APIs
- Added modern code examples
## Resource Updates
- Created missing script: generate_form.py
- Updated reference: api-patterns.md
- Added asset: template.tsx
## Validation
[OK] Skill passes all validation checks
[OK] Ready for production use
## Next Steps
1. Review changes in SKILL.md
2. Test any new scripts
3. Update CATALOG.md if needed
4. Deploy to project or personal directory
Problem: Instructions use "you should" or "you can"
Fix: Convert to imperative form using Edit tool
Problem: Skill references old API or deprecated patterns
Fix: Update to current version following official documentation
Problem: Skill references scripts/references/assets that don't exist
Fix: Either create placeholder resources or remove references
Problem: Description doesn't include trigger terms or explain when to use
Fix: Enhance description with specific use cases and keywords
Problem: Steps are vague or missing critical details
Fix: Add detailed substeps, examples, and edge case handling
Automated analysis tool that parses SKILL.md, validates frontmatter, checks naming conventions, and identifies structural issues.
Domain-specific pattern validator that checks for current best practices in Next.js, React, testing, databases, security, etc.
Batch fix application tool that can automatically correct common issues like second-person usage, frontmatter format, and naming.
Current Next.js patterns including App Router, Server Components, Server Actions, and modern configuration.
Modern testing patterns with Vitest, React Testing Library, Playwright, and accessibility testing.
shadcn/ui usage patterns, Tailwind CSS conventions, accessibility guidelines, and component composition.
Prisma ORM patterns, Supabase integration, RLS policies, and database security.
OWASP guidelines, authentication patterns, session management, CSRF protection, and secure headers.
Official Anthropic skill creation standards including structure, naming, voice, and resource organization.
Structured template for generating comprehensive skill review reports.
Python and Bash script templates for creating missing skill resources.
Markdown templates for creating missing reference documentation.
When reviewing and enhancing skills:
Use this skill as part of:
After enhancing skills:
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.