eval-designer
БесплатноБез исполняемых скриптовНе проверенUse this skill when building evaluation frameworks to measure LLM quality, safety, accuracy, or alignment including test suites, human eval rubrics, automated…
от NickCrew★ 76 звёзд на GitHubОб этом скилле
Eval Designer
Overview
This skill covers end-to-end design of evaluation frameworks for LLM-powered systems. It helps teams define what "good" looks like for their specific use case, create diverse test suites that cover both capability and failure modes, design human evaluation rubrics with clear scoring criteria, implement automated eval pipelines using reference-based and LLM-as-judge approaches, and track quality over time as models and prompts change. A robust eval framework is the engineering foundation that enables confident model upgrades, prompt changes, and feature launches.
When to Use
- Building an eval suite before deploying an LLM-powered feature for the first time
- Designing automated evals to run in CI/CD pipelines for prompt or model changes
- Creating human evaluation rubrics with scoring guidelines for labeler studies
- Defining safety evals to test for harmful outputs, jailbreaks, or policy violations
- Measuring quality regression after a model upgrade (e.g., GPT-4 → GPT-4o)
- Setting up LLM-as-a-judge evaluation for tasks without clear ground truth
- Establishing baseline metrics before A/B testing different prompts or models
- Auditing an existing eval suite for coverage gaps or measurement validity
When NOT to Use
- Training or fine-tuning models (use model training skills)
- Collecting and curating datasets for training (use dataset-curator skill)
- Comparing publicly available model benchmarks like MMLU or HumanEval (use model-comparator skill)
- Designing product analytics or user behavior tracking (use analytics skills)
- Running load tests or latency benchmarks (use performance testing skills)
Quick Reference
| Task | Approach |
|---|---|
| Define success for a task | Write a rubric with 3–5 dimensions and a 1–5 scoring scale per dimension |
| Create automated evals | Use reference-based matching or LLM-as-judge for open-ended outputs |
| Test safety and policy | Red-team with adversarial inputs; define pass/fail criteria explicitly |
| Track quality over time | Store eval results with model version, prompt hash, and timestamp |
| Measure human agreement | Compute Fleiss kappa or Krippendorff's alpha across annotators |
| Detect regressions | Set minimum acceptable scores per dimension; fail CI if score drops below threshold |
| Evaluate RAG systems | Measure faithfulness, answer relevance, and context precision separately |
Instructions
Define evaluation goals and scope — Determine what behaviors need to be measured. Group into categories: capability (does it do the task?), quality (how well?), safety (does it avoid harm?), and robustness (does it handle edge cases?). Write a one-paragraph "eval brief" that specifies the user-facing task, the model role, and what constitutes an acceptable output.
Design test case categories — Create test cases across at least these categories: (a) typical cases that represent the core use case, (b) edge cases that probe boundaries, (c) adversarial cases that try to elicit failures, (d) out-of-scope cases where the model should decline, and (e) regression cases from past known failures. Aim for at least 50 test cases minimum; 200+ for production evals.
Define metrics — Choose metrics appropriate to the task type:
- Classification/extraction: Precision, recall, F1, exact match
- Generation (with reference): ROUGE, BLEU, BERTScore, semantic similarity
- Generation (no reference): LLM-as-judge scores (1–5 scale), human ratings
- Safety: Pass/fail rate on adversarial inputs, refusal rate on harmful requests
- RAG: Faithfulness (no hallucination), answer relevance, context recall
Write a human eval rubric — Define 3–5 dimensions with clear names, descriptions, and anchor points for each score on a 1–5 scale. Example dimension: "Factual Accuracy" — 1: major factual errors, 3: mostly accurate with minor errors, 5: completely accurate and verifiable. Each dimension should be independent and rateable without reading other dimensions first.
Build the automated eval pipeline — Implement evaluation as code. For each test case: send input to the model, collect output, compute metrics, log results to a database or CSV with model version, prompt version, timestamp, and test case ID. Use a deterministic random seed for any sampling.
Implement LLM-as-judge for open-ended tasks — Use a judge model (e.g., GPT-4) to score outputs on your rubric dimensions. Write a judge prompt that includes the rubric, the input, and the model output, and asks for a score with a reasoning explanation. Validate the judge's scores against human labels on a calibration set — judge and human ratings should correlate > 0.7.
Design safety evals — Create adversarial test inputs that probe for: jailbreaks, prompt injection, harmful content generation, PII leakage, and policy-violating outputs. Define pass/fail criteria explicitly. Run these on every model or prompt ch
Установить eval-designer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл eval-designer?
Use this skill when building evaluation frameworks to measure LLM quality, safety, accuracy, or alignment including test suites, human eval rubrics, automated evals, and metrics design. Not for training or fine-tuning models. Not for dataset curation or benchmark comparison across publicly available models.
Как установить скилл eval-designer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл eval-designer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic