OMX
Oh My CodeXv0.18.9

$code-review

A code review wrapper skill that calls the code-reviewer agent

Invoke with $code-review.

A thin wrapper around the code-reviewer agent. Use it when a piece of code is finished and needs a proper going-over. It covers the things easy to miss by eye: API contracts, backward compatibility, logic defects, and security vulnerabilities.

When to use

  • When reviewing finished code before opening a PR
  • When checking code generated by $ralph or $autopilot
  • When you need quality feedback on specific files or changes
  • When you need to verify backward compatibility or API contract adherence

When to avoid

  • If the focus is security vulnerabilities only → $security-review is more appropriate
  • If the goal is fixing build errors → $build-fix
  • Avoid running it on code still in progress — it's more efficient after implementation is done

Commands

$code-review
$code-review "review the auth module changes"
$code-review --scope src/api
$code-review --pr 123

Review scope

AreaWhat it checks
Logic defectsWrong conditions, missing edge cases
API contractsInput/output types, error handling
Backward compatibilityChanges that affect existing callers
MaintainabilityDuplication, unnecessary complexity
SecurityObvious vulnerabilities (deep security → $security-review)

On this page