github-code-review

Analyze diffs and post inline comments on GitHub pull requests.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/CHENyiru3/AI-Skills-Collections --skill github-code-review-chenyiru3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-code-review
Source: https://github.com/CHENyiru3/AI-Skills-Collections/tree/main/skills-market/platforms/github/github-code-review
Command: npx skills add https://github.com/CHENyiru3/AI-Skills-Collections --skill github-code-review-chenyiru3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates structured code-review workflows by analyzing diffs, surfacing inline feedback, and guiding reproducible reviews across local changes and open PRs.

Core Features & Use Cases

  • Inline comment generation on PRs based on diffs and quality checks.
  • Pre-push and PR review guidance with deterministic, repeatable workflows.
  • Use Case: Review a set of changed files in a GitHub repository before merging, ensuring consistency and code quality across teams.

Quick Start

Run a local code-review pass on your changes and post inline PR comments using gh, or fall back to a git + REST API workflow.

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 on pull requests with inline comments?

Automate code review on pull requests by analyzing file diffs and generating inline comments directly on GitHub. This skill structures the review workflow, ensuring consistent quality checks and reproducible feedback across local changes and open PRs using standard git tooling.

Can I run pre-push code review checks on local changes before opening a pull request?

Yes, pre-push code review checks analyze local changes before opening a pull request. The skill evaluates your staged diffs, provides review guidance, and ensures deterministic quality validation prior to committing and pushing to a remote repository.

Does the code review automation work without the GitHub CLI installed?

Code review automation works without the GitHub CLI by falling back to standard git commands combined with the GitHub REST API. While gh is supported for posting inline comments, a git and REST API fallback ensures functionality when the CLI is absent.

What do I need to set up to post inline PR comments automatically?

To post inline PR comments automatically, you need a configured local repository, authenticated GitHub access, and standard git tooling. These prerequisites allow the skill to analyze diffs and submit structured feedback to the correct pull request.

How does diff analysis generate inline feedback for code review?

Diff analysis generates inline feedback by evaluating changed lines within a pull request against quality checks. The skill processes the structural differences between commits, identifies potential issues, and maps the feedback directly to specific code locations as comments.

What are the limitations of automated code review for GitHub pull requests?

Limitations of automated code review include reliance on a properly configured repository and authenticated GitHub access. The skill executes deterministic checks based solely on diff analysis, meaning it cannot infer runtime behavior or test execution results.