review-pr

Automate unresolved pull request comment resolution via GraphQL and Git.

6|14|Updated May 7, 2019
One-click install
npx skills add https://github.com/irudik/repo-template --skill review-pr-irudik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/irudik/repo-template/tree/main/.agents/skills/review-pr
Command: npx skills add https://github.com/irudik/repo-template --skill review-pr-irudik

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of addressing feedback on pull requests, ensuring code quality and efficient collaboration.

Core Features & Use Cases

  • Automated Comment Resolution: Fetches, categorizes, and implements fixes for unresolved PR comments.
  • Modular Committing: Creates atomic commits for each file group, improving code traceability.
  • Intelligent Categorization: Differentiates between high-confidence fixes, ambiguous suggestions, and design questions.
  • Use Case: After a code review, this Skill can automatically fix typos, implement suggested logic changes, and reply to comments with commit hashes, significantly speeding up the review cycle.

Quick Start

Use the review-pr skill to address all unresolved comments on pull request number 123.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I automatically resolve unresolved pull request comments on GitHub?

To automatically resolve pull request comments, this Skill fetches unresolved threads via GraphQL, categorizes them by confidence, implements fixes, commits modularly, and replies with commit hashes. It handles typos to logic changes, streamlining the review cycle.

What is the best way to automate code review feedback resolution?

Automating code review feedback resolution involves categorizing comments by confidence, implementing high-confidence fixes, and creating atomic commits for each file group. This approach differentiates between direct fixes, ambiguous suggestions, and design questions.

Do I need the GitHub CLI to automate pull request comment fixes?

Yes, you need the GitHub CLI (`gh`) installed. The Skill uses the GitHub CLI for branch management and API interactions, alongside Git, to fetch comment threads and push commits to the pull request.

How does automated PR review handle ambiguous suggestions or design questions?

Automated PR review categorizes unresolved comments into high-confidence fixes, ambiguous suggestions, and design questions. It implements clear fixes automatically while flagging ambiguous feedback to avoid unintended code modifications.

Why create atomic commits for each file group when addressing PR feedback?

Creating atomic commits for each file group improves code traceability when addressing PR feedback. This modular committing strategy isolates logical fixes, making it easier to review changes and revert specific corrections if needed.