skill-validator
Skill6 starsChanged 28 days agoMITView on GitHub
Ralph-loop skill validator. Iteratively runs a target skill against representative inputs in a target repo, scores output against pass criteria, applies fixes, and re-runs until pass or budget exhausted. Use when you need to validate that a skill works as advertised on a real codebase rather than just reviewing the SKILL.md by eye. Triggers — "validate this skill against [repo]", "ralph loop on [skill]", "does this skill work on [target repo]", "run the skill-validator". Read-only against the target repo by default.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- Ramya-Meyyazhagan/skill_validatortheir own version, first seen Nov 15, 2026
- Anvil-Code/skill-validatortheir own version, first seen Nov 15, 2026
- AbdulSamad94/Personal-AI-Employeetheir own version, first seen Nov 8, 2026
- gurupak/claude-skillstheir own version, first seen Oct 25, 2026
- AlessioScarfone/skillstheir own version, first seen Oct 15, 2026
- manastalukdar/ai-devstudiotheir own version, first seen Oct 13, 2026
Used with
Projects with it also use fetch-library-docs, browsing-with-playwright and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Rehan-Ul-HaqSkillfetch-library-docs
Fetches official documentation for external libraries and frameworks (React, Next.js, Prisma, FastAPI, Express, Tailwind, MongoDB, etc.) with 60-90% token savings via content-type filtering. Use this skill when implementing features using library APIs, debugging library-specific errors, troubleshooting configuration issues, installing or setting up frameworks, integrating third-party packages, upgrading between library versions, or looking up correct API patterns and best practices. Triggers automatically during coding work - fetch docs before writing library code to get correct patterns, not after guessing wrong.
Also in 6 projects that use this
mjunaidcaSkillbrowsing-with-playwright
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction. NOT when only fetching static content (use curl/wget instead).
Also in 5 projects that use this
muhammad-anas35Skillskill-creator-pro
Creates production-grade, reusable skills that extend Claude's capabilities. This skill should be used when users want to create a new skill, improve an existing skill, or build domain-specific intelligence. Gathers context from codebase, conversation, and authentic sources before creating adaptable skills.
Also in 7 projects that use this
dazuckSkillinterview
Interview me about a plan to flesh out requirements before implementation. Asks non-obvious questions one at a time until all ambiguities are resolved.
Also in 4 projects that use this
JetBrainsSkilldoc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Also in 4 projects that use this
GoogleSkillinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Also in 4 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- panaversity/claude-code-skills-lab★ 57same name
- AbdulSamad94/Personal-AI-Employee★ 8same name
- Rehan-Ul-Haq/my-skills★ 8same name
- vbonk/repo-template★ 8same name
- sheikh-mohammad/agent-factory-claude-skills★ 6same name
- Anvil-Code/skill-validator★ 4same name
- localSummer/skills★ 4same name
- shipshitgames/skills★ 2same name
- studiobrittany/studio-brittany-ai★ 2same name
- coreline-ai/validation-skill-base★ 1same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- adversarial-re-readSkill
- adversarial-reviewSkill
- build-estimateSkill
- build-evaluateSkill
- build-executeSkill
- build-planSkill
- build-polishSkill
- build-prdSkill
- build-probeSkill
- build-validateSkill
- excel-connector-governanceSkill
- five-whysSkill
- insight-builderSkill
- insight-crystallizerSkill
- insight-promotionSkill
- multi-sessionSkill
- notion-governanceSkill
- oodaSkill
- prd-writerSkill
- promote-to-toolingSkill
- quality-reviewSkill
- ralph-implementSkill
- ralph-loopSkill
- search-governanceSkill
- session-outputSkill
- task-planSkill
- verifySkill
- voice-profile-testSkill
- why-diagnosticSkill
- writing-qualitySkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 8 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
8
Distinctive
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
- Distinctive: line 12
After authoring a new skill, before promoting it for general use
- Distinctive: line 13
After editing an existing skill's prompt or pre-flight checklist
- Distinctive: line 14
When a skill behaves correctly in chat but fails in scripted runs (or vice versa)
- Distinctive: line 15
When promoting a skill from one project to another
- Distinctive: line 16
When validating that a skill works against a specific target repo
- Very specific: line 59
Read SKILL_PATH end-to-end.
- Very specific: line 60
Read TARGET_REPO/CLAUDE.md (if present) to understand project conventions.
- Very specific: line 65
Read PASS_CRITERIA and confirm every criterion is binary (yes/no), not vibes-based.
- Distinctive: line 68
If iteration 0 passes everything, the skill is valid as-shipped.
- Distinctive: line 109
Audit every iteration: No silent passes. The log file is the artifact, not just the final result.
- Distinctive: line 111
Two-strike rule on patches: If two consecutive iterations apply patches and neither moves the score, stop and ask the user.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Validator — Ralph Loop
A continuous-iteration eval loop for skills. Geoffrey Huntley-style: run the skill, evaluate, fix, re-run until pass criteria are met or the budget is spent. The loop fails closed, not open — if the budget exhausts before pass, the skill is reported as failing with a numbered list of unmet criteria.
When to use
- After authoring a new skill, before promoting it for general use
- After editing an existing skill's prompt or pre-flight checklist
- When a skill behaves correctly in chat but fails in scripted runs (or vice versa)
- When promoting a skill from one project to another
- When validating that a skill works against a specific target repo
When NOT to use
- The skill is purely conversational with no measurable output — there's nothing to score
- The target repo is unavailable or empty — there's nothing to run against
- The skill is already covered by deterministic unit tests — those are cheaper and stricter
Inputs
SKILL_PATH— path to the skill being validated (e.g.,.claude/skills/quality-review/SKILL.md)TARGET_REPO— path to the repo the skill will run againstPASS_CRITERIA— file or inline list of required behaviors. Each criterion is a yes/no the loop can score. Format:<id>: <description>(one per line)BUDGET— max iterations (default 5) and max minutes (default 30). Hard cap; the loop fails if either is hit.
The Loop
iteration = 0
while iteration < BUDGET.max_iterations:
iteration += 1
# 1. Run skill on representative input from TARGET_REPO
output = run_skill(SKILL_PATH, sample_input(TARGET_REPO))
# 2. Score output against PASS_CRITERIA
results = score(output, PASS_CRITERIA)
if all(results.values()):
return PASS(iteration)
# 3. Identify which criteria failed and why
failures = [(id, why) for id, ok in results.items() if not ok]
# 4. Generate a targeted fix to SKILL.md
patch = propose_fix(SKILL_PATH, failures)
apply(patch)
log(iteration, failures, patch)
return FAIL(iteration, last_failures)Phase 1 — Setup (one-shot, before the loop)
- Read
SKILL_PATHend-to-end. Note the skill's stated triggers, inputs, and outputs. - Read
TARGET_REPO/CLAUDE.md(if present) to understand project conventions. - Pick 2–3 representative inputs from the target repo:
- For a code-review skill: 2–3 files representative of the codebase (one per language / layer)
- For a docs skill: 2–3 documents of the type the skill targets
- For an analysis skill: 2–3 inputs spanning easy / moderate / hard
- Read
PASS_CRITERIAand confirm every criterion is binary (yes/no), not vibes-based. - Take a baseline measurement: run the skill once against each input, record outputs, score them. This is iteration 0.
If iteration 0 passes everything, the skill is valid as-shipped. Report and exit.
Phase 2 — Iterate
Each iteration:
- Run the skill against each representative input (2–3 runs, parallel if independent)
- Score outputs against PASS_CRITERIA. Each criterion: PASS / FAIL / DEGRADED
- Diff results against the previous iteration. Did the last fix introduce a regression?
- Diagnose the highest-priority failure. Is it a prompt gap, a missing pre-flight check, an under-specified output format, or a fundamental mismatch with the target repo?
- Patch the SKILL.md with the smallest change that addresses the diagnosis. Append the rationale to the audit log, NOT just the diff.
- Log to
.skill-validator/<skill-name>/iteration-<N>.json:inputs(paths or hashes)outputs(verbatim or path)scores(criterion-by-criterion)diagnosispatch(unified diff applied to SKILL.md)
- Check budget — iterations remaining, minutes remaining. If exhausted, exit FAIL.
Phase 3 — Exit
PASS — every criterion green for two consecutive iterations against every representative input. Two consecutive is the stability check; one good run could be a fluke.
FAIL (budget exhausted) — emit:
- Final SKILL.md state (with all patches applied)
- A diff vs. the original
- A numbered list of criteria that never passed, with the last failure mode for each
- A recommendation: human review, scope reduction, or skill rewrite
FAIL (regression detected) — if a patch makes a previously-passing criterion fail, revert the patch, log the regression, and continue with the next-highest-priority unaddressed failure. If no clean patch path remains, exit FAIL.
Pass criteria — examples by skill type
quality-review— produces 3 numbered findings tables (one per agent), at least one Critical or High finding when reviewing intentionally-flawed input, no fabricated file referencesfive-whys— reaches a structural root cause within 5 iterations on the seeded test failure; ends with an explicit governance update recommendationwriting-quality— flags 100% of seeded P0 AI-isms in detect mode; rewrites pass a re-detect with zero P0 hits in rewrite mode
Rules and constraints
- Read-only against TARGET_REPO by default. Never modify files in the target repo unless
--write-targetis passed and the user has explicitly approved it. The validator's job is to fix the SKILL, not the target. - Audit every iteration. No silent passes. The log file is the artifact, not just the final result.
- Bound the budget. A loop with no budget is not a loop, it's a runaway. Default 5 iterations / 30 minutes is generous; lower it for cheap skills.
- Two-strike rule on patches. If two consecutive iterations apply patches and neither moves the score, stop and ask the user. Continued patching is bias-confirmation.
- Don't optimize for the criteria. The criteria are the proxy, not the goal. If the skill passes the criteria but obviously gets the wrong answer, the criteria need rewriting, not the skill.
- Failure is the success signal for the validator. A validator that always passes is not measuring anything.
Outputs
.skill-validator/<skill-name>/iteration-<N>.json— per-iteration audit log.skill-validator/<skill-name>/SUMMARY.md— final pass/fail report- A diff of
SKILL.mdshowing what changed across the loop
Agent integration
debugger— invoked on the first same-failure-mode iteration repeat. Reproduces the skill failure deterministically and narrows the cause before patching.error-coordinator— invoked when the validator runs against multiple representative inputs and 2+ fail in the same iteration. Correlates symptoms to find a shared cause in the skill (not in the inputs).code-reviewer— invoked on the SKILL.md patch before it is applied each iteration. Catches sloppy edits — broken frontmatter, accidental scope drift, removed pre-flight items — that would make the next iteration noisy. A Critical finding from code-reviewer reverts the patch and re-diagnoses.
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
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.

