ai-evaluation
Skill1 starsChanged 5 days agoMITView on GitHub
Define how to evaluate ML models and GenAI/LLM apps — golden datasets, offline metrics, RAG evaluation (faithfulness, relevance, context precision/recall) with ragas/deepeval/promptfoo, LLM-as-judge design and calibration, eval regression gates in CI, online A/B and human feedback. Logging/comparing runs → ml-experiment-tracking; building the app → llm-app-engineering; general experiment statistics → statistical-analysis.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ebarti/skillstheir own version, first seen May 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ebarti/skills★ 1same name
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 repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- build-vs-buySkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-reviewingSkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- metrics-and-okrsSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- security-auditSkill
- skill-routerSkill
- statistical-analysisSkill
- strategic-reviewSkill
- subagent-orchestrationSkill
- tdd-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Before choosing tools, write down 3–5 quality criteria in the product's terms (answers grounded in our docs, no fabricated order numbers, …
- Distinctive: line 83
Keep the CI subset small and fast (the golden set, k=1).
- Distinctive: line 99
KISS: prefer binary per-criterion judgments over fine-grained scales — humans and judges both agree more on yes/no.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
AI Evaluation
Define what to measure and how for ML models and GenAI apps. Without an
evaluation harness, every prompt tweak, retrieval change, or model swap ships on
vibes — and quality silently regresses. The boundary with its neighbors:
ml-experiment-tracking records and compares runs; this skill defines the
metrics, datasets, and judges those runs report. llm-app-engineering designs
the app; this skill proves whether a change to it helped.
Workflow
Step 1: Pin Down What "Good" Means
Before choosing tools, write down 3–5 quality criteria in the product's terms (answers grounded in our docs, no fabricated order numbers, resolves the ticket). Vague goals ("high quality answers") make every later step unmeasurable. Decide the primary metric — the one that decides ship/no-ship — before seeing results, to avoid cherry-picking.
Step 2: Build a Golden Dataset
Evaluate against a fixed, versioned dataset — not ad-hoc spot checks:
- Source: real user questions (logs, support tickets) first; synthesize from the corpus only to fill gaps, and have a human review synthetic cases.
- Size: 30–50 cases is enough to start; grow with every production failure (each becomes a regression case — same principle as a bug's regression test).
- Coverage: include the unhappy paths — questions the corpus can't answer (the correct behavior is refusal), ambiguous phrasing, adversarial inputs.
- Version it alongside the code; a metric is only comparable across runs on the same dataset version.
With zero labeled data, this is still not optional — bootstrap: label a few dozen cases by hand (an afternoon), use reference-free metrics (groundedness against the source, rubric-based judging) while the labeled set grows.
Step 3: Choose Metrics by System Type
- Classical ML models: standard offline metrics vs held-out data (accuracy, F1, RMSE, AUC), sliced by segment — aggregate numbers hide subgroup failures.
- RAG systems — score the stages separately, or you can't tell whether a bad
answer is a retrieval or a generation failure:
- Retrieval: context precision / context recall (did the right chunks come back?)
- Generation: faithfulness/groundedness (is every claim supported by the retrieved context?) and answer relevance (does it address the question?)
- Agents: end-to-end task success rate plus trajectory checks (right tool, no loops, steps within budget).
- Reference-free (no ground truth): groundedness against the source, rubric-based judge scores, and pairwise A-vs-B comparison between variants.
Pick one eval tool and wire it in — ragas (RAG metrics), deepeval (pytest-style, broad metric set), or promptfoo (config-driven prompt/model comparison). Selection detail: references/eval-tooling.md.
Step 4: Design the Judge Deliberately
LLM-as-judge is the workhorse for GenAI evals, and an uncalibrated judge is a random-number generator with authority. Treat the judge as a component you design and validate:
- Rubric, not vibes: decompose "good" into the Step-1 criteria, each scored separately with a binary or 3-point scale — never a bare 1–10 overall score.
- Known biases, known counters: position bias (swap A/B order and re-judge), self-preference (judge with a different model family than the one being judged), verbosity bias (instruct the judge to ignore length; cap output length).
- Reduce noise: majority-of-k voting for important comparisons.
- Calibrate: score 20–30 cases with both the judge and a human; if agreement is poor, fix the rubric before trusting any judge-derived number.
Step 5: Gate Changes in CI
An eval suite that runs once before launch rots immediately. Run it on every change to prompts, retrieval, or model version — like a test suite:
- Gate on regression vs the last accepted baseline (metric dropped), not an absolute threshold — absolute judge scores drift; movement is the signal.
- Keep the CI subset small and fast (the golden set, k=1); run the full suite nightly or pre-release with voting.
- Log eval runs in the experiment tracker (
ml-experiment-tracking) so results are comparable over time.
Step 6: Close the Loop Online
Offline evals predict; production confirms. Once users exist: lightweight feedback (thumbs up/down + optional reason), A/B test significant changes on the primary metric, and mine failures — every confirmed production failure becomes a new golden-set case (Step 2).
Principles Applied
- YAGNI: 30 golden cases + one tool + one judge rubric beats a six-metric dashboard nobody trusts. Add metrics when a decision needs them.
- KISS: prefer binary per-criterion judgments over fine-grained scales — humans and judges both agree more on yes/no.
- Measure movement, not absolutes: judge scores are comparable only within the same dataset + rubric + judge version; gate on deltas.
Cross-Skill References
llm-app-engineering— designing the system this skill measuresml-experiment-tracking— recording and comparing the eval runs over timeml-model-deployment— online monitoring and drift detection in productioncicd-pipeline— wiring the eval gate into CImetrics-and-okrs— tying eval metrics to product-level success metrics
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.

