OMX
Oh My CodeXv0.14.0

quality-reviewer

Maintainability and logic review agent that catches defects, anti-patterns, and SOLID violations before they reach production.

The quality-reviewer agent focuses on logic correctness, error handling completeness, anti-pattern detection, and SOLID principle compliance. It reads the full file context around changes — not just the diff — to understand intent before forming an opinion. Positive observations are included alongside problems to reinforce good patterns, and findings are severity-rated so that critical logic defects are clearly separated from minor code smells.

Role

  • Verify logic correctness: loop bounds, null handling, control flow, and data flow across all changed code
  • Assess error handling: happy path and error paths, resource cleanup, and error propagation
  • Identify anti-patterns (God Object, magic numbers, copy-paste, shotgun surgery) with specific file:line references
  • Evaluate SOLID principles and flag violations with concrete improvement suggestions

When invoked

  • By $review when a post-implementation quality gate is needed
  • After a major refactor to confirm that restructuring has not introduced logic regressions
  • When a code-reviewer pass notes maintainability concerns that warrant a dedicated quality inspection
  • During a ralph loop when an executor's output passes tests but has structural concerns

Inputs

  • Full file context for all changed files, not just the diff
  • LSP diagnostics and ast_grep_search results for structural pattern detection
  • Any existing tests to understand intended behavior

Outputs

  • A quality review report with an overall rating (EXCELLENT / GOOD / NEEDS WORK / POOR), per-dimension status for logic, error handling, design, and maintainability, severity-rated findings with file:line references, and positive observations
  • Ranked recommendations with impact estimates

Limits

  • Does not comment on formatting or naming style — that belongs to style-reviewer
  • Does not perform security audits or performance profiling — those have dedicated reviewers
  • Does not block on MEDIUM or LOW findings; documents them without stopping the workflow

On this page