Design a reproducible 30-to-100 case golden evaluation suite for your internal skills
Vibe-checking three prompts after editing SKILL.md hides regressions. Structure realistic happy-path, edge-case, and no-trigger test cases.
How to build a golden skill dataset that engineers actually trust
- 01
Grade final environment state, not exact step trace
Assert whether tests pass, files validate, or database rows match—don't penalize valid alternative tool-call sequences.
- 02
Include negative 'should-not-trigger' prompts
Test adjacent user queries to verify your new skill doesn't hijack unrelated coding or general Q&A requests.
- 03
Seed messy real-world inputs, not clean textbook toys
Include missing env vars, malformed UTF-8 CSV rows, and partial specs lifted from anonymized historical tickets.
- 04
Keep a baseline 'no-skill' control run
Always run the exact same tasks without your SKILL.md attached to prove every paragraph actually lifts performance over the base model.
How it works in practice
Eval suite specification
Internal skill: k8s-helm-values-validator (40 golden cases: 15 valid charts, 15 subtle YAML/schema bugs, 10 out-of-scope Terraform prompts).
Baseline vs Skill run report
Base model (no skill): 63% bug catch, 2 hallucinated Helm flags. Skill v1.0: 91% bug catch, 0 hallucinated flags, but 30% false triggers on Terraform prompts. Skill v1.1 (tightened description): 92% bug catch, 0% false triggers.
Comparing against a no-skill baseline plus negative prompts catches over-triggering and proves your SKILL.md earns its tokens.
Questions and answers
How many test cases do we need before scores stabilize?
20–30 stratified cases catch major regressions during authoring, while 50–100 cases give confidence to detect 4–5% shifts across model upgrades.
Why is comparing against a 'no-skill' baseline critical?
Frontier models improve rapidly; many handwritten prompt rules from last year now add zero lift—or actively hurt—compared to the raw base model.
Can we run SkillMarket-compatible harnesses on private repos?
Yes, open YAML/JSON task schemas let teams run identical local container evaluations without uploading proprietary source code.
Related tasks in this category
See all in Internal Evals & Golden Test Suites-
Benchmark stochastic skill reliability with pass@1, pass@3, and pass^5 consistency metrics
A skill with 80% single-run pass@1 succeeds on all 5 consecutive runs (pass^5) less than 33% of the time. Measure variance before shipping.
-
Calibrate LLM-as-judge grading rubrics against human reviewers for open-ended skills
Uncalibrated 1-to-5 LLM judges reward long, confident bullet lists even when facts are wrong. Build binary, human-aligned graders.
-
Build recorded HTTP and MCP fixtures to benchmark tool-use skills offline and deterministically
Live Slack, Jira, and search APIs mutate every hour and hit rate limits in CI. Replay realistic stateful fixtures cleanly.
-
Block pull requests in GitHub Actions when SKILL.md edits drop benchmark pass rates or spike tokens
Treat SKILL.md and helper script changes like production code: run fast smoke evals on PRs and post pass-rate + token-cost diffs automatically.
-
Turn failed production agent traces and user thumbs-downs into anonymized regression cases
Synthetic test prompts miss weird customer inputs. Build a clean flywheel from Langfuse, Braintrust, or OTel failure traces into golden tests.
-
Evaluate whether agent skills ask concise questions instead of guessing on vague tasks
Over-eager skills guess destructive parameters on vague prompts; timid skills ask 6 annoying questions when repo context already answers 5.