github-code-review

Automate GitHub code reviews with inline comments and pull request analysis.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, git, curl, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of efficiently reviewing code on GitHub, providing a streamlined way to offer feedback through inline comments and analyzing pull requests.

Core Features & Use Cases

  • Code Review Automation: Automate the process of reviewing local changes and pull requests before they are merged.
  • Pull Request Analysis: Gather PR metadata, review diffs, and check out PRs locally for a comprehensive review.
  • Inline Comments: Leave detailed feedback directly on code changes for more precise communication.
  • Use Case: Imagine you are part of a development team. Use this Skill to review a pull request, check out the changes locally, and provide inline comments with specific suggestions for improvements.

Quick Start

Review the code in the local branch and use the 'gh pr review' command to leave comments and provide a formal review on GitHub.

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 GitHub pull request analysis and leave inline comments?

To automate GitHub pull request analysis and leave inline comments, this Skill gathers PR metadata, reviews local diffs, and executes 'gh pr review' to submit structured feedback directly on GitHub.

How do I review local git changes before pushing a pull request?

Review local git changes before a pull request by checking out the branch locally, analyzing the generated diff, and preparing structured inline comments to ensure code quality prior to merging.

Do I need GitHub authentication to automate code reviews with gh?

Yes, GitHub authentication is required to automate code reviews using the gh command, git, and the GitHub API for fetching pull request metadata and submitting inline comments.

What is the best way to provide structured feedback on a pull request?

The best way to provide structured feedback on a pull request is using inline comments directly on code changes, which offers precise communication and specific suggestions for improvements.

Can I check out a pull request locally for a comprehensive code review?

Yes, you can check out a pull request locally to perform a comprehensive code review, allowing you to analyze the exact code changes and test the modifications before providing feedback.

What dependencies are required to streamline GitHub code reviews?

Streamlining GitHub code reviews requires installing gh, git, curl, and python3 to interact with the GitHub API, handle local repository changes, and automate the feedback process.