github-code-review

Analyze diffs and generate structured inline code review comments for PRs and pre-push checks.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/musical-basics/hermes-build-2 --skill github-code-review-musical-basics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/musical-basics/hermes-build-2/tree/main/skills/github/github-code-review
Command: npx skills add https://github.com/musical-basics/hermes-build-2 --skill github-code-review-musical-basics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze diffs and generate structured inline code review comments for PRs and pre-push checks.

Core Features & Use Cases

  • Pre-push local diff analysis and structured feedback
  • Pull request review on GitHub with gh or curl fallback
  • Inline comments on specific files/lines and actionable recommendations
  • Supports both local and PR-level code-review workflows

Quick Start

Provide a quick, actionable code-review briefing for the current branch by analyzing diffs and suggesting inline PR comments.

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 code review for a pull request?

Automate code review for a pull request by analyzing diffs and generating structured inline comments. This Skill supports GitHub PR workflows using gh CLI or git/curl fallbacks to provide actionable recommendations on specific files and lines.

Can I run a pre-push code review on my local git diff?

Yes, you can run a pre-push code review on your local git diff. The Skill performs local diff analysis to provide structured feedback and actionable recommendations before you push your commits to a remote repository.

Do I need a GITHUB_TOKEN to generate inline PR comments?

Yes, you need a GITHUB_TOKEN to generate inline PR comments. A configured Git environment, repository access, and authentication tokens are required for the Skill to operate and post structured review comments on GitHub pull requests.

What is the best way to add structured inline comments to a GitHub PR?

The best way to add structured inline comments to a GitHub PR is by analyzing branch diffs and generating targeted feedback. This Skill uses gh CLI or curls fallbacks to post actionable recommendations directly on specific files and lines.

Does this code review tool work without the gh CLI installed?

Yes, this code review tool works without the gh CLI installed. If gh is unavailable, the Skill automatically falls back to using standard git commands and curl to analyze diffs and post inline comments to your pull requests.

Are there limitations when analyzing diffs for pre-push checks?

A limitation when analyzing diffs for pre-push checks is the strict dependency on a properly configured Git environment and valid authentication tokens. Without repository access and GITHUB_TOKEN, the Skill cannot generate or post structured inline comments.