github-code-review

Analyze git diffs and pull requests to generate inline review comments.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/afel6/scal-ai-pipeline --skill github-code-review-afel6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/afel6/scal-ai-pipeline/tree/main/hermes_skills_library/github/github-code-review
Command: npx skills add https://github.com/afel6/scal-ai-pipeline --skill github-code-review-afel6

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviewing code changes and PRs can be tedious and error-prone. This Skill automates the process by analyzing git diffs, surfacing inline comments, and coordinating pre-push review workflows to improve accuracy and speed.

Core Features & Use Cases

  • Analyze local and PR diffs to generate structured feedback
  • Leave inline comments on PRs with clear rationale
  • Support for gh CLI or plain git + curl REST API workflows
  • Pre-push review checks to enforce code quality before pushing

Quick Start

Run Hermes on your current changes by executing a local review pass with git diff main...HEAD, then generate a structured code-review report.

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 code reviews for pull requests?

Automate GitHub code reviews by analyzing git diffs and pull requests to surface actionable inline comments. This process integrates with gh CLI or GitHub REST API via curl to fetch PR data and generate structured feedback.

Can I run pre-push code review checks on local git diffs?

Yes, you can run pre-push code review checks on local git diffs. By executing a local review pass with git diff main...HEAD, you can enforce code quality and identify issues before pushing changes to the remote repository.

Do I need the gh CLI to analyze pull requests and leave inline comments?

You do not strictly need the gh CLI to analyze pull requests and leave inline comments. The code review workflow supports both gh CLI and plain git combined with curl REST API requests to fetch PR data and post review feedback.

What is the best way to generate structured feedback from a git diff?

The best way to generate structured feedback from a git diff is to use an automated code review process that analyzes the changes and surfaces actionable inline comments with clear rationale, improving both review accuracy and speed.

What are the limitations of using curl and REST API for GitHub code reviews?

Limitations of using curl and REST API for GitHub code reviews include the requirement for manual configuration of API requests and authentication. Unlike gh CLI, plain git and curl require explicit handling to fetch repository diffs and post inline comments.