github-code-review

Analyze git diffs and PRs to provide code reviews with inline comments.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/gqf2008/hermez-ai --skill github-code-review-gqf2008
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/gqf2008/hermez-ai/tree/main/skills/github/github-code-review
Command: npx skills add https://github.com/gqf2008/hermez-ai --skill github-code-review-gqf2008

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews of code changes by analyzing git diffs, leaving inline comments, and guiding pre-push checks to improve code quality.

Core Features & Use Cases

  • Structured diff analysis, per-file feedback, and PR-level summaries to streamline reviews.
  • Local pre-push review workflow and GitHub PR integration using gh or curl-based APIs.
  • Use case: Before merging, automatically surface potential issues, security concerns, and style inconsistencies.

Quick Start

Ask the agent to review the latest diffs and generate inline comments for a pull request.

Frequently Asked Questions about github-code-review

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

FAQPage Schema
How do I automate code reviews on a GitHub pull request?▼

To automate GitHub pull request code reviews, you can analyze git diffs using the gh CLI or curl-based APIs to gather PR context and generate structured inline comments. This workflow surfaces potential issues, security concerns, and style inconsistencies directly on the pull request before merging.

Can I get inline comments on my code diffs before pushing to a remote repository?▼

Yes, you can get inline comments on code diffs before pushing by running a local pre-push review workflow. This process analyzes your local git diff to provide per-file feedback and structured review outputs, ensuring code quality checks pass before the remote push.

What is the best way to structure PR-level summaries from git diffs?▼

The best way to structure PR-level summaries from git diffs is to perform structured diff analysis that generates both per-file inline feedback and a comprehensive PR-level summary. This approach streamlines reviews by automatically surfacing potential issues and style inconsistencies across all changed files.

Does this GitHub PR review workflow require the gh CLI to function?▼

No, the GitHub PR review workflow does not strictly require the gh CLI to function. While it supports gh CLI for PR data gathering, it also fully supports curl-based API access as an alternative, ensuring reproducible workflows and automated checks across different environments.

How do I run automated checks for security concerns and style inconsistencies on a PR?▼

To run automated checks for security concerns and style inconsistencies on a PR, analyze the git diff and PR context to generate structured review outputs. This process automatically surfaces potential issues and provides inline feedback to guide pre-push checks before merging.