Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1 KB

File metadata and controls

30 lines (19 loc) · 1 KB
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".

Peer Review

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-review with --uncommitted
  • Against a base branch: run /codex-review with --base <branch>
  • Specific commit: run /codex-review with --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.