review-pr-comments

Load PR comments and apply consolidated fixes via GitHub CLI.

4.6k|378|Updated Jun 28, 2024
One-click install
npx skills add https://github.com/latitude-dev/latitude-llm --skill review-pr-comments-latitude-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr-comments
Source: https://github.com/latitude-dev/latitude-llm/tree/main/.agents/skills/review-pr-comments
Command: npx skills add https://github.com/latitude-dev/latitude-llm --skill review-pr-comments-latitude-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Triages a PR's feedback by loading issue-level and inline comments, then guides and applies fixes in a coordinated workflow.

Core Features & Use Cases

  • Sequential PR review workflow that walks comments in order, treating each topic as a small, solvable issue.
  • Supports gathering feedback from gh pr view, REST, and GraphQL sources to build a complete work list, deduplicate shared fixes, and post targeted replies.
  • Prerequisites include gh authentication and access to the checked-out PR; the workflow provides steps to resolve threads, post timeline comments, and create a consolidated commit for each cluster.

Quick Start

Walk the current PR's feedback in order and reply with one consolidated fix per issue.

Frequently Asked Questions about review-pr-comments

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

FAQPage Schema
How do I automate pull request comment replies and fixes?

Automating pull request comment replies involves loading issue-level and inline PR feedback, building an ordered work list, and applying targeted minimal commits with corresponding replies to resolve each thread sequentially.

How does a sequential PR review workflow handle multiple inline comments?

A sequential PR review workflow walks inline comments in order, treating each topic as a small issue. It deduplicates shared fixes and posts one consolidated commit with corresponding replies for each feedback cluster.

Do I need GitHub CLI authentication to automate PR code review replies?

GitHub CLI authentication is required to automate PR code review replies. The workflow relies on gh pr view, gh api, and GraphQL/REST endpoints to gather feedback and post timeline comments, requiring proper repository access.

Can I consolidate duplicate code review feedback into a single commit?

Consolidating duplicate code review feedback into a single commit is supported. The workflow deduplicates shared fixes across REST and GraphQL sources, creating one targeted commit per issue cluster with corresponding replies.

What's the best way to triage GitHub PR feedback using gh api?

Triage GitHub PR feedback using gh api by gathering comments from gh pr view, REST, and GraphQL sources into a complete work list. This approach guides fixes sequentially and resolves threads with minimal commits.