github-code-review

Analyze git diffs and submit inline comments and formal reviews on GitHub Pull Requests.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, curl, python3, python3-json, python3-subprocess, python3-textwrap, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of reviewing code changes in GitHub repositories, providing efficient analysis, inline comments, and formal reviews directly within GitHub Pull Requests.

Core Features & Use Cases

  • Automated Code Analysis: Analyze local changes or PR diffs for potential issues such as security vulnerabilities, code quality concerns, and performance bottlenecks.
  • Interactive Comments: Leave inline comments and review requests directly on GitHub PRs.
  • Formal Reviews: Submit formal reviews with summary and detailed feedback, including critical issues, warnings, suggestions, and areas that look good.
  • Use Case: Before pushing code, run this skill to review local changes. When reviewing PRs, use the skill to provide detailed feedback on the code.

Quick Start

Use the github-code-review skill to review the latest PR for the repository 'my-repo'.

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 reviews on GitHub Pull Requests?

Automate GitHub code reviews by analyzing git diffs for security vulnerabilities and performance bottlenecks, then submitting formal reviews with inline comments directly on Pull Requests via the GitHub API.

Can I leave inline comments on a GitHub PR automatically?

Yes, you can leave inline comments on GitHub PRs automatically by analyzing git diffs and submitting review requests directly through the GitHub API or gh CLI.

How do I analyze local git changes before pushing code to GitHub?

Analyze local git changes for code quality concerns and security vulnerabilities before pushing by running automated diff analysis to identify potential issues and performance bottlenecks.

Do I need the gh CLI to submit formal reviews on GitHub Pull Requests?

You need either the gh CLI or GitHub API authorization to submit formal reviews with detailed feedback, critical issues, warnings, and suggestions on GitHub Pull Requests.

What is included in an automated formal review for a GitHub PR?

An automated formal review includes a summary with detailed feedback covering critical issues, warnings, suggestions, and areas that look good, based on the analyzed git diff.

Can I review code for security vulnerabilities and performance bottlenecks automatically?

Review code automatically for security vulnerabilities and performance bottlenecks by analyzing PR diffs and local changes to identify potential issues before submitting formal GitHub reviews.