github-code-review

Review GitHub pull requests and local git diffs with structured feedback.

Updated May 26, 2026
One-click install
npx skills add https://github.com/ruiyangruiyi/hermes-agent --skill github-code-review-ruiyangruiyi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/ruiyangruiyi/hermes-agent/tree/main/skills/github/github-code-review
Command: npx skills add https://github.com/ruiyangruiyi/hermes-agent --skill github-code-review-ruiyangruiyi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you quickly assess code changes in Git repositories and GitHub pull requests, turning raw diffs into structured, security- and quality-focused review notes.

Core Features & Use Cases

  • Local pre-push reviews: Analyze staged changes or diffs versus a base branch (for example, main) using git and provide findings using a clear severity structure.
  • GitHub PR reviews: Retrieve PR metadata and diffs, check out PR branches locally, and submit both summary review comments and inline review comments using gh or the GitHub REST API.
  • Review workflow support: Follow an end-to-end process (gather context → understand diff → run checks when applicable → apply a correctness/security/testing checklist → post results).

Quick Start

Ask Hermes Agent to review PR 123 on GitHub and leave an approve or request-changes style summary with inline comments where needed.

Frequently Asked Questions about github-code-review

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

FAQPage Schema
How do I review a GitHub pull request with structured inline comments?

To review a GitHub pull request, retrieve PR metadata and diffs via gh CLI or REST API, analyze changes against correctness and security checklists, then submit summary review comments and inline review comments directly to the PR.

Can I check my local git diff for security issues before pushing to a remote repository?

Yes, you can review local git diffs against a base branch like main to assess staged changes, applying a correctness, security, and testing checklist to produce structured severity-based findings before pushing.

What is the best way to automate code quality checks on a git diff?

Automating code quality checks on a git diff involves gathering repository context, understanding the diff, running applicable checks, and applying a security checklist to generate actionable structured feedback.

Do I need GitHub authentication to review pull requests with this workflow?

Yes, GitHub authentication is required to inspect pull requests and submit review results, utilizing either the gh CLI or the GitHub REST API for PR inspection and automated review commenting.

How does the pull request review process handle large diffs and code changes?

The review process handles large diffs by first gathering context and understanding the changes, then systematically applying correctness, security, quality, and testing checklists to produce structured feedback notes.

What limitations exist when checking out GitHub PR branches locally for code review?

Local PR branch review requires a local git repository context and GitHub authentication, supporting pre-push change reviews and GitHub PR workflows using gh CLI or REST API for inspection and review submission.