pr-review

Review GitHub pull requests by analyzing descriptions and diffs for correctness and design.

1.2k|105|Updated May 20, 2009
One-click install
npx skills add https://github.com/wincent/wincent --skill pr-review-wincent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/wincent/wincent/tree/main/aspects/dotfiles/files/.claude/skills/pr-review
Command: npx skills add https://github.com/wincent/wincent --skill pr-review-wincent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of reviewing GitHub pull requests, ensuring code quality, correctness, and adherence to project standards.

Core Features & Use Cases

  • Automated PR Analysis: Fetches PR details, descriptions, and diffs using the GitHub CLI.
  • Contextual Review: Reads linked resources and examines code changes for bugs, design flaws, and security issues.
  • Structured Feedback: Provides categorized feedback (Blocking, Suggestions, Nits) with specific line references.
  • Actionable Next Steps: Offers options to post comments, implement fixes locally, or do nothing.
  • Use Case: A developer submits a pull request. This Skill analyzes the changes, identifies potential bugs and areas for improvement, and then presents a comprehensive review with clear, actionable feedback, allowing the developer to quickly address issues or merge with confidence.

Quick Start

Use the pr-review skill to review pull request number 123.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I automate GitHub pull request code reviews?

Automate GitHub pull request code reviews by fetching PR details and diffs via the GitHub CLI, then analyzing correctness, design, readability, security, and performance to provide structured feedback.

What is automated PR analysis and how does it work?

Automated PR analysis fetches pull request descriptions and code diffs, reads linked resources, and evaluates changes for bugs, design flaws, and security issues to deliver categorized, actionable feedback.

Do I need the GitHub CLI to analyze pull requests?

Yes, you need the GitHub CLI (`gh`) installed to fetch pull request details, descriptions, and diffs for analyzing code quality, security, and performance.

Can I post review comments directly to GitHub from a code analysis?

Yes, after analyzing a pull request, you can choose to post structured comments directly to GitHub, implement suggested fixes locally, or do nothing.

What kind of feedback does automated pull request review provide?

Automated pull request review provides categorized feedback such as Blocking issues, Suggestions, and Nits, complete with specific line references for actionable next steps.