Grade a completed factory run (a worktree + its chat) against your standards, cold and adversarially, so the system learns. Squashes the session transcript into a compact digest (prompts + corrections
You ran `/factory` (or did a complex task by hand) and it converged on a green PR. Green is not the same as good: it can pass CI while bending a convention, mocking a test into meaninglessness, cutting a corner you didn't notice, or repeating a mistake you already corrected. This skill judges the run cold - from a compressed digest + the real diff, not the agent's own self-narration - and turns what it finds into durable improvements so the next run is better.
This large 1,007-word instruction set is purpose-built for testing & qa work in AI coding agents. Paste directly into your CLAUDE.md or AI agent settings.
You ran /factory (or did a complex task by hand) and it converged on a green PR. Green is not the
same as good: it can pass CI while bending a convention, mocking a test into meaninglessness,
cutting a corner you didn't notice, or repeating a mistake you already corrected. This skill judges
the run cold - from a compressed digest + the real diff, not the agent's own self-narration - and
turns what it finds into durable improvements so the next run is better.
Execute directly - do not enter plan mode. Read-only w.r.t. the code under evaluation; the only
things it may write (on your yes) are rules/guards/memories via the routing in the last step.
The argument is the worktree (default: the current one) or an explicit transcript.jsonl. Produce a
compact digest of the session (how you export and compress a transcript depends on your harness).
The digest is compact markdown - prompts (with corrections flagged ⚠️), the diff, and the
ordered tool timeline - compressing a multi-hundred-KB transcript to a few KB. Read it. Also pull the
real diff for the evaluator to check against (git diff origin/<default-branch>...HEAD in that worktree, plus any
uncommitted/untracked). The digest tells you what happened; the diff is ground truth for whether it
was done right.
> Evaluating the current chat is fine, but the digest won't include the in-flight turn. For a clean
> read, evaluate a run that has come to rest (converged, or stopped).
Spawn a fresh subagent as the evaluator and hand it the digest + the diff. A cold
context is the point - the doer rationalizes its own choices; the evaluator must not inherit them. For a
thorough pass, fan out one evaluator per rubric group in parallel and merge; for a quick read, one
evaluator covering all groups is enough. Instruct the evaluator to open the actual changed files and
verify claims against the code and your conventions docs - never grade from the digest's summary alone.
file:line or digest evidence)/design + go/no-go, if non-trivial) → implement → review-loop →e2e-verify, if the change has a runtime/UI surface) → review-loop → /babysit-pr → converge.
Which steps ran, which were skipped, and was each skip justified by the triage - a localized fix
skipping design is correct, a UI change skipping e2e is not. Did skipping anything matter (e.g. a
cross-cutting change built without a design, called a green CI "done" without a clean re-review)?
as/any/!/@ts-ignore), minimal surgical change at the right layer, searched-before-
creating (no near-duplicate of an existing util), comments-default-to-none, the perf/batching rule on
hot paths, project-specific conventions. Flag anything the guards/reviewers didn't catch.
The evaluator returns: a per-dimension score with evidence, the top 3-5 issues ranked by severity,
and for each a proposed durable fix tagged RULE (mechanizable/code convention) or PROCESS
(how-you-work). Bias toward specific, evidenced findings over vague ones; "this looked fine" is not a
finding.
Merge the evaluator output into one report for the user: the scorecard, the ranked issues with
evidence, and the proposed durable fixes. Then route each accepted lesson (act only on the user's
yes, exactly as /add-rule requires):
RULE findings → hand to /add-rule: a conventions-doc rule + a lint guard whenPROCESS findings → a persistent memory (with the why + how-to-apply), and the rootEnd with the one number that matters over time: how many corrections/new-rules this run produced. The
whole thesis is that this trends down run over run as the environment absorbs the lessons - track it,
call it out, and note whether this run beat the last.
Evaluate Run is a free testing & qa skill for AI coding agents. Grade a completed factory run (a worktree + its chat) against your standards, cold and adversarially, so the system learns. Squashes the session transcript into a compact digest (prompts + corrections. It provides a specialized system prompt that configures your agent with testing & qa expertise.
Copy the system prompt below and paste it into your CLAUDE.md file or Claude Code's custom instructions to activate Evaluate Run.
Evaluate Run is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Evaluate Run is completely free and open source. The full source is available on GitHub at https://github.com/uiverify/uiverify/blob/main/packages/skills/skills/evaluate-run/SKILL.md. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.