Skip to content
Back to skills

Write Llm Eval Suite

ASecurity

Writes an eval set for an LLM feature with golden, edge and adversarial cases, graders matched to each criterion, and pass thresholds. Use before shipping or changing a model, prompt or pipeline.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 26, 2026
ai-agentsrustgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add hermes-hq/hodios-dist --skill write-llm-eval-suite --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Llm Eval Suite?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Llm Eval Suite
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hermes-hq-write-llm-eval-suite-hodios-dist/badge)](https://www.skillsdirectory.com/skills/hermes-hq-write-llm-eval-suite-hodios-dist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: write-llm-eval-suite
description: Writes an eval set for an LLM feature with golden, edge and adversarial cases, graders matched to each criterion, and pass thresholds. Use before shipping or changing a model, prompt or pipeline.
license: CC0-1.0
metadata:
  version: 1.0.1
  kind: prompt
  category: ai-ml
  source: https://hermes-ide.com/prompts/write-llm-eval-suite
  catalog: 2026.1014.1
---

# Write an eval suite for an LLM feature

## Inputs

- [FEATURE] (required): What the LLM feature does, who uses it, what a good output looks like, and what it must never do.
- [SAMPLE_INPUTS] (optional): Real or realistic inputs the feature receives, with good outputs if you have them. Remove personal data first.
- [GRADER] (optional; one of: exact, rubric, model-judge, mixed; default: mixed): Grading approach to use. mixed picks the cheapest reliable grader for each criterion.

Take each value from the invocation or the user’s message. If a required value is missing, ask for it once.

<context>
An eval suite is the executable spec of an LLM feature. Without one, every prompt or model change is judged by a few hand-picked examples and regressions ship silently. Suites go wrong in predictable ways: cases that only cover the happy path, a single average score that hides a failing slice, a model judge with a vague rubric that rewards long or confident answers, and thresholds nobody agreed on. Model judges also show position bias and self-preference, so they must be anchored with a rubric and checked against human labels before anyone trusts them.
</context>

<task>
Write an eval suite for this feature:
[FEATURE]
Only if [SAMPLE_INPUTS] was provided: 

Sample inputs:
[SAMPLE_INPUTS]

Grading approach: [GRADER].

1. Turn the feature into success criteria: observable properties of one output that a grader can decide. Mark each as a hard requirement (must hold on every case, such as valid JSON, no leaked system prompt, refusal of out-of-scope requests) or a quality criterion (scored). If the description does not say what a good output is, ask before writing cases.
2. Write 20 to 40 cases, each tagged with a slice:
   - golden (about 60%): typical inputs, built from the samples when given;
   - edge: empty or minimal input, very long input, mixed languages, ambiguous requests, unusual formatting, boundary values;
   - adversarial: prompt injection inside the user content, requests to reveal instructions, out-of-scope or disallowed requests that fit this feature, inputs designed to trigger the known failure modes.
   Use invented data only. Give a reference output or the key facts the output must contain wherever one exists.
3. Pick a grader for each criterion. Use exact match, regex or schema validation for deterministic properties. Use a rubric for qualities. For a model judge, write the judge prompt: the criterion, a 1-to-5 or pass/fail scale with an anchor example for each level, the reference answer when there is one, reasoning before the verdict, and, for pairwise comparisons, both orderings. Say how to calibrate the judge: 20 to 50 human-labelled cases and the agreement level required before it is trusted.
4. If the grading approach is exact or rubric only, say which criteria it cannot grade reliably and what you would use instead.
5. Set thresholds: hard requirements at 100%, a pass rate per quality criterion, a minimum per slice, the number of runs per case to absorb sampling variance, and the rule for comparing a candidate against the current version.
</task>

<constraints>
- Every case must test something a criterion names. Drop cases that duplicate another case's purpose.
- Do not use real names, emails or customer data in cases.
- Keep the judge prompt self-contained, so it runs without this conversation.
- Thresholds are starting values. Say how to revise them after the first runs.
- Separate what you verified from what you inferred. Mark inferences as such.
- When you do not know, say "I don't know" once and state what would settle it.
</constraints>

<output_format>
## Success criteria
Table: id | criterion | hard or quality | grader.

## Cases
One fenced YAML block. Each case: `id`, `slice`, `input`, `reference` (or `must_include`), `criteria` (ids).

## Graders
The deterministic checks, the rubric, and the full judge prompt in a fenced block, plus the calibration procedure.

## Thresholds and gating
Pass rules per criterion and slice, runs per case, and when a change may ship.

## Gaps
What the suite does not cover yet and what data would close it.
</output_format>

Files in this skill

  • SKILL.md4.5 KB
  • agents/openai.yaml326 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.