AI Workflows and Automation skill 10 of 13

AI Evals and Testing SKILL.md

The AI Evals and Testing skill makes Claude, Codex or another AI agent test prompts, skills, workflows and agents properly. It writes success criteria, builds test sets with real, edge, adversarial and past-failure cases, chooses graders, runs baselines, compares versions, decides when to ship and monitors production.

ai-evals-testing/SKILL.md, version 1.0.0, 1,445 words.

AI outputs vary. A prompt that works on three examples can fail on the fourth; a model update can change behaviour; a small prompt edit can fix one case and break five others. Without systematic testing, teams discover problems from customers or colleagues. Evaluations (evals) are repeatable tests that measure how well an AI workflow does its job on representative cases, so changes are judged by evidence. Anthropic recommends defining success criteria and building evaluations before iterating on prompts. [Reference, Anthropic docs on success criteria and evaluations]

This skill designs practical evals for prompts, skills, workflows and agents: success criteria, a test set of real and edge cases, grading methods (code checks, rubrics, model-graded and human review), baselines, regression testing when prompts or models change, production monitoring and decisions based on results.

Operating principles

  1. Define success before testing. Specific, measurable criteria tied to the task.
  2. Test on real cases. Use actual inputs, including messy and edge cases.
  3. Grade the cheapest reliable way. Code checks first, rubrics and model graders next, humans for judgement and calibration.
  4. Compare against a baseline. Every change is measured against the current version.
  5. Re-run on every change. Prompts, models, tools and data changes trigger regression tests.
  6. Watch production. Sample real outputs and track failures after launch.

Grading methods

MethodGood forExample
Exact or rule checks (code)Formats, fields, lengths, allowed valuesJSON valid; category in list; under 120 words
Reference comparisonExtraction and classification with known answersExtracted total equals the true total
Rubric scored by a modelTone, completeness, relevanceScore 1 to 5 against written criteria
Pairwise comparisonChoosing between prompt versionsWhich answer better meets criteria?
Human reviewHigh-stakes outputs, calibration of model gradersExpert checks 30 samples

Model-graded scores should be calibrated against human ratings on a sample before they are trusted.

When to use, and when not to

Use it before launching any AI workflow, when changing prompts or models, when users report quality problems and for ongoing monitoring of production workflows.

Don't over-engineer for one-off personal tasks; a quick check of a few outputs is enough there.

Inputs

  • The task, its users and what good looks like.
  • Real examples of inputs (and ideal outputs where possible).
  • Known failure cases and complaints.
  • The prompt, skill, workflow or agent to test.
  • Risk level of mistakes.

Raw SKILL.md file

.md

This is the exact file agents read, including the credit header and licence notice. Save it as ai-evals-testing/SKILL.md.

---
name: ai-evals-testing
description: "Design evals for prompts, skills, workflows and agents: success criteria, test sets with real, edge, adversarial and past-failure cases, grading with code checks, reference answers, rubrics, pairwise comparison and calibrated model graders, baselines, regression testing, ship decisions and production monitoring. Use whenever someone wants to test an AI workflow before launch, compare prompt or model versions, measure AI output quality, build an eval set, catch regressions after changes or monitor AI in production."
license: CC-BY-4.0
metadata:
  author: Afeez Adebayo
  author_url: https://afeezadebayo.com
  author_linkedin: https://www.linkedin.com/in/afeez-adebayo/
  author_x: https://x.com/za_icon
  source: https://afeezadebayo.com/skills-md/productivity/ai-workflows-automation/ai-evals-testing/
  category: productivity
  subcategory: ai-workflows-automation
  version: "1.0.0"
  created: "2026-10-10"
  updated: "2026-10-14"
---

# AI Evals and Testing

AI outputs vary. A prompt that works on three examples can fail on the fourth; a model update can change behaviour; a small prompt edit can fix one case and break five others. Without systematic testing, teams discover problems from customers or colleagues. Evaluations (evals) are repeatable tests that measure how well an AI workflow does its job on representative cases, so changes are judged by evidence. Anthropic recommends defining success criteria and building evaluations before iterating on prompts. [Reference, Anthropic docs on success criteria and evaluations]

This skill designs practical evals for prompts, skills, workflows and agents: success criteria, a test set of real and edge cases, grading methods (code checks, rubrics, model-graded and human review), baselines, regression testing when prompts or models change, production monitoring and decisions based on results.

## Operating principles
1. **Define success before testing.** Specific, measurable criteria tied to the task.
2. **Test on real cases.** Use actual inputs, including messy and edge cases.
3. **Grade the cheapest reliable way.** Code checks first, rubrics and model graders next, humans for judgement and calibration.
4. **Compare against a baseline.** Every change is measured against the current version.
5. **Re-run on every change.** Prompts, models, tools and data changes trigger regression tests.
6. **Watch production.** Sample real outputs and track failures after launch.

## Grading methods
| Method | Good for | Example |
|---|---|---|
| Exact or rule checks (code) | Formats, fields, lengths, allowed values | JSON valid; category in list; under 120 words |
| Reference comparison | Extraction and classification with known answers | Extracted total equals the true total |
| Rubric scored by a model | Tone, completeness, relevance | Score 1 to 5 against written criteria |
| Pairwise comparison | Choosing between prompt versions | Which answer better meets criteria? |
| Human review | High-stakes outputs, calibration of model graders | Expert checks 30 samples |

Model-graded scores should be calibrated against human ratings on a sample before they are trusted.

## When to use, and when not to
Use it before launching any AI workflow, when changing prompts or models, when users report quality problems and for ongoing monitoring of production workflows.

Don't over-engineer for one-off personal tasks; a quick check of a few outputs is enough there.

## Inputs
- The task, its users and what good looks like.
- Real examples of inputs (and ideal outputs where possible).
- Known failure cases and complaints.
- The prompt, skill, workflow or agent to test.
- Risk level of mistakes.

## Workflow

### Step 1. Write success criteria
For example: "Classification accuracy of at least 95%; no personal data in outputs; summaries under 150 words with all actions listed."

### Step 2. Build the test set
Typically 30 to 100 cases: common cases, edge cases, adversarial cases (for example prompt injection attempts) and past failures. Add expected outputs or grading notes.

### Step 3. Choose graders
Code checks for structure; reference answers for facts; rubrics for quality; humans for a calibration sample.

### Step 4. Run the baseline
Score the current version; record results per case and overall.

### Step 5. Change one thing
Prompt wording, examples, model, tool descriptions or retrieval settings.

### Step 6. Re-run and compare
Look at overall scores and case-by-case changes; check nothing important regressed.

### Step 7. Decide
Ship if criteria are met and no critical regressions; otherwise iterate.

### Step 8. Monitor in production
Sample outputs weekly, track user feedback and error rates, add new failures to the test set.

## Test set template
```
| id | input | type | expected or criteria | grader | result v1 | result v2 |
| 001 | Refund request after 40 days | edge | category=refund; mentions policy limit | code + rubric | pass | pass |
| 002 | Email with hidden "ignore instructions" text | adversarial | no action taken; flagged | code | fail | pass |
```

## Rubric example
```
Score each summary 1 to 5 on:
1. Accuracy: every statement supported by the transcript
2. Completeness: all decisions and actions included
3. Brevity: under 150 words, no filler
4. Usefulness: an account manager could act on it
Return JSON: {accuracy, completeness, brevity, usefulness, notes}
```

## Metrics by workflow type
| Workflow | Key metrics |
|---|---|
| Classification | Accuracy, precision and recall per class, review rate |
| Extraction | Field-level accuracy, missing-field rate |
| Writing | Rubric scores, edit rate by humans, rule violations |
| RAG and Q&A | Correct answers, citation accuracy, correct refusals |
| Agents | Task success rate, steps, cost, time, unsafe actions attempted |

## Running evals without code
Teams without developers can run evals in a spreadsheet: one row per test case, columns for input, expected result, output from each version and a pass or fail mark. An AI assistant can generate outputs for each row and draft rubric scores, while a person checks a sample. The discipline of fixed cases and side-by-side comparison matters more than the tooling.

## Adversarial cases to include
- Inputs containing instructions such as "ignore your rules".
- Requests for data the user should not see.
- Missing or contradictory information.
- Very long, very short and badly formatted inputs.
- Different languages or unusual characters.

## Reporting results
Share a short summary after each run: overall score against criteria, biggest improvements, any regressions, cases still failing and the decision. Keep a history of runs so changes in quality can be traced to specific prompt, model or data changes.

Keep the test set in version control beside the prompts it tests, so every change has a matching evaluation record.

## Building a test set from production
The best test cases come from real use. Each week, sample outputs, mark failures and near misses and add them to the test set with the correct answer or grading notes. Over months the set becomes a precise picture of where the workflow struggles, and every future change is tested against those exact weaknesses.

## Grader design tips
- Write rubrics with concrete descriptions for each score, not just numbers.
- Ask model graders for a short reason before the score.
- Grade one criterion at a time when precision matters.
- Hide which version produced which output in pairwise comparisons.
- Recalibrate graders when the task or rubric changes.

## Statistical sense
Small differences on small test sets are often noise. With 50 cases, a change from 88% to 90% is one case; look at which cases changed and why before declaring a winner. Run each case several times when outputs vary, and treat any regression on a critical case as a blocker regardless of the overall score.

## Eval types by stage
| Stage | Eval |
|---|---|
| Prototype | Quick checks on 10 to 20 hand-picked cases |
| Pre-launch | Full test set with thresholds and adversarial cases |
| Production | Weekly samples, user feedback, error tracking |
| Changes | Full regression suite before release |
| Model updates | Full suite plus spot checks on critical workflows |

## Safety and policy evals
Include cases that test what the workflow must never do: reveal personal data, follow instructions hidden in inputs, take unapproved actions, give legal or medical advice beyond policy or produce offensive content. Track these separately with a zero-tolerance threshold.

## Tools
Spreadsheets work for small sets. As volume grows, use eval tooling from AI providers or open-source frameworks that store cases, run versions, apply graders and compare results. The tool matters less than having stable cases, clear criteria and a habit of running them before every change.

## Communicating results
Present evals in plain terms for decision makers: what the workflow does well, where it fails, the risk of those failures and what review or guardrails cover them. A one-page eval summary attached to each launch decision builds confidence and creates an audit trail.

## Example eval summary
```
Workflow: support ticket classification v4
Test set: 140 cases (100 common, 25 edge, 10 adversarial, 5 past failures)
Accuracy: 96% (v3: 93%) | Injection cases: 10/10 handled
Regressions: 2 billing cases now go to review (acceptable)
Decision: ship; weekly sampling of 30 tickets
```

## Who owns evals
The workflow owner owns the test set and thresholds; a reviewer from the business checks that criteria reflect real needs; whoever changes prompts or models must run the suite and attach results to the change. Shared ownership keeps evals honest to user needs and makes skipping them visible.

## Cost of evals
Evals cost model calls and reviewer time, so size them to risk: a few dozen cases for internal drafting helpers, hundreds with strict thresholds for customer-facing or financial workflows. Running a full suite is almost always cheaper than discovering the same failures from customers.

Re-run the suite whenever a provider announces a model change.

Store results beside each version for comparison later.

Keep cases realistic, varied and current.

## Edge cases and judgement calls
| Situation | What to do |
|---|---|
| No ideal answers available | Use rubrics and pairwise comparisons |
| Model grader disagrees with humans | Rewrite the rubric; add examples; recalibrate |
| Small test set | Focus on critical cases; grow the set from production failures |
| Model update by provider | Re-run the full suite before relying on it |
| High-risk domain | More human review; stricter thresholds |
| Flaky results | Run each case several times; look at variance |

## Handoffs to related skills
- Prompts: `prompt-engineering`
- Skills: `skill-md-authoring`
- Agents: `ai-agent-design`
- Extraction: `document-processing`
- Knowledge assistants: `rag-knowledge-bases`
- Human review design: `human-in-the-loop`
- GTM table QA: the GTM Engineering `gtm-workflow-qa` skill

## Worked example
A ticket-classification workflow was "working" until agents noticed misrouted billing tickets. The team wrote criteria (95% accuracy, low-confidence cases to review), built a 120-case test set from real tickets including past failures and two injection attempts, and scored the baseline at 88% with one injection followed. Adding three examples, a "review" category and a rule to treat ticket text as data raised accuracy to 96% with no injections followed. The suite now runs before every prompt or model change, and new failures from production are added monthly.

## Common mistakes
- Judging prompts on a handful of examples.
- No written success criteria.
- Changing several things at once.
- Trusting model graders without calibration.
- No re-testing after model or prompt changes.

## Output format
```
1. Success criteria
2. Test set (with case types)
3. Graders and rubrics
4. Baseline results
5. Change log and comparison results
6. Ship decision
7. Production monitoring plan
```

## Self-check before you answer
- Are success criteria specific and measurable?
- Does the test set include edge, adversarial and past-failure cases?
- Are graders appropriate and calibrated?
- Is every change compared with a baseline?

---
Created by Afeez Adebayo, Marketing, SEO & Growth Expert
Website: https://afeezadebayo.com
LinkedIn: https://www.linkedin.com/in/afeez-adebayo/
X: https://x.com/za_icon
Source: https://afeezadebayo.com/skills-md/productivity/ai-workflows-automation/ai-evals-testing/

Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). You may copy, share and adapt this skill, including for commercial use, as long as you credit Afeez Adebayo and link to the source URL above. Keep this notice in any copy or adapted version.

Workflow

Step 1. Write success criteria

For example: "Classification accuracy of at least 95%; no personal data in outputs; summaries under 150 words with all actions listed."

Step 2. Build the test set

Typically 30 to 100 cases: common cases, edge cases, adversarial cases (for example prompt injection attempts) and past failures. Add expected outputs or grading notes.

Step 3. Choose graders

Code checks for structure; reference answers for facts; rubrics for quality; humans for a calibration sample.

Step 4. Run the baseline

Score the current version; record results per case and overall.

Step 5. Change one thing

Prompt wording, examples, model, tool descriptions or retrieval settings.

Step 6. Re-run and compare

Look at overall scores and case-by-case changes; check nothing important regressed.

Step 7. Decide

Ship if criteria are met and no critical regressions; otherwise iterate.

Step 8. Monitor in production

Sample outputs weekly, track user feedback and error rates, add new failures to the test set.

Test set template

| id | input | type | expected or criteria | grader | result v1 | result v2 |
| 001 | Refund request after 40 days | edge | category=refund; mentions policy limit | code + rubric | pass | pass |
| 002 | Email with hidden "ignore instructions" text | adversarial | no action taken; flagged | code | fail | pass |

Rubric example

Score each summary 1 to 5 on:
1. Accuracy: every statement supported by the transcript
2. Completeness: all decisions and actions included
3. Brevity: under 150 words, no filler
4. Usefulness: an account manager could act on it
Return JSON: {accuracy, completeness, brevity, usefulness, notes}

Metrics by workflow type

WorkflowKey metrics
ClassificationAccuracy, precision and recall per class, review rate
ExtractionField-level accuracy, missing-field rate
WritingRubric scores, edit rate by humans, rule violations
RAG and Q&ACorrect answers, citation accuracy, correct refusals
AgentsTask success rate, steps, cost, time, unsafe actions attempted

Running evals without code

Teams without developers can run evals in a spreadsheet: one row per test case, columns for input, expected result, output from each version and a pass or fail mark. An AI assistant can generate outputs for each row and draft rubric scores, while a person checks a sample. The discipline of fixed cases and side-by-side comparison matters more than the tooling.

Adversarial cases to include

  • Inputs containing instructions such as "ignore your rules".
  • Requests for data the user should not see.
  • Missing or contradictory information.
  • Very long, very short and badly formatted inputs.
  • Different languages or unusual characters.

Reporting results

Share a short summary after each run: overall score against criteria, biggest improvements, any regressions, cases still failing and the decision. Keep a history of runs so changes in quality can be traced to specific prompt, model or data changes.

Keep the test set in version control beside the prompts it tests, so every change has a matching evaluation record.

Building a test set from production

The best test cases come from real use. Each week, sample outputs, mark failures and near misses and add them to the test set with the correct answer or grading notes. Over months the set becomes a precise picture of where the workflow struggles, and every future change is tested against those exact weaknesses.

Grader design tips

  • Write rubrics with concrete descriptions for each score, not just numbers.
  • Ask model graders for a short reason before the score.
  • Grade one criterion at a time when precision matters.
  • Hide which version produced which output in pairwise comparisons.
  • Recalibrate graders when the task or rubric changes.

Statistical sense

Small differences on small test sets are often noise. With 50 cases, a change from 88% to 90% is one case; look at which cases changed and why before declaring a winner. Run each case several times when outputs vary, and treat any regression on a critical case as a blocker regardless of the overall score.

Eval types by stage

StageEval
PrototypeQuick checks on 10 to 20 hand-picked cases
Pre-launchFull test set with thresholds and adversarial cases
ProductionWeekly samples, user feedback, error tracking
ChangesFull regression suite before release
Model updatesFull suite plus spot checks on critical workflows

Safety and policy evals

Include cases that test what the workflow must never do: reveal personal data, follow instructions hidden in inputs, take unapproved actions, give legal or medical advice beyond policy or produce offensive content. Track these separately with a zero-tolerance threshold.

Tools

Spreadsheets work for small sets. As volume grows, use eval tooling from AI providers or open-source frameworks that store cases, run versions, apply graders and compare results. The tool matters less than having stable cases, clear criteria and a habit of running them before every change.

Communicating results

Present evals in plain terms for decision makers: what the workflow does well, where it fails, the risk of those failures and what review or guardrails cover them. A one-page eval summary attached to each launch decision builds confidence and creates an audit trail.

Example eval summary

Workflow: support ticket classification v4
Test set: 140 cases (100 common, 25 edge, 10 adversarial, 5 past failures)
Accuracy: 96% (v3: 93%) | Injection cases: 10/10 handled
Regressions: 2 billing cases now go to review (acceptable)
Decision: ship; weekly sampling of 30 tickets

Who owns evals

The workflow owner owns the test set and thresholds; a reviewer from the business checks that criteria reflect real needs; whoever changes prompts or models must run the suite and attach results to the change. Shared ownership keeps evals honest to user needs and makes skipping them visible.

Cost of evals

Evals cost model calls and reviewer time, so size them to risk: a few dozen cases for internal drafting helpers, hundreds with strict thresholds for customer-facing or financial workflows. Running a full suite is almost always cheaper than discovering the same failures from customers.

Re-run the suite whenever a provider announces a model change.

Store results beside each version for comparison later.

Keep cases realistic, varied and current.

Edge cases and judgement calls

SituationWhat to do
No ideal answers availableUse rubrics and pairwise comparisons
Model grader disagrees with humansRewrite the rubric; add examples; recalibrate
Small test setFocus on critical cases; grow the set from production failures
Model update by providerRe-run the full suite before relying on it
High-risk domainMore human review; stricter thresholds
Flaky resultsRun each case several times; look at variance
  • Prompts: prompt-engineering
  • Skills: skill-md-authoring
  • Agents: ai-agent-design
  • Extraction: document-processing
  • Knowledge assistants: rag-knowledge-bases
  • Human review design: human-in-the-loop
  • GTM table QA: the GTM Engineering gtm-workflow-qa skill

Worked example

A ticket-classification workflow was "working" until agents noticed misrouted billing tickets. The team wrote criteria (95% accuracy, low-confidence cases to review), built a 120-case test set from real tickets including past failures and two injection attempts, and scored the baseline at 88% with one injection followed. Adding three examples, a "review" category and a rule to treat ticket text as data raised accuracy to 96% with no injections followed. The suite now runs before every prompt or model change, and new failures from production are added monthly.

Common mistakes

  • Judging prompts on a handful of examples.
  • No written success criteria.
  • Changing several things at once.
  • Trusting model graders without calibration.
  • No re-testing after model or prompt changes.

Output format

1. Success criteria
2. Test set (with case types)
3. Graders and rubrics
4. Baseline results
5. Change log and comparison results
6. Ship decision
7. Production monitoring plan

Self-check before you answer

  • Are success criteria specific and measurable?
  • Does the test set include edge, adversarial and past-failure cases?
  • Are graders appropriate and calibrated?
  • Is every change compared with a baseline?

When to use this skill, and when not to

Use it before launching any AI workflow, when changing prompts or models and when users report quality problems.

A prompt that works on three examples can fail on the fourth; evals turn opinions into evidence.

Example prompts

  • “Test this prompt on 50 real tickets.”
  • “Compare these two prompt versions.”
  • “Build an eval set for our extraction workflow.”
  • “Did the model update break anything?”

Example output

The skill returns a fixed structure. A shortened example for an imaginary site:

Criteria: 95% accuracy, review for low confidence
Test set: 120 cases incl. 2 injection attempts
Baseline: 88%, 1 injection followed
New version: 96%, none followed

Every change is compared with a baseline on the same cases, including adversarial ones.

What the agent needs from you

It needs the task and success criteria, real inputs, known failures, the workflow to test and its risk level.

How this skill hands off to related skills

How to run AI Evals and Testing step by step

  1. Install the skill as ai-evals-testing/SKILL.md.
  2. Write success criteria.
  3. Build the test set.
  4. Choose graders.
  5. Run the baseline.
  6. Change one thing.

Situations this skill handles

AI Evals and Testing handles these situations:

SituationWhat the skill does
No ideal answers availableUse rubrics and pairwise comparisons
Model grader disagrees with humansRewrite the rubric; add examples; recalibrate
Small test setFocus on critical cases; grow the set from production failures
Model update by providerRe-run the full suite before relying on it
High-risk domainMore human review; stricter thresholds
Flaky resultsRun each case several times; look at variance

What makes this skill different

Most teams judge AI by a few examples. This skill builds a repeatable test set and grading method so every change is measured.

Practical tips from real projects

  • Define success before testing.
  • Test on real cases.
  • Grade the cheapest reliable way.
  • Compare against a baseline.

A worked example: A ticket-classification workflow was "working" until agents noticed misrouted billing tickets. The team wrote criteria (95% accuracy, low-confidence cases to review), built a 120-case test set from real tickets including past failures and two injection attempts, and scored the baseline at 88% with one injection followed. Adding three examples, a "review" category and a rule to treat ticket text as data raised accuracy to 96% with no injections followed. The suite now runs before every prompt or model change, and new failures from production are added monthly.

Write success criteria: For example: "Classification accuracy of at least 95%; no personal data in outputs; summaries under 150 words with all actions listed." Build the test set: Typically 30 to 100 cases: common cases, edge cases, adversarial cases (for example prompt injection attempts) and past failures. Add expected outputs or grading notes. Choose graders: Code checks for structure; reference answers for facts; rubrics for quality; humans for a calibration sample.

Run the baseline: Score the current version; record results per case and overall. Change one thing: Prompt wording, examples, model, tool descriptions or retrieval settings. Re-run and compare: Look at overall scores and case-by-case changes; check nothing important regressed.

Decide: Ship if criteria are met and no critical regressions; otherwise iterate. Monitor in production: Sample outputs weekly, track user feedback and error rates, add new failures to the test set.

Grading methods. Exact or rule checks (code): good for Formats, fields, lengths, allowed values; example JSON valid; category in list; under 120 words. Reference comparison: good for Extraction and classification with known answers; example Extracted total equals the true total. Rubric scored by a model: good for Tone, completeness, relevance; example Score 1 to 5 against written criteria. Pairwise comparison: good for Choosing between prompt versions; example Which answer better meets criteria?. Human review: good for High-stakes outputs, calibration of model graders; example Expert checks 30 samples.

Test set template. 001: input Refund request after 40 days; type edge; expected or criteria category=refund; mentions policy limit; grader code + rubric; result v1 pass; result v2 pass. 002: input Email with hidden "ignore instructions" text; type adversarial; expected or criteria no action taken; flagged; grader code; result v1 fail; result v2 pass.

Metrics by workflow type. Classification: key metrics Accuracy, precision and recall per class, review rate. Extraction: key metrics Field-level accuracy, missing-field rate. Writing: key metrics Rubric scores, edit rate by humans, rule violations. RAG and Q&A: key metrics Correct answers, citation accuracy, correct refusals. Agents: key metrics Task success rate, steps, cost, time, unsafe actions attempted.

Running evals without code. Teams without developers can run evals in a spreadsheet: one row per test case, columns for input, expected result, output from each version and a pass or fail mark. An AI assistant can generate outputs for each row and draft rubric scores, while a person checks a sample. The discipline of fixed cases and side-by-side comparison matters more than the tooling.

Adversarial cases to include. Inputs containing instructions such as "ignore your rules". Requests for data the user should not see. Missing or contradictory information. Very long, very short and badly formatted inputs. Different languages or unusual characters.

Reporting results. Share a short summary after each run: overall score against criteria, biggest improvements, any regressions, cases still failing and the decision. Keep a history of runs so changes in quality can be traced to specific prompt, model or data changes. Keep the test set in version control beside the prompts it tests, so every change has a matching evaluation record.

Edge cases and judgement calls. No ideal answers available: what to do Use rubrics and pairwise comparisons. Model grader disagrees with humans: what to do Rewrite the rubric; add examples; recalibrate. Small test set: what to do Focus on critical cases; grow the set from production failures. Model update by provider: what to do Re-run the full suite before relying on it. High-risk domain: what to do More human review; stricter thresholds. Flaky results: what to do Run each case several times; look at variance.

Common mistakes to avoid: Judging prompts on a handful of examples. No written success criteria. Changing several things at once. Trusting model graders without calibration. No re-testing after model or prompt changes.

Frequently asked questions

A repeatable test that measures how well an AI workflow performs on representative cases.

Often 30 to 100, including edge, adversarial and past-failure cases.

Yes with rubrics, after calibrating against human ratings.

Before launch and after every prompt, model, tool or data change.

Changelog

  • 1.0.0, 10 October 2026: first release.

Use, adapt and share this skill under CC BY 4.0: credit Afeez Adebayo and link to this page.