LLM Evaluation
Installation
SKILL.md
LLM Evaluation
A prompt or model change that looks fine on the three examples you tried will break inputs you did not try, and without an eval you find out from users. The costly mistake this skill prevents is shipping on vibes: an uncalibrated judge or a ten-example "test" gives you a number that moves randomly, so real regressions hide inside noise. Build the dataset first, calibrate the judge before trusting it, and gate changes in CI.
Operating procedure
Follow the order: dataset before metrics, calibration before judging, pipeline before iteration. A judge calibrated against nothing is a random-number generator with confidence.
Step 1: Gather inputs
Collect these before building anything. Where the user cannot answer, use the default and label the value a guess.
- Task definition - what the system produces, in one sentence.
- What "good" means - 3-5 quality dimensions (correctness, groundedness, tone, format). Default: correctness plus format validity.
- Real failure examples - at least 5 outputs the user considers bad, with why.
- Traffic source - production logs, support tickets, or synthetic. Prefer production; label synthetic data as synthetic.
- Human-label budget - how many examples a person will grade. Default: 50 for judge calibration.