pr-review

Analyze pull request diffs and post severity-labeled comments via gh CLI.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/edlovesjava/horse-sense --skill pr-review-edlovesjava
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/edlovesjava/horse-sense/tree/main/horse/skills/pr-review
Command: npx skills add https://github.com/edlovesjava/horse-sense --skill pr-review-edlovesjava

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manages PR quality by automatically evaluating changes for correctness, code quality, security, and alignment with project standards, and by posting structured feedback directly on the PR.

Core Features & Use Cases

  • Automated PR analysis: assess correctness, edge cases, and coding standards against the repository.
  • Inline comments via gh CLI: attach actionable feedback to specific lines on the PR with severity labels.
  • Summary reporting: provide a concise overall assessment and suggested fixes after the review.

Quick Start

Trigger a PR review on the current repository by using the gh CLI to fetch the PR, assess changes, and post structured inline comments.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I automate code review for pull requests using gh CLI?

Automated PR review uses the gh CLI to fetch pull request diffs, assess correctness and security, and post structured inline comments with severity labels. It analyzes changes against repository standards and returns a concise summary with suggested fixes.

Can I post inline comments on a PR diff with severity labels?

Posting inline comments with severity labels is supported by fetching the PR diff and attaching actionable feedback to specific lines. The structured comments evaluate quality, security, and conformance to standards directly on the pull request.

What is automated PR analysis and how does it evaluate code quality?

Automated PR analysis assesses correctness, edge cases, and coding standards against the repository. It evaluates code quality and security by analyzing the pull request diff and generating structured feedback with a summary report of suggested fixes.

Does this automated review tool work with any open pull request?

Automated review applies to open pull requests across typical software projects. It evaluates changes for correctness, code quality, security, and alignment with project standards by fetching the diff and posting structured comments.

What's the best way to get a summary report after reviewing a PR diff?

The best way to get a summary report is by automating the review workflow to fetch the PR diff, analyze changes, and post structured inline comments. The process returns a concise overall assessment and suggested fixes.

Why use gh CLI to automate pull request reviews instead of manual checks?

Using gh CLI to automate reviews manages PR quality by evaluating changes for correctness, security, and standards alignment. It posts structured feedback directly on the PR, replacing manual checks with consistent inline comments and summaries.