llm-evaluation
Skill2 starsChanged 6 months agoMITView on GitHub
Systematically evaluate LLM outputs, prevent regressions, and measure quality
12 other projects use a version of this.
Adopted by
Most recently taken up by
- SkillMedev/ai-engineer-toolkittheir own version, first seen Oct 5, 2026
- Red-empty-potato/ai-agent-skillstheir own version, first seen Aug 29, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
- ckorhonen/claude-skillstheir own version, first seen Jul 5, 2026
- kumaran-is/claude-code-onboardingtheir own version, first seen May 25, 2026
- yiweiwan/skillstheir own version, first seen May 12, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- stefan-jansen/claude-code-toolkit★ 87same name
- kumaran-is/claude-code-onboarding★ 36same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- ckorhonen/claude-skills★ 18same name
- xfstudio/skills★ 9same name
- ai4brands-design/claude-skills★ 2same name
- CodeWithBehnam/cc-docs★ 2same name
- yiweiwan/skills★ 1same name
- HaiTrieu0902/agent-skills-kit★ 0same name
- kienbui1995/magic-powers★ 0same name
2 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 repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibility-engineeringSkill
- agent-orchestrationSkill
- ai-ml-engineeringSkill
- api-and-interface-designSkill
- architecture-designSkill
- backend-engineeringSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- database-designSkill
- data-pipeline-engineeringSkill
- debugging-and-error-recoverySkill
- deployment-strategySkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- frontend-engineeringSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incident-responseSkill
- incremental-implementationSkill
- infrastructure-as-codeSkill
- microservices-designSkill
- mobile-developmentSkill
- observability-and-monitoringSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- prompt-engineeringSkill
- rag-system-designSkill
- requirements-analysisSkill
- risk-assessmentSkill
- security-and-hardeningSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
6
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
Before deploying any LLM-powered feature
- Distinctive: line 15
When changing a model version, provider, or prompt
- Distinctive: line 16
When users report quality issues
- Distinctive: line 43
LLM-as-judge: - use a strong model (GPT-4, Claude Opus) to score outputs on rubrics.
- Distinctive: line 47
Every change to a prompt, model version, or system prompt must trigger the eval suite in CI.
- Distinctive: line 78
All evaluation methods have bias.
“Common” is measured: kept by at least 6 in 10 of the 10 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
Overview
LLM evaluation is the discipline of measuring what your model or system actually does, not what you believe it does. Without systematic evaluation, you are guessing. With it, you catch regressions before users do.
When to Use
- Before deploying any LLM-powered feature
- When changing a model version, provider, or prompt
- When users report quality issues
- As a recurring health check for production LLM features
Process
Step 1: Define the evaluation dimensions
Common dimensions (pick those relevant to your task):
- Correctness - Is the answer factually right?
- Relevance - Does the answer address the question?
- Groundedness - Is the answer supported by the provided context?
- Safety - Does the output avoid harmful content?
- Format - Does the output match the required schema/format?
- Tone/Style - Does the output match the required voice?
- Latency - Is the response fast enough?
- Cost - Is the per-request cost within budget?
Step 2: Build the evaluation dataset
A good eval dataset:
- Covers the full distribution of expected inputs (not just the easy cases)
- Includes adversarial examples and edge cases
- Has verified ground-truth answers for correctness dimensions
- Has at least 100 examples for production features; 1000+ for critical systems
- Is versioned and never modified (only appended to)
Step 3: Choose evaluation methods
- Automated exact match - for structured outputs with known correct answers
- Automated metric - BLEU/ROUGE for text overlap, custom scoring functions
- LLM-as-judge - use a strong model (GPT-4, Claude Opus) to score outputs on rubrics; calibrate against human judgments
- Human evaluation - ground truth; use for calibrating automated evals
Step 4: Implement automated evals in CI
Every change to a prompt, model version, or system prompt must trigger the eval suite in CI. Define a threshold: "if correctness drops below 85% or safety failures increase, block the PR."
Step 5: Track eval results over time
Store eval results with: timestamp, model version, prompt version, per-example scores. You need to answer "when did quality start degrading?" without re-running old evals.
Step 6: Adversarial evaluation
Test for:
- Prompt injection - Can user input override your system prompt?
- Jailbreaks - Can a user extract harmful content?
- Hallucination - Does the model fabricate facts confidently?
- Refusal rate - Is the model refusing legitimate requests? (Over-refusal is also a failure)
- Demographic bias - Does quality vary by user demographic mentioned in input?
Step 7: Human preference evaluation (for generation tasks)
For open-ended generation: run A/B comparisons. Which version do humans prefer? Aggregate preference scores over 100+ pairs. Automated metrics alone are insufficient for generation quality.
Step 8: Production monitoring
- Log all inputs and outputs (within privacy constraints)
- Sample production traffic for offline evaluation
- Track: error rate, latency, user feedback signals
- Alert on: sudden quality drops, increased error rates, cost spikes
Anti-Rationalizations
"The model feels better in my testing" "Feels better" is not an evaluation. Run the eval suite and compare scores.
"Evals are expensive - we'll skip them for this release" Skipping evals means the next incident will show you what your eval set should have covered.
"LLM-as-judge is biased" All evaluation methods have bias. LLM-as-judge is calibrated bias you can measure and improve. "It feels right to me" is uncalibrated bias you cannot measure.
Verification Requirements
- Evaluation dimensions defined before building
- Evaluation dataset of 100+ examples with ground truth
- Automated evals run in CI with a blocking threshold
- Adversarial eval completed (injection, jailbreak, hallucination)
- Eval results versioned and tracked over time
- Production monitoring in place with quality alerts
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.

