llm-evaluation
Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.
npx skills add majiayu000/claude-skill-registry --skill llm-evaluation-dicklesworthstone-pi-agent-rust --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Plans and describes a framework for evaluating LLM applications through automated metrics, human evaluation, and LLM-as-judge methods. It covers measurement of text generation, classification, and retrieval metrics, plus human dimensions (accuracy, coherence, relevance, fluency, safety, usefulness) and LLM-based judging approaches (pointwise, pairwise, reference-based, reference-free). It also provides an outline for quick-start usage, concrete metric implementations (BLEU, ROUGE, BERTScore) and several custom metrics, and guidance for running A/B tests, inter-rater agreement, and regression checks.
How it works
- Defines three core evaluation types: automated metrics, human evaluation, and LLM-as-Judge approaches. For automated metrics, it lists specific metrics per task (Text Generation, Classification, Retrieval) such as BLEU, ROUGE, METEOR, BERTScore, Perplexity, Accuracy, Precision/Recall/F1, Confusion Matrix, AUC-ROC, MRR, NDCG, Precision@K, Recall@K.
- Specifies human evaluation dimensions: Accuracy, Coherence, Relevance, Fluency, Safety, Helpfulness.
- Describes LLM-as-Judge patterns with examples: Pointwise, Pairwise, Reference-based, Reference-free.
- Provides a Quick Start code block showing how to structure metrics, an EvaluationSuite, and how to run evaluation against test cases.
- Gives concrete code snippets for implementing Automated Metrics (BLEU, ROUGE, BERTScore) and Custom Metrics (groundedness, toxicity, factuality) and for LLM-as-Judge and Reference-Based Evaluation prompts and usage.
- Details Human Evaluation Frameworks including Annotations and Inter-Rater Agreement, plus A/B Testing statistical framework with T-tests, Cohen's d, and significance flags.
- Includes a section on Regression Testing with a RegressionDetector that checks for metric regressions against a baseline using a threshold.
- Mentions integration with LangSmith evaluation tooling and example evaluators (qa, context_qa, cot_qa).
When to use it
- When measuring LLM application performance systematically
- When comparing different models or prompts
- When detecting performance regressions before deployment
- When validating improvements from prompt changes
- When building confidence in production systems
- When establishing baselines and tracking progress over time
- When debugging unexpected model behavior
What it can touch
- Tools: claude-code is declared in the skill description.
Caveats
- The material presents example code and evaluation architectures; exact outcomes depend on implementation and data quality. The skill outlines methods and references to external libraries (e.g., nltk, rouge_score, bert_score, transformers, detoxify, scipy) but does not guarantee results or provide end-to-end runtime guarantees. License noted as MIT in the skill metadata.
# LLM Evaluation Master comprehensive evaluation strategies for LLM applications, from automated metrics to human evaluation and A/B testing. ## When to Use This Skill - Measuring LLM application performance systematically - Comparing different models or prompts - Detecting performance regressions before deployment - Validating improvements from prompt changes - Building confidence in production systems - Establishing baselines and tracking progress over time - Debugging unexpected model behavior ## Core Evaluation Types ### 1. Automated Metrics Fast, repeatable, scalable evaluation using computed scores. **Text Generation:** - **BLEU**: N-gram overlap (translation) - **ROUGE**: Recall-oriented (summarization) - **METEOR**: Semantic similarity - **BERTScore**: Embedding-based similarity - **Perplexity**: Language model confidence **Classification:** - **Accuracy**: Percentage correct - **Precision/Recall/F1**: Class-specific performance - **Confusion Matrix**: Error patterns - **AUC-ROC**: Ranking quality **Retrieval (RAG):** - **MRR**: Mean Reciprocal Rank - **NDCG**: Normalized Discounted Cumulative Gain - **Precision@K**: Relevant in top K - **Recall@K**: Coverage in top K ### 2
- When to Use This Skill
- Core Evaluation Types
- 1. Automated Metrics
- 2. Human Evaluation
- 3. LLM-as-Judge
- Quick Start
- Automated Metrics Implementation
- BLEU Score
- ROUGE Score
- BERTScore
- Custom Metrics
- LLM-as-Judge Patterns
- Single Output Evaluation
- Pairwise Comparison
What does the llm-evaluation skill do?
Implement comprehensive evaluation strategies for LLM applications using automated metrics, human feedback, and benchmarking. Use when testing LLM performance, measuring AI application quality, or establishing evaluation frameworks.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill llm-evaluation-dicklesworthstone-pi-agent-rust --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
