eval-builder
Builds an evaluation set for an LLM application or agent from its specification: happy-path, edge-case, policy-violation, and adversarial cases with deterministic assertions and LLM-as-judge rubrics,
SKILL.mdskills/eval-builder/SKILL.md
GitHubEval builder
Turn the specification of an LLM application into a set of evaluation cases that would catch the failures that matter most for it.
Procedure
- Extract from the specification what the application must do, what it must never do, and the format of its output.
- Read
references/checklist.md. - Write at least five cases, and at least one in each category:
happy-path,edge-case,policy-violation(input that tempts the application to break a rule), andadversarial(prompt injection or manipulation). Each case has a description, input variables, and assertions. Prefer deterministic assertions (contains,not-contains,is-json,regex) and add anllm-rubriconly where meaning matters. - List as findings the gaps in the specification that block evaluation, such as undefined output formats or rules without a clear pass condition. If there are none, the findings list is empty.
- Write the report described below, with a
## Evaluation casessection after the findings that holds the cases as a Promptfootests:list in a fencedyamlblock.
Report format
Write the report in Markdown, in this order:
## Summary: two to four sentences on the overall state and the most important change.## Findings: one bullet per finding, most severe first, in the form- [severity] location: problem. Fix: suggested fix. (book section). Severity ishighwhen the problem causes wrong or unsafe behavior,mediumwhen it makes results unreliable or costly, andlowfor clarity or maintenance issues. If there are no problems, writeNo findings.- Any skill-specific section named in the procedure.
- A final fenced
jsonblock with the same content, as in this example. Repeat the cases in thecasesfield, withcategoryset to one ofhappy-path,edge-case,policy-violation, oradversarial.
{
"skill": "eval-builder",
"summary": "...",
"cases": [
{
"description": "...",
"category": "happy-path",
"vars": {},
"assert": []
}
],
"findings": [
{
"severity": "high",
"location": "support-agent.md, Output",
"problem": "...",
"fix": "...",
"book_section": "Chapter 8, Evals"
}
]
}
Use the book section given in the checklist for each rule. If the input is missing or out of scope for this skill, say so in one sentence and stop.
Learn more: Chapter 8 of Context Engineering (Manning), https://hubs.la/Q04ksQ8J0