Source profileQuality 99/100

laurigates/claude-plugins/agent-patterns-plugin/skills/execution-grounded-review/SKILL.md

execution-grounded-review

Execution-grounded review: run tests first, trace each acceptance criterion to execution evidence. Use when verifying an implementation meets spec.

Source repository stars
53
Declared platforms
1
Static risk flags
0
Last source update
2026-08-24
Source checked
2026-08-25

Decision brief

What it does: where it fits

A normal review reads the diff and asks "does this look right?" — and an implementation can look complete while a criterion silently fails. This skill refuses to grade an implementation on appearance: it runs the suite first, then traces each acceptance criterion to execution ev…

Best for

  • Use when verifying an implementation meets spec.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/laurigates/claude-plugins --skill "agent-patterns-plugin/skills/execution-grounded-review"
Safe inspection promptEditorial

Inspect the Agent Skill "execution-grounded-review" from https://github.com/laurigates/claude-plugins/blob/5de06622d8def8c36f7f39d980300aaa15af4357/agent-patterns-plugin/skills/execution-grounded-review/SKILL.md at commit 5de06622d8def8c36f7f39d980300aaa15af4357. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Step 1: Run the suite first

    Before reading the diff for "correctness", establish ground truth by execution. Detect and run the project's full suite + typecheck + lint, capturing output to a scratch file (this is the execution evidence the verifier grades against):

    Before reading the diff for "correctness", establish ground truth by execution. Detect and run the project's full suite + typecheck + lint, capturing output to a scratch file (this is the execution evidence the verifier…Record the exit codes and failing-test names. A red suite is itself an independent signal — a failing test does not care how hard the author worked (.claude/rules/loop-integrity.md).
  2. 02

    Step 2: Name the criteria

    State, in one numbered list, the acceptance criteria under verification (from --criteria or context). If the list is empty, stop and ask for it — there is nothing to ground a verdict in. Each criterion is one ledger row in Step 3.

    State, in one numbered list, the acceptance criteria under verification (from --criteria or context). If the list is empty, stop and ask for it — there is nothing to ground a verdict in. Each criterion is one ledger row…
  3. 03

    Step 3: Dispatch the intent-starved verifier

    One Agent, model: opus, reading only the criteria, the diff, and the captured execution-evidence file — not the author's reasoning. Bind its output to the LEDGER schema below and paste that schema verbatim into the brief: a schema forces a determinate answer on every row where p…

    One Agent, model: opus, reading only the criteria, the diff, and the captured execution-evidence file — not the author's reasoning. Bind its output to the LEDGER schema below and paste that schema verbatim into the brie…evidence is the test name / file:line / observed output drawn from the execution-evidence file, or the literal none. coverage is / .sequenceMatchesProduction is required on every row, and that requirement is the entire gain of the schema. Step 3a's check is the one a verifier skips silently when it is only prose, because a green test looks like evid…
  4. 04

    Step 3a: Match the test's operation sequence to production

    "A passing test exists for this claim" is not sufficient evidence for a round-trip, determinism, reproducibility, or idempotence claim. The test can pass while the design is broken, because a narrower hand-built repro silently avoids the exact ordering that would expose a diverg…

    "A passing test exists for this claim" is not sufficient evidence for a round-trip, determinism, reproducibility, or idempotence claim. The test can pass while the design is broken, because a narrower hand-built repro s…So for any such claim, add a step to the verifier's brief:Identify what real call sequence exercises this claim in production, and confirm the test under review reproduces that sequence — not just a convenient shorter one.
  5. 05

    Step 4: Triage against over-correction

    The verifier grades strictly, so guard both failure modes before acting — neither talk yourself into passing broken code, nor into failing correct code:

    The verifier grades strictly, so guard both failure modes before acting — neither talk yourself into passing broken code, nor into failing correct code:

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score99/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars53SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
laurigates/claude-plugins
Skill path
agent-patterns-plugin/skills/execution-grounded-review/SKILL.md
Commit
5de06622d8def8c36f7f39d980300aaa15af4357
License
MIT
Collected
2026-08-25
Default branch
main
View the original SKILL.md

Execution-Grounded Review

A normal review reads the diff and asks "does this look right?" — and an implementation can look complete while a criterion silently fails. This skill refuses to grade an implementation on appearance: it runs the suite first, then traces each acceptance criterion to execution evidence — a test that actually exercised it, or observed behaviour — and marks anything it cannot back with execution as UNVERIFIED rather than passing it on faith.

It is the execution-grounded verifier in the agent-patterns review family: where adversarial-review attacks a design for faults and cold-read-gate measures whether text survives a reader, this skill verifies that running code meets its stated acceptance criteria. It is the reusable independent verifier a judgement-based loop gate delegates to (.claude/rules/loop-integrity.md, Pillar 1).

When to Use This Skill

Use this skill when...Use something else instead when...
Verifying an implementation meets explicit acceptance criteria, proven by running itFirst-pass review of a diff → code-quality-plugin:code-review
Gating a loop/phase done on an independent check of behaviourRed-teaming a design or ADR for faults → agent-patterns-plugin:adversarial-review
Confirming a fix actually fixes the reported failure (not just compiles)Checking premises/facts before work starts → agent-patterns-plugin:verify-before-plan
Closing the loop on "is every requirement actually covered by a test?"Legibility of outward text → agent-patterns-plugin:cold-read-gate

The Stance

MoveWhat it means
Execute firstRun the full suite + typecheck + lint before any verdict. A criterion is PASS only with execution evidence — never "the code looks like it does this".
Trace each criterionOne ledger row per acceptance criterion: premise → evidence (file:line / test name / observed output) → verdict.
No silent passA criterion with no execution backing is UNVERIFIED (a coverage gap to surface), not an assumed pass.
Match the production sequenceFor a round-trip / determinism / reproducibility / idempotence claim, a passing test is evidence only if its operation sequence reproduces the real production call path — not a convenient shorter one (see Step 3a).
Intent-starved verifierThe isolated verifier reads the criteria, the diff, and the captured execution evidence — not the author's plan narrative or rationale, which would let it rationalise a pass.
Bounded loopOne revise round on fail; a third means a structural problem the gate can't resolve.

Model is opus — like adversarial-review, the inverse of cold-read-gate: building an accurate requirement→evidence ledger is a reasoning task.

Parameters

Parse $ARGUMENTS:

  • Target (first positional) — what to verify: a path, a PR ref (#123 or URL), explicit files, or absent. If absent, default to the current change (git diff HEAD + staged) and say so.
  • --criteria <file> (optional) — a file of acceptance criteria. If absent, gather criteria from the task/plan in context (the acceptance criteria stated for this change) and echo them back before verifying, so the user can correct the list the skill is grading against.

Execution

Execute this execution-grounded verification:

Step 1: Run the suite first

Before reading the diff for "correctness", establish ground truth by execution. Detect and run the project's full suite + typecheck + lint, capturing output to a scratch file (this is the execution evidence the verifier grades against):

StackSuiteTypecheckLint
Node/TSnpm test (or npx vitest run)npx tsc --noEmitnpx biome check
Pythonuv run pytest -quv run ty checkuv run ruff check
Rustcargo testcargo checkcargo clippy
Gogo test ./...go vet ./...

Record the exit codes and failing-test names. A red suite is itself an independent signal — a failing test does not care how hard the author worked (.claude/rules/loop-integrity.md).

Step 2: Name the criteria

State, in one numbered list, the acceptance criteria under verification (from --criteria or context). If the list is empty, stop and ask for it — there is nothing to ground a verdict in. Each criterion is one ledger row in Step 3.

Step 3: Dispatch the intent-starved verifier

One Agent, model: opus, reading only the criteria, the diff, and the captured execution-evidence file — not the author's reasoning. Bind its output to the LEDGER schema below and paste that schema verbatim into the brief: a schema forces a determinate answer on every row where prose lets a row go quietly unanswered.

The LEDGER schema

{
  "type": "object",
  "required": ["rows", "coverage", "verdict"],
  "properties": {
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["criterion", "evidence", "verdict", "sequenceMatchesProduction"],
        "properties": {
          "criterion": { "type": "string" },
          "evidence": { "type": "string" },
          "verdict": { "enum": ["PASS", "FAIL", "PARTIAL", "UNVERIFIED"] },
          "sequenceMatchesProduction": { "enum": ["yes", "no", "not-applicable"] }
        }
      }
    },
    "coverage": { "type": "string" },
    "verdict": { "enum": ["pass", "fail"] }
  }
}

evidence is the test name / file:line / observed output drawn from the execution-evidence file, or the literal none. coverage is <#rows with PASS/FAIL evidence> / <total rows>.

Row verdictMeaning
PASSexecution evidence demonstrates the criterion holds
FAILexecution evidence demonstrates it is violated — name the concrete failing input/test
PARTIALcovered for some inputs; a stated edge case is unhandled
UNVERIFIEDno execution exercises this criterion (a coverage gap) — never pass a row because the code "looks right"

sequenceMatchesProduction is required on every row, and that requirement is the entire gain of the schema. Step 3a's check is the one a verifier skips silently when it is only prose, because a green test looks like evidence — a required enum makes "I did not check" unrepresentable.

ValueWhen
yesthe test's operation sequence reproduces the real production call path
nothe test passes over a shorter or rearranged sequence than production uses → the row's verdict becomes UNVERIFIED
not-applicablethe criterion makes no round-trip / determinism / reproducibility / idempotence claim

The overall verdict is pass only when every row is PASS and no row is sequenceMatchesProduction: "no". Any FAIL, any UNVERIFIED, or any sequence divergence makes it fail.

Template:

subagent_type: general-purpose
model: opus
prompt: |
  You verify whether an implementation meets its acceptance criteria, grounded
  in EXECUTION EVIDENCE. Read ONLY these inputs (no other files, no repo
  exploration beyond resolving evidence cited below):
    - Acceptance criteria: <numbered list from Step 2>
    - The change under review: <diff / file paths>
    - Execution evidence (suite/typecheck/lint output): <scratch file path>

  Do NOT read the author's plan, commit narrative, or rationale — grade the
  behaviour, not the intent.

  Emit ONE object conforming to this schema, with one row per criterion:
    <paste the LEDGER schema verbatim>

  For every row, decide `sequenceMatchesProduction` explicitly: identify what
  real call sequence exercises the claim in production and confirm the test
  reproduces that sequence, not just a convenient shorter one.
  Cite evidence for every row. Your final message is the deliverable.

No workflow harness here — deliberately. The schema is the whole delta; agent count stays at one. This skill is the Pillar-1 oracle other loops delegate their stop condition to, so a fan-out design would multiply through every iteration of every loop in the repo — the one place where per-invocation cost compounds rather than adds (.claude/rules/workflow-vs-skill.md).

For several independent targets, dispatch one verifier per target in a single-message parallel Agent batch — except on a [1m] model, where the concurrent-subagent rate-limit caveat applies (skill-fork-context.md); run those sequentially. Do not set context: fork — the caller needs the ledger in the main context to act on it.

Step 3a: Match the test's operation sequence to production

"A passing test exists for this claim" is not sufficient evidence for a round-trip, determinism, reproducibility, or idempotence claim. The test can pass while the design is broken, because a narrower hand-built repro silently avoids the exact ordering that would expose a divergence. The tell is when the test's sequence of operations differs from the real call path production uses.

So for any such claim, add a step to the verifier's brief:

Identify what real call sequence exercises this claim in production, and confirm the test under review reproduces that sequence — not just a convenient shorter one.

Stateful / RNG-dependent code is the high-risk class — lazy initialization, global mutable RNG state, and caching all defer or share observable state, so when an operation runs relative to its neighbours changes the result. A test of the shape construct → forward immediately and a production path of construct → generate batches (consuming lazy RNG) → first forward draw their deferred state at the same relative point in each stream, so the round-trip "works" with no error — while a real trained model's reload diverges. The passing test is real; it just exercises the one ordering that can't see the bug.

Grade such a claim UNVERIFIED until the test reproduces the production sequence, even though a green test exists — that is the row whose sequenceMatchesProduction is no.

Step 4: Triage against over-correction

The verifier grades strictly, so guard both failure modes before acting — neither talk yourself into passing broken code, nor into failing correct code:

Act on itDrop it
A FAIL with a named failing test/inputA FAIL on a requirement the spec never stated
An UNVERIFIED criterion → write/run the missing test, then re-gradeAn UNVERIFIED on behaviour outside the change's responsibility
A PARTIAL where a stated edge case is unhandledStyle/preference dressed up as a criterion failure
A coverage gap on a load-bearing criterionA hypothetical input the contract makes impossible
A round-trip/determinism test whose sequence diverges from production (Step 3a)A sequence difference that provably can't affect the claim's outcome

Step 5: Report and bound the loop

Emit the ledger: target, per-criterion rows with evidence, COVERAGE, and the overall verdict. Apply or hand off the genuine fixes (closing UNVERIFIED rows by adding the missing test counts as a fix). Re-run from Step 1 only if the verdict was fail; do not loop more than twice — a third round means a structural problem the gate can't resolve, which is the signal to surface to a human, not to keep grinding.

Anti-patterns

MistakeCorrect approach
Grading the diff without running anythingExecute first (Step 1) — appearance is not evidence
Passing a criterion because the code "looks like it does that"No execution evidence → UNVERIFIED, not pass
Passing a round-trip/determinism claim because "a test exists and passes"Confirm the test's operation sequence matches the production call path (Step 3a)
Feeding the verifier the author's plan/rationaleIntent-starved inputs — criteria + diff + execution evidence only
Inventing requirements the spec never statedTriage (Step 4) — FAIL only on listed criteria
Looping until the verifier goes quietOne revise round; persistent fail = structural problem

Related

  • adversarial-review — attacks a design for faults; this skill verifies running behaviour against criteria
  • verify-before-plan — verifies premises before work; this verifies outcomes after
  • cold-read-gate — the isolation + triage + bounded-loop pattern this skill reuses (legibility lens; uses haiku)
  • code-quality-plugin:code-review — the first-pass review this layers on top of
  • workflow-orchestration-plugin:workflow-checkpoint-refactor — a loop whose phase gate delegates its independent verdict here
  • .claude/rules/loop-integrity.md — Pillar 1: a loop's stop condition is judged by an independent verifier like this one, not the worker. Keep this literal path in the body: scripts/check-loop-integrity.sh requires the token loop-integrity.md in this file, so a later "tighten the Related section" edit that drops it fails the build.

Frequently asked questions

What to verify before installation and use

What does the execution-grounded-review source document cover?

A normal review reads the diff and asks "does this look right?" — and an implementation can look complete while a criterion silently fails. This skill refuses to grade an implementation on appearance: it runs the suite first, then traces each acceptance criterion to execution ev…

How do I install execution-grounded-review?

The source record exposes this install command: npx skills add https://github.com/laurigates/claude-plugins --skill "agent-patterns-plugin/skills/execution-grounded-review". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: claude code.

Alternatives

Compare before choosing

Computed 1008

narrative-io/narrative-skills-marketplace

design-analysis

Translate a fuzzy analytical question into a rigorous investigation plan. Interrogates the ask, grounds the plan in the available data dictionary, applies analytical best practices, and produces a structured brief of query specifications for a downstream query-writing skill. Plans, does not write SQL. Use when: "why did X drop", "is there a relationship between A and B", "who are our highest-value customers", "what's driving the change in Y", "investigate this trend", "design an analysis for", "

Computed 9980

vasilyu1983/AI-Agents-public

qa-testing-ios

Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.

Computed 973,066

samber/cc-skills-golang

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI, or debugging flaky/slow tests. For testify-specific APIs see `samber/cc-skills-golang@golang-stretchr-testify`; for measurement methodology see `samber/cc-skills-golang@golang-benchm

Computed 973,066

samber/cc-skills-golang

golang-troubleshooting

Troubleshoot Golang programs systematically - find and fix the root cause. Use when encountering bugs, crashes, deadlocks, or unexpected behavior in Go code. Covers debugging methodology, common Go pitfalls, test-driven debugging, pprof setup and capture, Delve debugger, race detection, GODEBUG tracing, and production debugging. Start here for any 'something is wrong' situation. Not for interpreting profiles or benchmarking (→ See `samber/cc-skills-golang@golang-benchmark` skill) or applying opt