code-reviewer

Review local diffs and GitHub pull requests for code quality issues.

17|2|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/DavidLiuXh/jarvis-personal-ai --skill code-reviewer-davidliuxh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-reviewer
Source: https://github.com/DavidLiuXh/jarvis-personal-ai/tree/main/.gemini/skills/code-reviewer
Command: npx skills add https://github.com/DavidLiuXh/jarvis-personal-ai --skill code-reviewer-davidliuxh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you catch bugs, security risks, and maintainability issues early by providing consistent, thorough code reviews for both local changes and remote pull requests.

Core Features & Use Cases

  • Remote PR review: Reviews code changes from a specified Pull Request by number or URL, including reading the PR description and existing comments.
  • Local change review: Reviews staged and unstaged diffs from your current working tree when no PR is specified.
  • Quality-focused review pillars: Evaluates correctness, maintainability, readability, efficiency, security, edge cases/error handling, and testability, then returns actionable feedback with an approval or request-changes recommendation.
  • Optional preflight: Suggests running the project verification suite (npm run preflight) for substantial changes.

Quick Start

Tell the agent: "Review my current changes and summarize critical issues and recommended fixes."

Frequently Asked Questions about code-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a code review for my local git diff before pushing changes?

To get a code review for local changes, the Skill checks your git status and staged or unstaged git diff, then outputs structured findings covering correctness, security, and maintainability with a clear approval or request-changes decision.

Can I review remote GitHub pull requests by PR number or URL?

Yes, you can review remote GitHub pull requests by specifying the PR number or URL. The Skill uses gh pr checkout to fetch the changes and reads the PR description and existing comments to provide contextual feedback.

What aspects of code quality are evaluated during a pull request review?

A pull request review evaluates correctness, maintainability, readability, efficiency, security, error handling, edge cases, and test coverage, returning actionable feedback with a final approval or request-changes recommendation.

Does the code reviewer run project tests and preflight checks on substantial changes?

Yes, for substantial changes, the code reviewer suggests running the project verification suite using npm run preflight to ensure your code passes local tests and linting before finalizing the approval decision.

Do I need GitHub CLI installed to review remote pull requests?

Yes, reviewing remote pull requests requires the GitHub CLI installed, as the Skill relies on gh pr checkout and related commands to fetch PR metadata, descriptions, and code diffs for evaluation.