pr-review

Compares pull request branches and generates pending line comments via GitHub CLI.

127|14|Updated Jul 31, 2015
One-click install
npx skills add https://github.com/dkarter/dotfiles --skill pr-review-dkarter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-review
Source: https://github.com/dkarter/dotfiles/tree/main/config/opencode/skills/pr-review
Command: npx skills add https://github.com/dkarter/dotfiles --skill pr-review-dkarter

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of reviewing pull requests, ensuring code quality, adherence to project standards, and alignment with specifications, while also facilitating clear and actionable feedback.

Core Features & Use Cases

  • Automated Code Analysis: Compares PR branches against base branches to identify discrepancies and potential issues.
  • Specification Alignment: Verifies changes against project plans, tickets, or specifications.
  • Review Summarization: Generates concise summaries of changes, required fixes, and suggestions.
  • Line-by-Line Commenting: Creates pending GitHub reviews with specific line comments for actionable feedback.
  • Use Case: When a new feature branch is ready for review, use this Skill to automatically check its alignment with the feature spec, identify any deviations or missing elements, and generate a draft review with comments pointing to specific lines of code that need attention.

Quick Start

Review the current pull request and leave pending comments on any necessary changes.

Frequently Asked Questions about pr-review

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

FAQPage Schema
How do I automate pull request reviews to check code against specifications?

Automate pull request reviews by comparing feature branches against base branches to identify discrepancies. This process verifies alignment with project plans and generates actionable feedback, ensuring code quality and adherence to specifications.

Can I generate line-by-line comments on GitHub pull requests automatically?

Generate line-by-line comments by creating pending GitHub reviews with specific feedback. This approach analyzes diffs to identify deviations and points directly to lines of code that require attention or fixes.

Do I need the GitHub CLI to review PR branches and leave pending comments?

GitHub CLI and Git commands are required to analyze diffs and create pending line comments for review. These tools facilitate branch comparison and the submission of actionable feedback directly on the platform.

What is the best way to summarize code changes and required fixes in a pull request?

Summarize code changes by generating a concise review covering modifications, required fixes, and suggestions. This summary verifies whether changes deviate from the feature spec and highlights missing elements.

Does automated PR review work for checking feature branch alignment with project tickets?

Automated PR review works for checking feature branch alignment by verifying changes against project plans or tickets. It identifies any deviations or missing elements to ensure the implementation matches the specifications.