llm-evaluation
Skill0 starsChanged 38 days agoMITView on GitHub
Builds evaluation harnesses for LLM products - golden datasets, deterministic checks, calibrated LLM-as-judge rubrics, and CI regression gates that turn "seems good" into a tracked number. Use when someone asks "how do I know this prompt change didn't break anything", "set up evals for my RAG pipeline", "is LLM-as-judge reliable", "why did quality drop after the model swap", or is shipping an LLM feature with no quality measurement. Do NOT use for classical ML model reporting (precision/recall, ROC curves, confusion matrices on trained classifiers) - use model-evaluation-report instead; do NOT use for analyzing online A/B experiments - use ab-test-analyzer instead.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- ControllableModel/SWE-Skills-Benchtheir own version, first seen Nov 8, 2026
- nicholas-greenwood/agentic-engineering-skillstheir own version, first seen Nov 1, 2026
- KMaruthi2002/universal-llm-skillstheir own version, first seen Oct 25, 2026
- KumailQazi/krmaazha-binance-mcptheir own version, first seen Oct 17, 2026
- asmamest/Nexus-Skillstheir own version, first seen Oct 15, 2026
- paulopestanajunior/agents-configtheir own version, first seen Oct 15, 2026
Used with
Projects with it also use code-review.
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.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 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
- kumaran-is/claude-code-onboarding★ 35same name
- nimadorostkar/Claude-Skills-collection★ 33same name
- ckorhonen/claude-skills★ 17same name
- xfstudio/skills★ 9same name
- ControllableModel/SWE-Skills-Bench★ 8same name
- KumailQazi/krmaazha-binance-mcp★ 4same name
- nicholas-greenwood/agentic-engineering-skills★ 3same name
- ai4brands-design/claude-skills★ 2same name
- CodeWithBehnam/cc-docs★ 2same name
- Ghosteken/agent-harness★ 2same 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 repository5 other files it gives its agents.
- agent-orchestrationSkill
- deep-researchSkill
- error-handlingSkill
- ml-feature-engineeringSkill
- prompt-engineerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 15 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Follow the order: dataset before metrics, calibration before judging, pipeline before iteration.
- Distinctive: line 29
Ensure at least 30 examples per slice you will report on (per intent, per language, per document type).
- Distinctive: line 33
Check for leakage: no eval input may appear in the prompt's few-shot examples.
- Distinctive: line 49
Write a rubric with behavioral anchors per score (see the worked rubric below), not adjectives.
- Distinctive: line 50
Prefer pairwise (A vs B) over absolute 1-5 scoring - it is more reliable.
- Distinctive: line 52
Run the judge on the calibration sample.
- Distinctive: line 57
Run the eval on every prompt or model change in CI.
- Distinctive: line 64
Never report only the average.
- Distinctive: line 97
Do not trust a judge you never calibrated - an uncalibrated judge encodes its biases as your quality bar.
- Distinctive: line 98
Do not tune on the test set.
- Distinctive: line 99
Do not report a single averaged score - averages hide the slice that broke.
- Distinctive: line 100
Do not run pairwise comparisons in one order only.
- Distinctive: line 101
Do not compare runs across unpinned model versions or temperatures - you are measuring the platform, not your change.
- Distinctive: line 102
Do not use this skill's rubrics to report classical ML metrics.
- Distinctive: line 106
Every gating slice has ≥ 30 examples and the noise floor is stated.
“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
LLM Evaluation
A prompt or model change that looks fine on the three examples you tried will break inputs you did not try, and without an eval you find out from users. The costly mistake this skill prevents is shipping on vibes: an uncalibrated judge or a ten-example "test" gives you a number that moves randomly, so real regressions hide inside noise. Build the dataset first, calibrate the judge before trusting it, and gate changes in CI.
Operating procedure
Follow the order: dataset before metrics, calibration before judging, pipeline before iteration. A judge calibrated against nothing is a random-number generator with confidence.
Step 1: Gather inputs
Collect these before building anything. Where the user cannot answer, use the default and label the value a guess.
- Task definition - what the system produces, in one sentence.
- What "good" means - 3-5 quality dimensions (correctness, groundedness, tone, format). Default: correctness plus format validity.
- Real failure examples - at least 5 outputs the user considers bad, with why.
- Traffic source - production logs, support tickets, or synthetic. Prefer production; label synthetic data as synthetic.
- Human-label budget - how many examples a person will grade. Default: 50 for judge calibration.
Step 2: Build the dataset
- Collect 50-200 real, representative inputs. Below 50, differences under about 10 percentage points are indistinguishable from noise; treat any sub-5-point movement on a 100-example set as noise and grow the set before believing it.
- Ensure at least 30 examples per slice you will report on (per intent, per language, per document type); prefer 100+ per slice that gates a launch.
- Include hard cases, adversarial inputs, and out-of-distribution inputs deliberately - an eval of only easy cases certifies nothing.
- Label expected outputs or acceptance criteria per example.
- Freeze a held-out test set; iterate on a separate dev set. Never tune prompts against the test set - that is overfitting with extra steps.
- Check for leakage: no eval input may appear in the prompt's few-shot examples.
Step 3: Choose metrics, cheapest first
Work down this ladder and stop as early as the task allows:
- Deterministic - exact match, regex, JSON-schema validity, contains/excludes. Cheap, reliable, zero drift. Use for anything with a checkable answer.
- Reference-based similarity to a gold answer - use sparingly; surface form varies.
- Faithfulness/groundedness - for RAG: does the answer stay within the provided context.
- LLM-as-judge - for subjective quality only after steps 1-3 are exhausted.
- Human preference - pairwise comparisons as the final arbiter.
Measure cost and latency alongside quality on every run; a 2-point quality win that doubles latency is a product decision, not a free win.
Step 4: Write and calibrate the judge
- Write a rubric with behavioral anchors per score (see the worked rubric below), not adjectives.
- Prefer pairwise (A vs B) over absolute 1-5 scoring - it is more reliable.
- Have 2+ humans label the same 50-example calibration sample. Compute inter-rater agreement: require Cohen's kappa ≥ 0.7 between humans before using the labels; if kappa lands below 0.7, the rubric is ambiguous - rewrite the anchors and relabel, do not average the disagreement away.
- Run the judge on the calibration sample. Require ≥ 80% agreement with the human majority label before the judge gates anything. Below 80%, fix the rubric or the judge prompt, not the threshold.
- Control known judge biases: position bias - run every pairwise comparison twice with A/B swapped and discard verdicts that flip; verbosity bias - judges favor longer answers, so state in the rubric that length is not quality; self-preference bias - judges rate their own model family higher, so use a judge from a different family than the generator when the comparison involves that family.
Step 5: Wire the pipeline
- Run the eval on every prompt or model change in CI; block merge on regression beyond the noise floor you measured in Step 2.
- Pin model versions, temperature, and seeds. If temperature > 0, run 3+ samples per input and report the variance, not just the mean.
- Tier judge cost: a cheap model screens, the strong model re-judges only close calls.
- Track per-metric scores over time and alert on regressions.
Step 6: Read results like a practitioner
Never report only the average. Every run's readout includes: score per slice, the 10 worst examples with outputs inline, and what changed since the last run. The worst cases are where the next fix lives.
Worked artifact: calibrated judge rubric
You are grading a support-bot answer against the retrieved context.
Score each dimension independently. Length is not quality.
GROUNDEDNESS
5 - Every factual claim is traceable to a sentence in the context.
3 - Claims are consistent with the context but at least one is not
directly supported.
1 - Any claim contradicts the context, or the answer invents a
policy, price, or entity not present in it.
CORRECTNESS
5 - Fully answers the user's actual question, including the edge the
user raised.
3 - Answers the main question but misses a stated sub-question.
1 - Answers a different question, or refuses a answerable question.
Return JSON only: {"groundedness": n, "correctness": n,
"worst_quote": "<the single worst sentence, verbatim>"}Calibration record to keep with the rubric: human-human kappa, judge-human agreement %, sample size, and the date-free version tag of the judge model. If any of those is missing, the rubric is not yet trusted.
Deliverable
Produce an eval harness containing: (A) a frozen test set and a dev set with per-slice counts, (B) the metric ladder with deterministic checks implemented, (C) a calibrated judge rubric with its recorded kappa and judge-human agreement, (D) a CI job that runs on every change and fails on regression, and (E) a readout template showing per-slice scores, variance, cost, latency, and the 10 worst examples.
Do NOT
- Do not trust a judge you never calibrated - an uncalibrated judge encodes its biases as your quality bar.
- Do not tune on the test set; the score becomes a measure of your tuning, not your system.
- Do not report a single averaged score - averages hide the slice that broke.
- Do not run pairwise comparisons in one order only; position bias alone can flip a verdict.
- Do not compare runs across unpinned model versions or temperatures - you are measuring the platform, not your change.
- Do not use this skill's rubrics to report classical ML metrics; that job belongs to model-evaluation-report.
Quality bar
- Every gating slice has ≥ 30 examples and the noise floor is stated.
- Human inter-rater kappa ≥ 0.7 and judge-human agreement ≥ 80% are recorded next to the rubric.
- Deterministic checks cover everything checkable before any judge runs.
- The eval runs unattended in CI and a regression actually blocks a merge.
- The readout names the worst failures, not just the mean.
Escalation
Pair with prompt-engineer when the fix for a failing eval is prompt structure. For monitoring input distribution shift in production rather than output quality, route to data-drift-monitor.
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.

