/agentic-workflow:review-change <path-or-glob> [--adversarial N] [--synthesize]from agentic-workflow
Reviews code changes using configurable internal axes, classifies findings, persists fix-now work, and returns an evidence-backed decision. Supports adversarial review with isolated reviewers and synthesis of supplied tables.
Ships in agentic-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Runner commands below are
runner <subcommand> [args…]— the launcher, its order and the pin are owned by references/RUNNER.md: read it before the first command, then keep it for the whole unit — nowhere else spells either.
Quality gate: run every applicable review and skip the rest, then synthesize and classify one report. Findings only; never edit or refactor.
Load and verify the canonical Turn contract (11 boxes) before ending every turn. Skill-specific additions (receipt closeout, isolation rule, applicability) live here and in REVIEW_PROCESS.md. Missing reference → STOP.
For a final PR review, the turn is incomplete until this additional box passes:
✓ Decision: REVIEW-PASS + PR exists →
`runner review-receipt emit --pr <N> --head "$(git rev-parse HEAD)" …`
RUN and exited 0 — the script posts the SHA-bound comment, re-reads the PR
comments, and exits non-zero unless the newest exact-HEAD
`review-change:pass` marker is confirmed, so its exit code IS this box
✓ Decision: REVIEW-FAIL | NEEDS-DECISION + PR exists →
the non-pass emitter (*Persist and decide* step 12) RUN and exited 0 — its
typed `review-change:fail` / `review-change:needs-decision` marker landed
at the head (a trace, never currency), so its exit code IS this box
When the receipt emitter runs, it also records the affecting-path scope
manifest (fix/286) so a foreign-only commit after the review (a session-log or
toolstate commit on a shared checkout) does not void the receipt at the merge
gate — pass --scope-base main (the unit's base ref) and the runtime derives
the manifest itself; never hand-assemble a digest. A receipt without a scope
manifest stays head-bound (legacy semantics).
The receipt closeout is a precondition of the report, not a follow-up: do not
print the fixed report block on a non-zero exit. A clean report without a
current receipt must not recommend /audit-pr.
For REVIEW-FAIL or NEEDS-DECISION, list every open finding ID in the closing
recommendation, joined with +; the review must never hand off only the first
finding.
On REVIEW-FAIL or NEEDS-DECISION, this skill ends at the report: it
never invokes /fold-findings, /execute-phase, /unit-lane or
/triage-issue — those are separate user-initiated invocations,
run in a fresh turn (a programmatic outer driver may compose the same
sequence in-turn, per REVIEW_PROCESS.md). The review's only mutations are the
ledger commit (persist step 11) and, on any verdict with a PR, the receipt
comment (persist step 12 — the pass receipt or a non-pass verdict's typed
trace); it never folds a finding, executes a phase,
or edits code. A REVIEW-FAIL/NEEDS-DECISION turn closes when the report
block is printed (report step 13).
Consume the internal verification contract;
the reviewer checks the same frozen acceptance artifact (legacy (pre-feature 61) ACCEPTANCE.md
or post-feature-61 unit doc ## Acceptance criteria) as the executor before
mapping candidate evidence.
execute-phase may
also recommend optional checkpoints at layer boundary, accumulation or
sensitivity (#77).Default target is the current change (branch diff vs the default branch); accept a path/glob to widen or narrow. State the scope at the top of the report.
When the reviewed change belongs to a unit document, its per-phase
Relevant files: lists are the review's read set around the diff: resolve
the union with runner relevant-files <unit-doc> --phase all and read
those files, bounded, instead of surveying the repository. Git still owns the
review scope — the diff decides what is in it, the lists decide what is read to
judge it, and the sub-section is metadata owned by phase-contract (a file
missing from the lists is never out of scope).
The workflow's job is to demonstrate that what works, works — and works well: programmatically, engineering-wise, decision-wise, and against user expectation. This review exists to try to dismantle that claim; if it survives the attempt, that survival is the review outcome. So:
review-change finding: a feature is not complete while it has one. The
reward is not delivery, it is meeting the acceptance criteria, adequate
engineering without over-engineering, meeting other features' requirements
(a page that needs auth verifies the session and the permission; a change to
another table that a requirement depends on stays in scope even if it “looks”
out of scope), and above all the user's expectation.skills/unit-lane/references/DESIGN.md
(ask-dont-infer@1) — to every expectation the change is judged against;
the rule is owned there, never restated here.product-audit, where the sweep is scoped and budgeted; this review stays on
the change at hand.Per Workflow conventions + documentation map, decide axes from:
docs/frontend/), web/mobile/CLI/library/backend,
and optional recorded platform skills (extras only).runner doc --query "<change topic>" --json-only may surface earlier findings, decisions and session-log entries
on the same surface before the passes run. A missing index, an absent entry
point, or an empty answer changes nothing — grep stays the exhaustive
fallback, and the index is never a decision authority.Every axis maps to a skill of the workflow's own internal review pack
(skills/review-* — installed with the workflow, so none can be missing):
| Axis — internal pack skill | Web | Mobile | Console/CLI | Lib/SDK | Backend/Infra |
|---|---|---|---|---|---|
review-code (correctness, simplification, dead code, duplication, arch) | ✓ | ✓ | ✓ | ✓ | ✓ |
review-security | ✓ | ✓ | ✓ | ✓ | ✓ |
review-verify (run it, confirm real behavior, tests) | ✓ | ✓ | ✓ | ✓ | ✓ |
review-design (UI/UX) | ✓ | ✓ | TUI only | ✗ | ✗ |
review-a11y | ✓ | ✓ | rare | ✗ | ✗ |
review-brand (voice/copy) | ✓ | ✓ | output text | ✗ | ✗ |
review-perf | ✓ | ✓ | ✓ | ✓ | ✓ |
review-seo | ✓ | ✗ | ✗ | ✗ | ✗ |
| API ergonomics / usage docs (inline pass) | if API | if API | flags/help | ✓✓ | ✓ |
review-implementation(the single classifier over the synthesized table — process step 8) andreview-debt(the debt transform over the classified table — process step 9) are not axis finders: they run once per review, not per axis.
Each applicable pass, the verification pass (step 6), the classifier (step 8), and debt transform (step 9) runs
isolated/context-clean and returns only its fixed findings table plus
PASS | FAIL—never diff or prose. Spawn one fresh subagent/headless run per
pass; without those, use a fresh conversation. Pass only scope, its checklist,
and Step 0 docs; cap full non-diff reads at 10 (targeted ≤50-line reads/greps
excluded). The orchestrator retains tables, not sources, and fuses them in step
7. Inline fallback is sequential table reduction. A pass never runs weaker than
the author — the review-authority rule is
ORCHESTRATE.md's and this section
cites it.
Pass model routing (issue #201). Resolve every pass's model before
spawning from the operator's approved table, not the session model:
runner resolve-passes (the resolve-passes@1 receipt) → launch
each pass with its row's pinned model and record the row's source in the
pass record. spawn: "auto" = the operator delegated the choice (record the
tier justification in the report); spawn: "inline" — or a pinned model
unresolvable at spawn time — runs inline at the orchestrator's model. That
degrade is the orchestrator contract's (owner:
ORCHESTRATE.md § Degrade inline,
stated), cited here with the reviewer-pass note that a review pass records it
in its own report, never silently.
After applicability and isolation are established:
The reference allowlist is exactly the seven linked paths below. Never invent or
read another references/ path.
| Invocation route | LOAD in this order | SKIP |
|---|---|---|
| Default review | review process → adversarial recommendation → persist and decide → output and guardrails | synthesis, portability, adversarial setup |
--adversarial N | review process → adversarial setup before reviewers → adversarial synthesis before fusion → persist/decide → output/guardrails | portability |
--synthesize | review process → adversarial synthesis plus the supplied reviewer tables → persist/decide → output/guardrails | adversarial setup, portability |
legacy --merge | print the fixed migration refusal below and stop — zero git/forge mutation | everything |
Legacy --merge is removed — not an alias. Calling /review-change --merge prints this fixed migration refusal and stops before any git or forge mutation command runs:
migration: --merge is removed. Table fusion is --synthesize: pass the fixed
reviewer tables the same way and the synthesis contract fuses them. No
repository merge is performed by this skill.
Active review paths use only --synthesize/fusion language. Add
portability only when contexts, parallelism, slash
commands or tier controls are unavailable. docs/workflow/REPOSITORY_STATE.md
is evidence for output/guardrails, not a skill reference; that route owns NRS and
Architectural invariants rules.
Resources are one hop from this file. Fixed reviewer/synthesis/output contracts are literal. Missing required resource → stop; never approximate a review contract.
After cycle 1, a new finding is admissible only when grounded in:
A finding without changed-bytes grounding is a report-note, never fix-now.
This is narrower and stronger than the delta-mode "genuinely new" admission:
it bounds what a reviewer may invent at all, not only where it may re-report.
The classifier routes fix-now (delete) for genuine findings; report-notes
route to SUGGESTION severity with impact report-only and do not block.
Keep reviewer contexts isolated. Use portability for sequential/headless fallbacks; never collapse independent adversarial passes.
Orchestrates internal finders (review-code, review-security, review-verify,
review-design, review-a11y, review-brand, review-perf, review-seo), then
one review-implementation classifier and review-debt transform, isolated by
default; installed platform packs are optional. triage-issue is user-invoked,
never auto-run (D3), for independent proposals, audit findings, and
--prioritize-now runs. It is Stage 4: checkpoint reviews are
optional, the end review is mandatory and fresh. fix-now is routed to the
unit's fold cycle — a separate /fold-findings invocation, never run by this review;
replan-in-unit adds user-confirmed phases, and independent work becomes
proposals. audit-pr consumes
only the verified PR-comment receipt, never the
chat report; product-audit is the measured-trigger sweep. On REVIEW-FAIL the manual
correction path is /fold-findings, then re-run /review-change on the changed
HEAD (bounded at two cycles — a third cycle never starts without an explicit
user instruction, per REVIEW_PROCESS.md); a programmatic outer driver may run
the same review→fold sequence.
→ Next: block (clean → /audit-pr; recurring drift → /product-audit) and
change no code.references/ADVERSARIAL_RECOMMENDATION.md (opens in a new tab)references/ADVERSARIAL_SETUP.md (opens in a new tab)references/ADVERSARIAL_SYNTHESIS.md (opens in a new tab)references/OUTPUT_AND_GUARDRAILS.md (opens in a new tab)references/PERSIST_AND_DECIDE.md (opens in a new tab)references/PORTABILITY.md (opens in a new tab)references/REVIEW_PROCESS.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gtrabanco/agentic-workflow --plugin agentic-workflow33 skills in this plugin
/agentic-workflow-doctorUser-initiated batch ceremony-failure triage: mine this project's own journal and unit docs for its accumulated ceremony failures, apply a fixed discard/report rubric, render one anonymized bundle, and route it upstream to an existing or new agentic-workflow issue — with consent. Read-only; the user starts it. Triggers: "agentic-workflow-doctor", "aw-doctor", "why do my reviews keep blocking", "triage my ceremony failures", "report a workflow bug upstream".
/audit-docsAudit cross-document coherence: docs ↔ READMEs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index entries already merged/closed, broken documentation-map links, dependency cycles, artifacts in the wrong language, naming-convention violations, project-charter coverage — and reports them ranked by severity, fixing only low-risk items on request. Model-agnostic: the skill inherits whatever model and effort your agent session is already using. Triggers: "check doc consistency", "are the docs in sync", "audit the docs", "doc coherence review", "did the docs drift", "validate the roadmap".
/audit-prAudit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".
Other plugins' skills for the same job