Skill v1.0.0
currentAutomated scan100/100version: "1.0.0" name: contract-review description: Own the review method for a diff, plan, or boundary against intent, repository standards, safety, blast radius, and verification. Use for code review or pre-ship judgment; prime-delegate is only the optional independent-panel mechanism. license: MIT
Contract Review
Review the actual artifact against a fixed intent and evidence. Findings come first; praise and summaries do not hide defects.
Freeze the review package
- Identify the exact artifact or Git fixed point (
merge-base, commit, branch, files, plan version). - Load the originating request/spec/slice acceptance criteria.
- Load repo guidance, domain docs, and the checks that define local standards.
- Record already-run verification and known gaps.
If intent is missing, say so. Do not invent requirements to create findings.
Review axes
1. Spec and behavior
- Does every acceptance criterion exist in behavior?
- Are non-goals respected?
- Do edge/failure states preserve the intended contract?
- Is there gold-plating or silent scope loss?
2. Repository standards and design
- Does the change match local patterns and domain language?
- Are types, ownership, boundaries, and interfaces coherent?
- Does it add duplication, shallow wrappers, speculative abstraction, or reader load?
- Are tests coupled to behavior rather than internals?
3. Safety and blast radius
Inspect when relevant:
- trust/permission/auth boundaries;
- persisted data and migrations;
- retries, idempotency, concurrency, and shared state;
- external/dynamic callers and compatibility;
- secrets, destructive actions, rollback, and operational failure;
- user-visible and accessibility states.
4. Proof
- Can the claimed behavior be reproduced on the real surface?
- Do tests fail for the right reason without the change?
- Which one load-bearing fact proves the change is safe?
- What important surface remains unverified?
Prime review panel
For a consequential change, read prime-delegate and spawn read-only reviewers with independent lenses: spec-reviewer, standards-reviewer, and, when relevant, safety-reviewer or proof-reviewer.
Give them the same immutable artifact and intent. Require each finding to include:
- severity:
critical,high,medium, orlow; - exact location;
- violated contract;
- concrete failure mode;
- evidence or reproduction;
- smallest credible remedy.
The parent deduplicates and verifies findings. Categorize each as act, consider, noted, or dismissed, with rationale. Reviewer consensus is not proof and does not authorize edits.
Guardrails
- Read-only review does not mutate the artifact.
- No style finding without a repository rule or concrete maintenance cost.
- No severity without a plausible impact path.
- No raw concatenation of child reports.
- No “looks good” verdict when verification gaps remain unnamed.
- No merge, deploy, publish, or external message unless the user explicitly requested it.
Output
- Severity-ordered accepted findings.
- Dismissed/disputed findings with rationale when a panel was used.
- Spec coverage and scope drift.
- Verification performed and gaps.
- Residual risk.
- Verdict:
blocked,changes requested,acceptable with risk, orverified.