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".
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-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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?