code-reviewer
Professional code reviews for local changes and remote Pull Requests with structured feedback
## Overview
Reviews code changes for both local development and remote Pull Requests. Focuses on correctness, maintainability, readability, efficiency, security, edge cases, and testability. Returns actionable feedback as summary, findings, and a clear recommendation.
## How it works
For remote PRs, checks out the PR via GitHub CLI, runs the project preflight suite, and reads the PR description for context. For local changes, inspects the working tree and staged diffs. Analyzes changes against core review pillars and returns a structured report.
## When to use
Review a remote Pull Request by number or URL. Review local staged or unstaged changes before committing. Get a focused audit for correctness, security, or performance concerns. Validate that tests and edge-case handling are sufficient.
## Best practices
Provide the PR number or URL to target a remote review. Run the project test suite when reviewing substantial changes. Share project-specific style or architecture guidelines up front. Limit reviews to a single concern set per run for clarity.