| name | peer-review |
|---|---|
| description | Run code review using the codex CLI as an independent reviewer. Returns structured findings without applying fixes. Use when the user asks to "peer review", "get a second opinion on my code", "run codex review", "codex peer review", "run codex on my diff", or "review against main". |
AI-powered code review of changes. Delegates to /codex-review by default.
Determine what to review based on context:
- 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.
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.