Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

execution-grounded-review

БесплатноБез исполняемых скриптовНе проверен

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

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

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 it First-pass review of a diff → code-quality-plugin:code-review
Gating a loop/phase done on an independent check of behaviour Red-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

Move What it means
Execute first Run 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 criterion One ledger row per acceptance criterion: premise → evidence (file:line / test name / observed output) → verdict.
No silent pass A criterion with no execution backing is UNVERIFIED (a coverage gap to surface), not an assumed pass.
Flaws before the verdict The report states its narrative-changing limitations — gaps and caveats that would flip or weaken the verdict — ahead of the verdict, and says none explicitly when there are none (Step 5).
Match the production sequence For 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 verifier The 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 loop One 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):

Stack Suite Typecheck Lint
Node/TS npm test (or npx vitest run) npx tsc --noEmit npx biome check
Python uv run pytest -q uv run ty check uv run ruff check
Rust cargo test cargo check cargo clippy
Go go 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).

When any step exits red, separate new failures from pre-existing ones. Run the same command on the merge-base (git merge-base HEAD origin/<default>, checked out in a throwaway git worktree) and record each failure as new (passes on the base, fails on the head) or pre-existing (fails on both). Only a red run pays for this second run. If the base run cannot be made, record that: the comparison is then missing evidence, never an assumed pass.

Step 2: Name the criter

Полный SKILL.md на GitHub

Установить execution-grounded-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Agent
Read
Glob
Grep
Bash(git diff *)
Bash(git log *)
Bash(git merge-base *)
Bash(git worktree *)
Bash(git rev-parse *)
Bash(gh pr view *)
Bash(npm *)
Bash(npx *)
Bash(uv run *)
Bash(pytest *)
Bash(cargo *)
Bash(go test *)
TodoWrite

Вложенные файлы

REFERENCE.mdevals.jsonreferences/anti-patterns.md

FAQ

Что делает скилл execution-grounded-review?

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

Как установить скилл execution-grounded-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл execution-grounded-review запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить execution-grounded-review с