Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Decides whether code belongs in a unit test or a golden test, and builds golden fixtures that can actually fail.
65% 96%+30 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 15 of 23 without it.
We added a comprehensive golden test suite covering 5 different agent routing flows. What operational detail should be documented alongside the golden test suite for other maintainers?
Recommends documenting execution runtime for the golden test lane.
3 of 3 safety checks passed
Two different tools, constantly confused:
Put in a unit test everything that does not need a model: parsing, tree building, prompt construction (not its answer), digests and cache keys, triviality gates, ordering, rendering, pruning. Most of a pipeline is this, and it should be — pure functions are where cheap certainty lives.
Put in a golden test only what a model's behaviour decides: does retrieval rank the right thing, does the pass produce a well-formed artifact, does the router pick the right agent, does the JSON parse.
If you find yourself wanting a golden to check something deterministic, extract the deterministic part into a pure function and unit-test that. A golden is the most expensive test you own — spend it only where a real model is the thing under test.
A fixture that only contains shapes the code already handles proves nothing. This is the single most common way a suite passes while the code is broken: the sample repo/document/payload is small, flat and friendly, and every hard case lives only in production data.
Real example: a documentation pipeline had a small flat fixture repo. Three defects shipped anyway and only surfaced on a 148-class codebase — an aggregate step ran on the wrong size budget (the fixture's inputs were never big enough to overflow), a model swap silently skipped regeneration (the fixture was never re-run under a second model), and a deep nesting chain cost N redundant calls (the fixture was two levels deep).
Next to this one in the catalogue, plus popular skills in the same category.