github-code-review

Analyze git diffs and generate inline PR review comments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review and comment on code changes by analyzing diffs, leaving inline feedback on PRs, and enabling thorough pre-push checks using gh, git, and GitHub REST API.

Core Features & Use Cases

  • Automated diff analysis: Quickly surface meaningful changes from git diffs.
  • Inline commenting: Leave precise inline feedback on modified lines across PRs.
  • PR workflow automation: Pre-push checks, PR checks summaries, and structured review outputs.
  • Use Case: A developer pushes a feature branch; the skill generates a cohesive code-review report with suggested changes.

Quick Start

Run the pre-push review workflow with the included commands to inspect changes, generate a structured report, and prepare inline comments.

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 pull request reviews and generate inline comments on GitHub?

Automate pull request reviews by analyzing git diffs and generating inline comments directly on modified lines. This skill inspects code changes, applies security and correctness checks, and prepares structured feedback for GitHub PRs.

What is the best way to run pre-push code checks on local git diffs?

Run pre-push code checks on local git diffs to surface meaningful changes and identify potential issues before pushing. The skill generates a cohesive review report with suggested changes and structured output for local branches.

Does this code review skill work with the GitHub REST API and gh CLI?

Yes, this code review skill works with the GitHub REST API and gh CLI to analyze PR diffs and enable workflow automation. It uses these integrations to fetch repository data, apply checks, and leave precise inline feedback.

Can I get structured code review output and proper labeling for pull requests?

Yes, you can get structured code review output and proper labeling for pull requests. The skill ensures consistent formatting, applies security and correctness checks, and prepares structured review reports for developers.

How do I analyze PR diffs and prepare a thorough code review report?

Analyze PR diffs by applying a workflow that inspects code changes, generates inline comments, and applies security checks. This process ensures clear feedback, proper labeling, and a structured review report for your pull requests.

When do I need automated diff analysis for pull requests?

You need automated diff analysis for pull requests when you want to quickly surface meaningful code changes and ensure security. It helps developers push feature branches by generating cohesive review reports with suggested changes.