review-pr

Post inline code review comments on GitHub pull requests using the gh CLI.

2|Updated May 2, 2025
One-click install
npx skills add https://github.com/adryanev/.dotfiles --skill review-pr-adryanev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/adryanev/.dotfiles/tree/main/.agents/skills/review-pr
Command: npx skills add https://github.com/adryanev/.dotfiles --skill review-pr-adryanev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates a senior-staff-engineer level code review on GitHub pull requests by posting inline comments directly on the PR to improve quality and speed.

Core Features & Use Cases

  • Context-aware PR analysis: fetches title, body, author, base/head refs, and the diff to understand the change.
  • Quality and architectural feedback: assesses correctness, readability, and potential design concerns and impact on the system.
  • Inline commenting: posts structured, targeted inline comments directly on the PR for reviewers and maintainers.
  • Use cases: review remote PRs, enforce code-review standards, and document reasoning for future changes.

Quick Start

Provide a GitHub PR URL or number to trigger an inline review on that PR.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I automate a senior-level code review on a GitHub pull request?

You can automate a senior-level GitHub code review by providing a PR URL or number to trigger inline comments. The tool fetches PR metadata, diffs, and head commits to post structured, actionable feedback directly on the pull request.

Can I post inline comments directly on a GitHub PR diff?

Yes, you can post inline comments directly on a GitHub PR diff. By analyzing the fetched PR data and diffs, the tool posts a COMMENT review via the GitHub API to surface targeted, actionable feedback for maintainers.

What is the best way to enforce code-review standards on remote pull requests?

The best way to enforce code-review standards on remote pull requests is automating context-aware analysis. By assessing correctness, readability, and design concerns, the tool posts structured inline comments to document reasoning and improve quality.

Does automating a code review require the gh CLI to fetch pull request data?

Yes, automating this code review requires the gh CLI to fetch pull request data. The tool uses the GitHub CLI to retrieve PR metadata, title, body, author, base/head refs, and the diff to ground the review before posting comments.

What architectural feedback does an automated PR review provide?

An automated PR review provides architectural feedback by assessing correctness, readability, and potential design concerns. It analyzes the PR diff and metadata to evaluate the change's impact on the system and posts targeted inline comments.

When should I not use an automated tool for inline PR reviews?

You should not use an automated tool for inline PR reviews when a change requires deep, contextual domain knowledge beyond the diff. The tool grounds its review in PR metadata, diffs, and head commits, which may not capture broader architectural context.