github-code-review

Automate GitHub pull request reviews with structured comments via the GitHub API.

9|3|Updated May 18, 2026
One-click install
npx skills add https://github.com/jordanhubbard/mac --skill github-code-review-jordanhubbard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/jordanhubbard/mac/tree/main/src/mac/_hermes/skills/github/github-code-review
Command: npx skills add https://github.com/jordanhubbard/mac --skill github-code-review-jordanhubbard

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of code reviews on GitHub, automating tasks such as local code review, checking PR details, leaving comments, and performing formal reviews.

Core Features & Use Cases

  • Local Code Review: Review local changes before pushing to the remote repository.
  • PR Details and Review: Fetch and view PR details, list changed files, and leave comments on PRs.
  • Inline Review Comments: Add detailed comments on specific lines of code within a PR.
  • Formal Review Submission: Submit a formal review with inline comments to GitHub.
  • Use Case: As a developer, you can use this Skill to quickly perform code reviews and leave structured feedback on pull requests without navigating the GitHub interface.

Quick Start

To perform a code review, run the github-code-review skill review-pr <PR_NUMBER> command.

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 code reviews from the command line?

Automate GitHub pull request code reviews by running the review-pr command with a PR number, which fetches PR details and submits structured formal reviews using git commands and the GitHub API.

Can I leave inline review comments on specific lines of code in a GitHub PR?

Yes, you can leave inline review comments on specific lines of code within a GitHub PR by integrating with the GitHub API to add detailed, structured feedback before submitting a formal review.

Do I need the gh CLI tool to review local code changes before pushing to GitHub?

You need the gh command-line tool or a GITHUB_TOKEN for authentication to review local code changes before pushing to GitHub, fetching PR details, and submitting formal reviews through the GitHub API.

What is the best way to fetch and view changed files in a GitHub pull request?

Fetch and view changed files in a GitHub pull request by executing the review-pr command, which integrates with git and the GitHub API to list changed files and display PR details locally.

Does this automated code review approach work without navigating the GitHub web interface?

Yes, automated code review works entirely without navigating the GitHub web interface, allowing developers to review local changes, fetch PR details, leave comments, and submit formal reviews directly from the command line.