github-code-review

Review local git diffs and GitHub pull requests for issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of reviewing code changes, whether they are local pre-push commits or open pull requests on GitHub, ensuring code quality, security, and adherence to best practices.

Core Features & Use Cases

  • Local Code Review: Analyze staged or unstaged changes against a base branch to identify common issues like debug statements, secrets, or merge conflicts.
  • Pull Request Review: Fetch and analyze PR details, diffs, and files. Leave inline comments, general comments, or submit formal reviews (Approve/Request Changes).
  • Use Case: Before pushing your code, ask the agent to "review my local changes" to catch potential bugs or security flaws. For an open PR, ask it to "review PR #123" to get a comprehensive analysis and feedback.

Quick Start

Review the code changes in the current branch against main.

Frequently Asked Questions about github-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review local git changes for security flaws before pushing?

To review local git changes for security flaws, you can analyze staged or unstaged commits against a base branch. This identifies common issues like debug statements, secrets, or merge conflicts before pushing.

Can I review GitHub pull requests and leave inline comments?

Yes, you can review GitHub pull requests by fetching PR details and diffs via the GitHub CLI or REST API. You can leave inline comments, general comments, or submit formal reviews to approve or request changes.

Does the code review process work with both the GitHub CLI and REST API?

Yes, GitHub pull request interactions work with both the GitHub CLI and the GitHub REST API via curl. Local code analysis uses plain git commands to identify bugs and security flaws.

What is the best way to automate quality assurance on a pull request?

Automating quality assurance on a pull request involves fetching PR files and diffs to perform comprehensive code analysis. This ensures code quality, security, and maintainability by identifying critical issues and warnings.

How do I identify critical issues and warnings in local git diffs?

To identify critical issues and warnings in local git diffs, analyze your local changes against the main branch. This process detects potential bugs and security flaws to improve overall code quality.