Agent skill

peer-review-code

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 code", "peer review my code", "get a second opinion on my code", "run codex review", "codex peer review", "run codex on my diff", or "review against main".

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/peer-review-code

SKILL.md

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-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:

bash
codex review "Review the following files for bugs, correctness, and security issues: <file list>"

Capture and return the full review output.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results