review-gate
Installation
SKILL.md
Review Gate
Recommended invocation: Use $review-gate to review <files, commit, branch, checked-out PR-style target, or current changes>.
Use native /review for a routine or lightweight single-reviewer pass and its interactive Git target picker. Reserve this skill for final pre-PR or pre-merge readiness, high-risk changes, or an explicit request for the stronger two-lane deterministic gate below. If the native surface already selected a review target, reuse it instead of resolving a different scope.
Remain read-only. Do not edit, format, generate, stage, commit, push, post review comments, or open a pull request. A later request to fix findings is a separate execution task.
Read review-contract.md before launching review lanes or assigning priorities.
Resolve the review scope
- Prefer the user's explicit files, commit, base branch, checked-out PR-style target, or review criteria. Review a remote PR only when it is already readable through configured GitHub tooling; otherwise return the access gap as
INCONCLUSIVE. - Otherwise use the target selected by the native review surface.
- Otherwise review all current changes: staged, unstaged, and untracked files. Do not assume ordinary
git diffincludes all three. - Read applicable
AGENTS.md, linked review guidance, requirements, tests, and nearby implementation needed to understand the change. - Record the resolved base and head or the exact file set. State exclusions and unreadable artifacts before reviewing.
- For a Git change review, capture the initial working-tree status. For a file audit outside Git, use canonical selected paths and a parent-held original-target fingerprint as the integrity baseline. Never revert user changes.