github-code-review

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the manual overhead of inspecting code changes by helping you review local diffs and GitHub pull requests with a consistent, structured process. It is designed to surface correctness issues, security risks, missing tests, and maintainability concerns before code is merged.

Core Features & Use Cases

  • Local change review: Analyze staged or branch-level diffs before pushing, using git history and file-level context.
  • Pull request review: Inspect PR metadata, changed files, and diffs, then leave general or inline comments through gh or the GitHub REST API.
  • Review workflow guidance: Apply a repeatable checklist for correctness, security, testing, performance, and documentation, then summarize findings in a clear severity-based format.
  • Use case: A developer asks for a pre-push review of a feature branch, and the Skill returns critical issues, warnings, suggestions, and positive notes in a reviewer-friendly layout.

Quick Start

Ask the Skill to review the current branch or a specific GitHub pull request and return a structured code review summary with any blocking issues, suggestions, and what looks good.

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 for security and correctness issues?

To review a GitHub pull request for security and correctness issues, this Skill inspects PR metadata and changed files, applying a structured checklist to surface risks. It then posts general or inline comments through the GitHub REST API or gh.

Can I analyze local branch diffs before pushing to the remote repository?

Yes, you can analyze local branch diffs before pushing. The Skill reviews staged or branch-level changes using git history and file-level context, returning critical issues, warnings, and positive notes in a reviewer-friendly layout.

Do I need the gh CLI or GitHub REST API authentication to post inline comments?

Yes, authenticated GitHub access through gh or the REST API is required to gather diffs and post inline comments. The Skill needs this access to leave formal review feedback and decisions directly on the pull request.

What is the best way to structure code review feedback for maintainability concerns?

The best way to structure code review feedback for maintainability is through a severity-based format. The Skill summarizes findings into critical issues, warnings, suggestions, and positive notes, ensuring a repeatable checklist for correctness and documentation.

Does this code review workflow support testing and performance issue detection?

Yes, this code review workflow supports testing and performance issue detection. It applies a repeatable checklist covering correctness, security, testing, performance, and documentation to evaluate changed files before code is merged.

What are the limitations of using automated diff analysis for pull requests?

Automated diff analysis requires a local git repository and authenticated GitHub access to function. It focuses strictly on changed files and metadata, meaning it may lack broader architectural context outside the current pull request diff.