github-code-review

Analyzes diffs and changed files to review local commits and GitHub pull requests.

Updated May 10, 2026
One-click install
npx skills add https://github.com/Mateus2411/Hermes-PersonalBot --skill github-code-review-mateus2411
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/Mateus2411/Hermes-PersonalBot/tree/main/skills/github/github-code-review
Command: npx skills add https://github.com/Mateus2411/Hermes-PersonalBot --skill github-code-review-mateus2411

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps developers catch correctness, security, quality, and testing issues early by reviewing local changes and GitHub pull requests before they reach production.

Core Features & Use Cases

  • Local pre-push reviews: Analyze staged changes or diffs versus the main branch and produce structured Critical / Warnings / Suggestions / Looks Good feedback.
  • PR reviews on GitHub: Retrieve PR details, diffs, and changed files, check out the PR locally for deeper inspection, and post review comments and formal review decisions.
  • Review checklist enforcement: Systematically assess correctness, security (e.g., secrets, injection patterns), code quality, testing coverage, performance considerations, and documentation gaps.

Quick Start

Ask the skill to review pull request 123 for Hermes-PersonalBot and return a structured summary with inline comments for any Critical or Warning issues.

Frequently Asked Questions about github-code-review

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

FAQPage Schema
How do I perform an automated code review on a GitHub pull request?

Automated code review on a GitHub pull request involves retrieving PR details, analyzing file diffs, and posting structured feedback. This process checks out the PR locally for deeper inspection and generates severity-based comments for correctness, security, and quality before merging.

Can I review local git diffs before pushing to a remote repository?

Yes, you can review local git diffs before pushing by analyzing staged changes or commits versus the main branch. This pre-push validation generates a structured checklist covering security, testing, and code quality to catch issues early.

What does a security review of a git diff check for?

A security review of a git diff checks for injection patterns and exposed secrets within the changed files. It systematically assesses these vulnerabilities alongside correctness and testing coverage to ensure no critical flaws reach production.

Do I need GitHub authentication to review pull requests?

Yes, GitHub authentication is required to review pull requests. It enables API interactions via gh or curl to fetch PR metadata, retrieve changed files, and post inline comments or formal review decisions back to the repository.

How do I post inline comments on a GitHub PR?

Posting inline comments on a GitHub PR requires retrieving the diff and analyzing surrounding context to identify specific issues. The review then maps feedback to exact file lines and submits structured Critical or Warning annotations via the API.

What is the best way to structure PR review feedback?

The best way to structure PR review feedback is using a severity-based checklist that categorizes issues into Critical, Warnings, Suggestions, and Looks Good. This enforces a systematic assessment of correctness, quality, and documentation gaps.