codex-code-review
Installation
SKILL.md
Codex Code Review
Recommended invocation: Use $codex-code-review to review <files, commit, branch, checked-out PR-style target, or current changes>.
Use native /review for a standard single-reviewer pass or its interactive Git target picker. Use this skill when the user wants the stronger two-lane review and deterministic merge 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 captured bytes as the integrity baseline. Never revert user changes.