Peer Review Code
AI-powered code review of changes. Delegates to /codex-review by default.
Usage
Determine what to review based on context:
Diff Mode
- Uncommitted changes: run
/codex-reviewwith--uncommitted - Against a base branch: run
/codex-reviewwith--base <branch> - Specific commit: run
/codex-reviewwith--commit <sha>
Pass --title when reviewing a feature branch or PR to give the reviewer context.
File Scope Mode
When a file list or directory is provided instead of a diff:
codex review "Review the following files for bugs, correctness, and security issues: <file list>"
Capture and return the full review output.