github-code-review

Automates GitHub pull-request code reviews with gh CLI or REST API workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the code-review process by enabling structured analysis of diffs and efficient inline commenting on GitHub PRs, whether via the gh CLI or REST API.

Core Features & Use Cases

  • Pre-push and PR reviews: diff summaries, file-level context, and comment scaffolding.
  • GitHub integration: gh CLI and REST API workflows for creating reviews and inline comments.
  • Use Case: A maintainer can quickly review a set of changes in a feature branch and publish inline feedback to a PR.

Quick Start

Run the github-code-review skill to fetch the PR changes and generate inline comments for modified files.

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 inline comments on a GitHub PR?

To automate inline comments on a GitHub PR, this skill guides structured diff analysis and uses gh CLI or REST API workflows to generate and publish standardized feedback directly on modified files.

What is the best way to review local git diffs before pushing?

Reviewing local git diffs before pushing is supported through deterministic review steps that analyze file-level context and generate comment scaffolding, enabling structured pre-push code analysis.

Does this code-review skill work with the gh CLI?

Yes, this code-review skill works with the gh CLI, providing integration workflows to fetch PR changes, generate diff summaries, and create inline comments on GitHub repositories.

Can I use REST API workflows to generate PR review summaries?

You can use REST API workflows to generate PR review summaries and create inline comments, applying deterministic review steps and standardized comment formats to improve feedback quality.

When do I need structured diff analysis for pull requests?

Structured diff analysis for pull requests is needed when you want to streamline the code-review process by applying deterministic steps and file-level context to ensure standardized, high-quality inline feedback.