gh-pr-review

Extract GitHub pull request data and generate structured markdown review feedback.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/mir-am/skills-agents-ai-coding --skill gh-pr-review-mir-am
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-pr-review
Source: https://github.com/mir-am/skills-agents-ai-coding/tree/main/skills/gh-pr-review
Command: npx skills add https://github.com/mir-am/skills-agents-ai-coding --skill gh-pr-review-mir-am

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of reviewing GitHub pull requests by automating data collection, analysis, and feedback generation, reducing manual effort and oversight.

Core Features & Use Cases

  • Fetch PR Metadata: Retrieve detailed information about a specified pull request, including title, description, author, and status.
  • Analyze Changes: Obtain full diffs, file lists, and change statistics to assess the scope and impact.
  • Generate Structured Feedback: Produce markdown-formatted reviews pinpointing issues related to code style, potential bugs, performance, and security, based on configurable severity levels.
  • Use Case: When a developer requests a review of a PR, this Skill identifies key issues, provides actionable recommendations, and compiles a report ready for review comments or archival.

Quick Start

Instruct the AI to review a specific pull request by number and generate a markdown report.

Frequently Asked Questions about gh-pr-review

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

FAQPage Schema
How do I automate GitHub pull request reviews for code quality and security?

You can automate GitHub pull request reviews by extracting metadata and diffs via the GitHub CLI to evaluate code quality, security, and best practices. This generates structured markdown feedback highlighting potential bugs and style violations based on configurable severity levels.

What is the best way to generate structured feedback from a pull request diff?

Generating structured feedback from a pull request diff involves analyzing file lists and change statistics to assess impact. The process produces a markdown-formatted report pinpointing issues related to code style, performance, and security, ready for review comments or archival.

Does this automated code review tool require specific dependencies to function?

No specific dependencies are required to function. The automated code review tool operates independently to fetch PR metadata and analyze changes, allowing you to streamline feedback generation without installing additional external libraries or frameworks.

Can I retrieve pull request metadata and change statistics using a PR number?

Yes, you can retrieve detailed pull request metadata and change statistics using a specified PR number. The tool fetches the title, description, author, status, full diffs, and file lists to assess the overall scope and impact of the changes.

What are the limitations of automated PR analysis for complex changes?

Automated PR analysis for complex changes is limited to evaluating the provided diff and metadata. It cannot execute the code or test runtime behavior, meaning the structured feedback focuses strictly on static analysis of code style, security, and best practices within the specified PR scope.