Skip to content

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.

Copy the prompt and paste it into the AI assistant you already use.

How to build a golden skill dataset that engineers actually trust

  1. 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.

  2. 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.

  3. 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.

  4. 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.