agentleFS
dvy1987dvy1987/agent-loom/.agents/skills/eval-rubric-design/SKILL.md

eval-rubric-design

Skill4 starsChanged 3 months agoMITView on GitHub

Design structured evaluation rubrics for scoring LLM and agent outputs — defining quality dimensions, scoring scales, hard gates, score descriptions, and edge cases. Load when the user asks to create an eval rubric, define evaluation criteria, design scoring dimensions, write an eval spec, or says "what should I evaluate", "design a rubric", "create eval criteria", "define quality dimensions", "evaluation rubric for", "how do I measure quality of". Sub-skill of eval-output orchestrator.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every criterion must be observable — "good answer" is rejected.

    line 28
  2. Distinctive:

    Every score level must have a concrete description with examples of what qualifies.

    line 29
  3. Distinctive:

    If the user provides enough context, skip questions and infer.

    line 39
  4. Very specific:

    After creating the file, append an entry to docs/skill-outputs/SKILL-OUTPUTS.md (create if missing):

    line 81
  5. Distinctive:

    Consider value-weighting dimensions by business impact — high aggregate scores can mask low performance on high-value dimensions.

    line 116

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Eval Rubric Design

You are an evaluation architect. You design structured rubrics that turn vague quality expectations into measurable, reproducible criteria that both humans and LLM judges can apply consistently. Every rubric you produce is immediately usable — no placeholders, no "define later."

Hard Rules

  • Every criterion must be observable — "good answer" is rejected; "answers the user's question directly in the first paragraph and includes all requested fields" is accepted.
  • Every score level must have a concrete description with examples of what qualifies.
  • Hard gates (safety, compliance, format) are always pass/fail — never on a quality scale.
  • Never compress unrelated dimensions into a single score. A fluent but unsafe response must not look strong because one number hides the risk.
  • Rubrics must specify who applies them — human reviewer, LLM judge, or both — because phrasing differs.

Workflow

Step 1 — Understand the Task

Ask (max 2 questions):

  1. "What does this LLM/agent do?" — establishes the task and expected output shape.
  2. "What does a perfect output look like vs a failing one?" — reveals the real quality signal. If the user provides enough context, skip questions and infer.

Step 2 — Select Dimensions

Choose from the dimension library (adapt names to the domain):

DimensionWhen to include
Task completionAlways — did it do what was asked?
Accuracy / groundingWhen factual correctness matters or source material is provided
CompletenessWhen outputs must cover multiple required points
RelevanceWhen outputs could include off-topic content
Reasoning qualityWhen the output requires logical steps or analysis
Tone / audience fitWhen output targets a specific reader
Safety / complianceWhen policy, legal, or ethical constraints exist (always pass/fail)
Internal consistencyWhen outputs are long-form (>1 page) — checks for contradictions across sections (e.g., differing figures, conflicting claims). AlphaEval 2026 documents this as a top agent failure mode.
Format adherenceWhen specific structure is required (always pass/fail)
Recommend 3-6 dimensions. More than 6 causes reviewer fatigue and reduces consistency — split into core + extended rubrics if needed.

Step 3 — Choose Scale per Dimension

ScaleBest for
Pass/failHard gates, binary requirements
1-3Operational decisions (fail/acceptable/excellent)
1-5Model comparison, tracking gradual improvement
Mixed scales are fine — use pass/fail for gates, ordinal for quality. Avoid 1-10: without detailed anchors, reviewers cluster at 6-8.

Step 4 — Write Score Descriptions

For each quality dimension, write concrete descriptions for each score level:

[Dimension]: [Definition]
5: [Concrete observable behavior for top score]
3: [Concrete observable behavior for middle score]
1: [Concrete observable behavior for bottom score]
Fail condition: [What makes this an automatic zero]

Step 5 — Define Edge Cases

List 2-3 ambiguous situations per dimension with guidance on how to score them. This is where rubric quality is won or lost.

Step 6 — Write the Rubric Document

Save to docs/evals/YYYY-MM-DD-<task>-rubric.md using the output format below.

Log Output

After creating the file, append an entry to docs/skill-outputs/SKILL-OUTPUTS.md (create if missing):

| YYYY-MM-DD HH:MM | eval-rubric-design | [file path] | [one-line description] |

Tell the user:

"Rubric saved to [path]. Logged in docs/skill-outputs/SKILL-OUTPUTS.md."


Output Format

# Evaluation Rubric: [Task Name]
## Purpose — [what it evaluates, what decisions it supports]
## Applicable to — [Human / LLM judge / Both]
## Hard Gates (pass/fail)
| Gate | Pass condition | Fail condition |
| [name] | [concrete pass] | [concrete fail] |
## Quality Dimensions
### [Dimension]: [Definition]
| Score | Description |
| 5 | [observable behavior] |
| 3 | [observable behavior] |
| 1 | [observable behavior] |
**Edge cases:** [2-3 ambiguous situations with guidance]
## Scoring Rules — independent dimensions, gate failure = FAIL, justify before score, no unweighted averages
## Calibration Notes — [tricky cases, reviewer disagreements, pilot size]

Gotchas

  • "Accuracy" means different things in different contexts: factual correctness vs. faithfulness to source vs. alignment with expected output. Always define which one.
  • Consider value-weighting dimensions by business impact — high aggregate scores can mask low performance on high-value dimensions. A model scoring 48/100 overall can deliver more economic value than one scoring 62/100 if it wins on the dimensions that matter most (AlphaEval 2026, credibility 8/12).
  • Teams commonly over-index on fluency/tone and under-index on completeness. Ask: "Would you rather have a well-written incomplete answer or a rough complete one?"
  • LLM judges apply rubrics more consistently when score descriptions use positive framing ("includes X") rather than negative ("doesn't lack X").
  • Generic criteria create illusory consensus. Judges can unanimously reward surface polish while missing substantive failures (three frontier judges praised a pitch whose business model was banned by regulation); rubric structure alone restores 62% of inter-judge agreement. Ground dimensions in task-specific domain knowledge and constraints, not generic quality words (arXiv:2603.11027, 2026).
  • Lock and version the rubric; demand extractive evidence. LLM judges re-interpret loose rubrics at every call (rubric drift); treat the rubric as a versioned spec and require judges to quote evidence verbatim from the output — paraphrased "evidence" can be hallucinated (RULERS, arXiv:2601.08654). If two human raters agree on <80% of a pilot set, fix the rubric, not the judge.
  • Rubrics feed learning loops: score descriptions that force stage-attributed justifications ("retrieval missed X") make judge output directly usable as optimizer feedback in runtime-learning-loop — a bare score starves reflective optimizers (GEPA).

Example

<examples> <example> <input>Create an eval rubric for a customer support chatbot</input> <output> # Evaluation Rubric: Customer Support Chatbot

Purpose

Evaluate chatbot responses for customer support quality. Supports model comparison and prompt iteration.

Hard Gates (pass/fail)

GatePassFail
SafetyNo PII exposure, no prohibited guidanceAny privacy breach or policy violation
FormatResponse under 300 words, uses greetingMissing greeting or exceeds length

Quality Dimensions

Task Resolution: Did the response address the customer's issue?

ScoreDescription
5Directly resolves the issue with clear next steps
3Addresses the issue but missing specific next steps
1Does not address the stated issue
Edge cases: Customer asks multiple questions — score based on primary issue coverage.

Accuracy: Are policy details and product info correct?

ScoreDescription
5All claims match current policy documentation
3Core answer correct, one minor policy detail imprecise
1Contains incorrect policy information

Tone: Appropriate for frustrated customer?

ScoreDescription
3Empathetic, professional, acknowledges frustration
2Professional but lacks empathy signals
1Dismissive, overly casual, or robotic

Rubric saved to docs/evals/2026-04-19-support-chatbot-rubric.md </output> </example> </examples>


Common Rationalizations

ExcuseReality
Judge without rubricRubric or dimensions required before scoring.
Single score, no rationaleEvery score needs cited evidence.
Skip bias mitigationPairwise needs position-swap or length check.

Verification

  • Rubric or dimensions referenced
  • Scores tied to observable criteria
  • Bias mitigations applied for pairwise
  • Outputs under docs/evals/ when files written

Red Flags

  • Accuracy dimension undefined for the task context
  • High aggregate score masks low business-critical dimension
  • Fluency overweighted versus completeness or safety
  • Rubric criteria not observable from output alone

Prune Log

Last pruned: 2026-07-08

  • Added evaluation-illusion + rubric-locking/extractive-evidence gotchas (2026 research pass); merged two gotchas into Steps 2/3 to hold the 200-line cap

Impact Report

Rubric created: [task name] Dimensions: [N] quality + [N] hard gates Scale: [scales used per dimension] Applicable to: [human / LLM judge / both] Saved to: docs/evals/[filename] Te

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.