github-code-review

Automate GitHub code reviews with inline comments and formal reviews.

97|8|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/peteromallet/megaplan --skill github-code-review-peteromallet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/peteromallet/megaplan/tree/main/megaplan/agent/skills/github/github-code-review
Command: npx skills add https://github.com/peteromallet/megaplan --skill github-code-review-peteromallet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review code changes by analyzing git diffs, leaving inline comments on PRs, and performing thorough pre-push review. Works with gh CLI or falls back to git + GitHub REST API via curl.

Core Features & Use Cases

  • Pre-push review: analyze staged and unstaged changes, view diffs against main, and surface issues.
  • PR review: fetch PR details, view diffs, and prepare inline comments or overall feedback.
  • Inline comments and formal reviews: post inline comments on specific lines or submit approvals/requests.
  • Comprehensive workflow: follow end-to-end pre-push and PR review procedures with structured output.

Quick Start

Install the gh CLI and authenticate, then run the Hermes review workflow on your changes.

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 reviews and post inline comments?

You can automate GitHub PR code reviews by analyzing git diffs, fetching PR details, and submitting inline comments or formal approvals using the gh CLI or falling back to git and the GitHub REST API via curl.

What is the best way to review local staged and unstaged changes before pushing to GitHub?

Review local changes before pushing by analyzing staged and unstaged git diffs against the main branch, surfacing code issues through a structured pre-push review workflow before you commit and push to GitHub.

Do I need the gh CLI installed to review PRs and post comments on GitHub?

You do not strictly need the gh CLI to post comments and reviews, as the Skill falls back to using git and the GitHub REST API accessed via curl, but the gh CLI is recommended for streamlined authentication.

Can I submit formal code review approvals or change requests through GitHub REST API?

Yes, you can submit formal code review approvals or change requests by leveraging authenticated GitHub REST API access via curl or the gh CLI to post structured review payloads directly to the pull request.

Why do my GitHub inline comments fail to post during automated code review?

GitHub inline comments fail to post when authenticated credentials are missing or invalid, requiring properly configured gh CLI authentication or valid GitHub REST API tokens with sufficient repository access permissions.