Back to dashboard/iteration-review

/iteration-review

Handbook · Skill index · Runtime source

Purpose

Review one implementation iteration or a supplied local MR/PR diff, including security, unsupported claims, ADR impact and specific lessons.

When to use

After a significant implementation slice, before a local MR draft, or when reviewing security/correctness evidence for changed source.

When not to use

Do not use it to research the framework catalog, publish a remote MR, install security scanners automatically or promise zero hallucinations.

Invocation

text
/iteration-review Review the booking overlap fix.

Autocomplete hint: <scope or objective> [criteria] [local base/head]. Required information can be supplied in context; this is not a shell command or a CLI parser. Use plain-language arguments. See argument conventions for notation and permission boundaries.

Minimal example:

text
/iteration-review Review the booking overlap fix.

With optional context:

text
/iteration-review Review the booking overlap fix against its acceptance criteria and local main...HEAD range; include security, ADR impact and regression lessons.

Inputs

InputRequirementIf omitted
scope or objectiveRequiredInspect active task/diff; ask if ambiguous.
acceptance criteriaRequired before approvalRead actual requirements; ask instead of inventing a specification.
local base/headRequired for MR-range reviewUse verified supplied refs; ask if the intended range is unclear.
review idOptionalChoose an unused safe local id; never overwrite another review.

No arguments: Inspect the active task/working changes, then ask for missing scope or acceptance criteria before approval.

Optional inputs are discovered where reliable; recommendations do not become confirmed choices. Conditional requirements must be resolved before their dependent action. Required information is enforced by skill instructions, not by native autocomplete. The detailed procedure is linked directly from SKILL.md.

What it does

  1. Prepare a compact scope/requirements/diff/actual-results review package.
  2. Run the specification pass: requirement-to-implementation/check matrix, observable goals, substantive artifacts and real wiring; identify missing or extra behavior.
  3. Run a separate code-quality/security pass through the existing read-only reviewer; inspect whole-branch interactions for local MR scope.
  4. Check reviewer suggestions technically before applying them; record supported, rejected-with-evidence and unclear feedback.
  5. Run reviewed source-bound gates, audit consequential claims, and assess changed requirements/contracts/ADRs.
  6. Fix/revalidate within two rounds total; propose at most three evidence-backed next-iteration lessons.

The source mapping explains the combined GSD, Superpowers, Spec Kit and OpenSpec inspirations. This is one native Foundry procedure; it does not execute upstream skills or require installing those frameworks. Detailed procedure and an evidence matrix live in .claude/framework/review-pattern.md and the matrix template.

Outputs and ownership

Application-owned docs/project/reviews/<id>.json plus an optional linked <id>.md matrix, ignored .claude/review-evidence.json from executed gates, a local MR draft when requested, and reviewed checklist proposals. No agent instruction or permission changes occur automatically.

Questions and decisions

Ask for missing acceptance criteria, local MR base/target and material trust boundaries. Distinguish vertical versus horizontal delivery from module architecture. Record security exclusions and reasons rather than claiming checks occurred.

Permissions and side effects

Uses normal conversation permissions. The prepare helper previews unless --apply; run previews unless --execute. Execution runs reviewed local argv commands, so it is not read-only. Independent eng-reviewer is read-only. Global installs, credentials, paid services, destructive operations and publication require authorization.

Validation and completion

Use review.py prepare/run/check as documented in the walkthrough. Empty gates, failures, source/config changes, pending evidence and unavailable independent review block completion. Passing the helper means structure checked, not authenticated semantic review. Fingerprints exclude Git-ignored files and review records; receipts are editable, unsigned local evidence.

Failure and recovery

Preserve failing diagnostics. Correct the source/claim, rerun actual checks and re-review changed paths before updating the recorded source. Keep unresolved blockers. After two rounds escalate; do not start an unbounded loop or mark unavailable review completed.

Example

text
/iteration-review Check this local MR for authz, validation and data exposure.
Map behavior claims to actual source/tests, list ADR impact and propose
only checklist changes supported by an observed finding and revalidation.

A combined review can also be requested directly:

text
/iteration-review Review this MR using the combined workflow: check
specification coverage first, then quality/security, verify feedback against
actual code, rerun relevant checks and list ADR impact and regression lessons.

The combination is the default procedure; no extra mode flag is needed.

This prompt is a usage example, not evidence that a live model completed it.

implement-change · architecture-design · eng-reviewer · bootstrap walkthrough

Use the meaningful ADR guide for idempotency, races, delivery/recovery, compatibility and trust decisions. Proposed templates do not authorize a product decision or prove execution.