code-reviewer

Reviews local git changes and remote GitHub pull requests for correctness and maintainability.

Updated May 23, 2026
One-click install
npx skills add https://github.com/kiranimmadi2/promptforge-ai --skill code-reviewer-kiranimmadi2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-reviewer
Source: https://github.com/kiranimmadi2/promptforge-ai/tree/main/gemini-cli/.gemini/skills/code-reviewer
Command: npx skills add https://github.com/kiranimmadi2/promptforge-ai --skill code-reviewer-kiranimmadi2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Conducting thorough, consistent code reviews is time-consuming, and reviewers often miss issues around security, edge cases, or test coverage. This Skill provides a structured review workflow for both local changes and remote Pull Requests, ensuring every review follows the same quality pillars. ## Core Features & Use Cases - Dual Review Targets: Review local staged/unstaged changes via git diff, or remote Pull Requests by number or URL using the GitHub CLI. - Structured Analysis Pillars: Evaluates correctness, maintainability, readability, efficiency, security, edge cases, and testability. - Standardized Feedback Format: Delivers findings organized as Critical issues, Improvements, and Nitpicks, ending with a clear Approved or Request Changes recommendation. - Use Case: A teammate asks you to review PR #123. The Skill checks out the PR with gh pr checkout, runs the project's preflight suite, analyzes the diff, and produces a structured review with actionable feedback. ## Quick Start Review my current uncommitted changes and give me structured feedback on correctness, security, and test coverage.

Frequently Asked Questions about code-reviewer

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

FAQPage Schema
How do I review a GitHub pull request with an AI assistant?

Provide the PR number or URL, and the Skill checks out the branch using `gh pr checkout`, runs the project's preflight suite, reads the PR description and comments, then analyzes the diff across correctness, security, and testability pillars before delivering structured feedback.

How to review local uncommitted git changes before pushing?

Ask to review your changes without mentioning a PR. The Skill inspects `git status`, `git diff`, and `git diff --staged` to analyze working tree and staged changes, optionally running the preflight suite for substantial modifications.

What does an automated code review check for?

The review covers correctness, maintainability, readability, efficiency, security vulnerabilities, edge case and error handling, and test coverage. Findings are categorized as Critical issues, Improvements, or Nitpicks with a final approval recommendation.

Does this code review require the GitHub CLI?

The GitHub CLI (`gh`) is required only for reviewing remote Pull Requests, where it handles checkout. Local change reviews rely solely on standard git commands like status and diff, so no additional tooling is needed.

When should I run preflight checks during a code review?

For remote PRs, preflight runs automatically after checkout to catch automated failures early. For local changes, it is optional and recommended only when the changes are substantial, with the Skill asking for your confirmation first.