OMX
Oh My CodeXv0.14.0

code-review

Dispatch the code-reviewer agent for a comprehensive review covering correctness, API contracts, and backward compatibility.

code-review is a dispatch shortcut that routes your changed code to a dedicated code-reviewer agent. Rather than a surface-level style check, the reviewer examines logic correctness, API contract adherence, backward compatibility, and maintainability — the concerns that matter most before merging.

Purpose

A focused review pass catches issues that self-review misses: edge cases, implicit coupling, contract violations, and patterns that will cause maintenance pain later. code-review delegates to an opus-tier agent with a structured checklist so you get a consistent, high-signal review every time.

How to invoke

Natural language triggers: "review code", "code review", "review my changes", "review this PR".

Explicit slash: $code-review

codex
> review code — I just finished the payment module refactor
codex
> code-review the changes in src/auth/ before I open the PR

What it does

  • Identifies the set of changed files (staged, branch diff, or a specified path)
  • Applies a structured checklist: logic correctness, edge cases, API contracts, backward compatibility, error handling, and maintainability
  • Reports findings organised by severity: blocking issues, important suggestions, and minor notes
  • Does not make automatic edits — findings are reported for you to act on
  • Can be followed by $ai-slop-cleaner for a deletion pass on any noise the review surfaces

Outputs

  • Structured review report with findings grouped by severity
  • Specific file and line references for each finding
  • Recommended actions for blocking and important issues
  • $review — composite router that adds quality and security passes alongside code review
  • $security-review — dedicated OWASP and authn/authz sweep
  • $ai-slop-cleaner — deletion pass to clean noise that the review surfaces

On this page