github-code-review

Analyze git diffs and generate inline PR comments via gh CLI or GitHub REST API.

174|23|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/RedWoodOG/Hermes-Desktop --skill github-code-review-redwoodog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/RedWoodOG/Hermes-Desktop/tree/main/skills/github/github-code-review
Command: npx skills add https://github.com/RedWoodOG/Hermes-Desktop --skill github-code-review-redwoodog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviewing code changes and comments on PRs is time-consuming and error-prone when done manually. This Skill automates local pre-push checks and PR feedback by inspecting diffs and generating structured inline comments, helping maintain code quality.

Core Features & Use Cases

  • Analyze git diffs to surface meaningful changes and potential issues.
  • Leave inline comments on PRs via gh CLI or GitHub REST API for collaborative reviews.
  • Support pre-push reviews to catch issues before pushing, reducing failed CI runs.
  • Produce a concise review summary to share with teammates.

Quick Start

Review the current repository's changes and generate inline comments for diffs.

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 GitHub pull requests?

Automate code reviews by analyzing git diffs to generate structured inline comments on pull requests. This Skill uses gh CLI or GitHub REST API via curl to apply pre-push local checks and PR reviews, producing concise review summaries.

Can I check my code diff locally before pushing to GitHub?

Yes, you can run pre-push reviews to inspect your local git diff before pushing. Analyzing repository changes locally catches potential issues early, reducing failed CI runs and generating feedback before committing to a remote branch.

How does automated inline commenting work for pull requests?

Automated inline commenting works by inspecting git diffs to surface meaningful changes and then leaving comments directly on PRs. It interfaces with GitHub via gh CLI or REST API to provide collaborative, structured review feedback.

Do I need the gh CLI to run automated PR reviews?

You do not strictly need the gh CLI, as the Skill supports automated PR reviews using GitHub REST API via curl. However, having gh CLI installed provides an alternative method to interact with GitHub repositories and leave inline comments.

What is the best way to review repository changes and share feedback with teammates?

The best way to review repository changes is to analyze diffs automatically and generate a concise review summary. This approach produces structured inline comments on pull requests to share meaningful feedback and potential issues with teammates.

Are there limitations to using automated diff analysis for code reviews?

Automated diff analysis focuses on inspecting repository changes to surface potential issues and generate structured comments. It requires configured policies for review reporting and relies on git diffs, meaning it reviews changes rather than the full repository context.