github-code-review

Analyze code changes in diffs, commits, and GitHub PR metadata.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/ChangZhou-xj/zxj_skill --skill github-code-review-changzhou-xj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/ChangZhou-xj/zxj_skill/tree/main/github/github-code-review
Command: npx skills add https://github.com/ChangZhou-xj/zxj_skill --skill github-code-review-changzhou-xj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review and audit code changes efficiently by evaluating diffs, file changes, and PR context, with structured feedback and guidance for improvement.

Core Features & Use Cases

  • Review local changes before pushing using git diff, and review open PRs on GitHub.
  • Leave inline comments and structured feedback via gh or REST, with clear categories (Critical, Warnings, Suggestions).
  • View PR details, diffs, and check statuses to make informed review decisions.

Quick Start

Authenticate with GitHub and begin reviewing PRs using the gh CLI or the REST API.

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

Automate code reviews for GitHub pull requests by analyzing diffs and PR metadata to identify issues, leaving structured inline comments via the gh CLI or REST API. It evaluates file changes and context to provide categorized feedback.

Can I review local git diffs before pushing to GitHub?

You can review local git diffs before pushing by analyzing uncommitted changes to identify issues and opportunities for improvement. It evaluates local file changes to provide structured feedback before opening a pull request.

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

Add inline comments to a GitHub PR by using gh CLI or REST API workflows to post structured feedback directly on diffs. Comments are categorized into Critical, Warnings, and Suggestions for clear, actionable guidance.

Do I need the gh CLI to review open pull requests?

You do not strictly need the gh CLI to review open pull requests, as the tool supports both CLI and REST API workflows. Authenticating with GitHub via either method allows you to view PR details, diffs, and check statuses.

How does automated PR review handle check statuses and commit metadata?

Automated PR review handles check statuses and commit metadata by evaluating them alongside file diffs to make informed review decisions. It analyzes commits and PR context to identify issues and opportunities for structured feedback.

What are the limitations of using automated code review for diffs?

Automated code review for diffs is limited to analyzing file changes, commits, and PR metadata without executing the code. It enforces structured review practices and requires prior authentication setup using gh or REST endpoints.