Skip to content
Log in

Free resources · For developers

How do you test a Claude workflow, not just one answer?

Twenty to fifty real failures, graded the same way every time. Why one passing run proves little.

The idea

You changed a prompt, a skill or a CLAUDE.md, and you want to know if it helped. One good answer cannot tell you. Test the workflow, not one answer. A small set of tasks, graded the same way every time, shows whether a change helped.

How to start

Why one run is not enough

If a workflow passes 75% of single runs, three runs in a row all pass only about 42% of the time. Run each task more than once. Measure how often all runs pass, not just how often one does.

Three kinds of grader

Two kinds of test set

A capability set asks what the workflow can do well and starts with a low pass rate. A regression set asks whether it still does everything it used to, and should sit near a 100% pass rate. When a capability task passes reliably, move it to the regression set.

Watch for

The same rule for skills

Build the test before the skill. Run Claude on real tasks without the skill, write three scenarios from the gaps, and measure the baseline. Then write only enough instructions to close them.

Check

Learn it step by step: Write the evals first

Sources

Sign up for membership to see the sources.