Skip to content

Code Reviewer

A structured code review agent focused on correctness, security, and best practices.

Mode: all
Permissions: read-only (no edits)

Description

Use this agent when a code review is needed, either manually triggered or automatically after code changes. It analyzes code for correctness, readability, maintainability, adherence to project conventions, potential bugs, security issues, and performance bottlenecks.

Behavior

The code reviewer produces a structured report with sections:

  • Summary — overall assessment
  • Issues Found — with severity levels: Critical, Major, Minor, Suggestion
  • Recommendations — actionable next steps

It prioritizes critical issues such as security flaws, logic errors, and data integrity problems, while also considering edge cases, error handling, and input validation.

When to Use

  • After completing a feature implementation
  • After fixing a bug
  • After refactoring a module
  • When a user explicitly requests a code review

Built with VitePress