agentleFS
AgriciDanielAgriciDaniel/skill-forge/skills/skill-forge-review/SKILL.md

skill-forge-review

Skill177 starsChanged 9 months agoMITView on GitHub

Audit and validate existing Claude Code skills for quality, triggering accuracy, structure compliance, and best practices. Scores skills on a 0-100 scale and provides prioritized improvement recommendations. Use when user says "review skill", "audit skill", "check skill", "validate skill", or "skill quality".

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read all .md files, scripts, and asset files.

    line 21
  2. Very specific:

    Run python scripts/validate_skill.py <path> for programmatic checks.

    line 25
  3. Distinctive:

    After reviewing, generate a structured trigger eval set for ongoing testing:

    line 112
  4. Very specific:

    Run python scripts/generate_eval_set.py <path> to auto-generate a starter set

    line 114
  5. Distinctive:

    Ensure 8-10 should-trigger queries cover different phrasings and edge cases

    line 116
  6. Distinctive:

    Ensure 8-10 should-not-trigger queries are near-misses (not obviously irrelevant)

    line 117

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Review & Validation

Process

Step 1: Locate Skill Files

Accept input as:

  • Path to a skill directory
  • Skill name (search in ~/.claude/skills/)
  • URL to a GitHub repository

Read all .md files, scripts, and asset files.

Step 2: Structure Validation

Run python scripts/validate_skill.py <path> for programmatic checks.

Manual verification:

  • SKILL.md exists (exact case)
  • No README.md inside skill folder
  • Folder name matches name field
  • Valid kebab-case naming (1-64 chars)
  • No "claude" or "anthropic" in name

Step 3: Frontmatter Audit

CheckPass Criteria
Name formatkebab-case, 1-64 chars, no leading/trailing hyphens
Description presentNon-empty, 1-1024 characters
Description has WHATExplains capabilities
Description has WHENIncludes trigger phrases
Description has keywordsDomain-specific terms included
No XML tagsNo < or > characters
Optional fields validlicense, compatibility (<500 chars), metadata

Step 4: Triggering Analysis

Assess the description for activation quality:

Under-triggering risks:

  • Too generic ("Helps with projects")
  • Missing common paraphrases
  • No domain keywords
  • Missing file type mentions (if relevant)

Over-triggering risks:

  • Too broad ("Processes documents")
  • Overlaps with built-in Claude capabilities
  • Missing negative triggers for disambiguation

Generate test queries:

  • 5 queries that SHOULD trigger the skill
  • 5 queries that SHOULD NOT trigger
  • 3 edge cases (ambiguous queries)

Step 5: Instruction Quality

CriterionScore (0-10)
SpecificityAre instructions actionable? (not "validate properly")
CompletenessAll workflows covered?
Error handlingCommon failures addressed?
ExamplesConcrete examples provided?
Progressive disclosureDetailed docs in references/ not SKILL.md?
LengthUnder 500 lines / 5000 tokens?
Cross-referencesClear links to references/scripts?

Step 6: Architecture Review (Multi-skill)

For skills with sub-skills:

  • Main skill has clear routing table
  • Sub-skills have focused responsibilities
  • Cross-references are valid (files exist)
  • Naming follows parent-child convention
  • Shared references in parent, not duplicated
  • Agents have clear roles (if Tier 4)

Step 7: Script Quality (if present)

  • Docstrings with purpose, input, output
  • CLI interface (argparse or similar)
  • Structured output (JSON)
  • Error handling (try/except with clear messages)
  • No hardcoded paths or secrets
  • Minimal dependencies

Step 8: Generate Skill Health Score

Scoring methodology (0-100):

CategoryWeightChecks
Frontmatter Quality25%Name, description, format
Trigger Accuracy20%WHAT + WHEN + keywords
Instruction Quality25%Specificity, completeness, examples
Structure Compliance15%File naming, organization, references
Script Quality10%If applicable (full marks if no scripts needed)
Progressive Disclosure5%Proper use of 3-level system

Step 9: Generate Trigger Eval Set

After reviewing, generate a structured trigger eval set for ongoing testing:

  1. Run python scripts/generate_eval_set.py <path> to auto-generate a starter set
  2. Review and refine the generated queries:
    • Ensure 8-10 should-trigger queries cover different phrasings and edge cases
    • Ensure 8-10 should-not-trigger queries are near-misses (not obviously irrelevant)
    • Include casual speech, typos, and uncommon domain uses in should-trigger set
  3. Save the eval set to evals/evals.json in the skill directory

Good queries are realistic and specific (include file paths, context, domain details). Bad queries are overly generic ("format this data") or obviously irrelevant.

  1. Run python scripts/optimize_description.py <path> --eval-set evals/evals.json to score the current description and get improvement suggestions
  2. Recommend running /skill-forge eval <path> for full functional evaluation

Step 10: Generate Report

# Skill Review: [name]

## Health Score: [X]/100

## Summary
[2-3 sentence assessment]

## Scores by Category
| Category | Score | Notes |
|----------|-------|-------|
| Frontmatter | X/25 | [issues] |
| Triggering | X/20 | [issues] |
| Instructions | X/25 | [issues] |
| Structure | X/15 | [issues] |
| Scripts | X/10 | [issues] |
| Disclosure | X/5 | [issues] |

## Critical Issues (fix immediately)
- [issue 1]
- [issue 2]

## High Priority (fix within 1 week)
- [issue 1]

## Recommendations
- [suggestion 1]
- [suggestion 2]

## Suggested Test Queries
### Should Trigger
1. [query]
2. [query]
3. [query]

### Should NOT Trigger
1. [query]
2. [query]
3. [query]

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.