review-pr-comments — for Claude Code review-pr-comments, latitude-llm, community, for Claude Code, ide skills, sequential PR review, GitHub workflow automation, PR comment review, GitHub API GraphQL, sequential review workflow

v1.0.0

À propos de ce Skill

Scenario recommande : Ideal for AI agents that need pr comments: sequential review workflow. Resume localise : Latitude is the open-source agent engineering platform # PR comments: sequential review workflow Walk the current PR’s feedback in order , one topic at a time. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Fonctionnalités

Walks the current PR's feedback in order, one topic at a time.
Treats each comment as something to read and answer; treats each underlying issue as something to fix once.
Automates the review of PR comments using GitHub API.
Enables developers to focus on more critical tasks by streamlining their code review process.
Supports sequential PR review using GitHub API GraphQL.

# Core Topics

latitude-dev latitude-dev
[4.0k]
[311]
Updated: 4/25/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
65
Canonical Locale
en
Detected Body Locale
en

Scenario recommande : Ideal for AI agents that need pr comments: sequential review workflow. Resume localise : Latitude is the open-source agent engineering platform # PR comments: sequential review workflow Walk the current PR’s feedback in order , one topic at a time. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Pourquoi utiliser cette compétence

Recommandation : review-pr-comments helps agents pr comments: sequential review workflow. review-pr-comments is a GitHub workflow automation skill that enables sequential PR review. This AI agent skill supports Claude

Meilleur pour

Scenario recommande : Ideal for AI agents that need pr comments: sequential review workflow.

Cas d'utilisation exploitables for review-pr-comments

Cas d'usage : Applying PR comments: sequential review workflow
Cas d'usage : Applying gh authenticated (gh auth status)
Cas d'usage : Applying A PR for the checked-out branch (gh pr view without a number targets it)

! Sécurité et Limitations

  • Limitation : Follow repo rules for git write : do not commit or push unless authorized for this session.
  • Limitation : Resolve a review thread gh api graphql (resolveReviewThread) Only API that exposes it
  • Limitation : Need UI context (complex thread) gh pr view --web When it helps—no ban

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is review-pr-comments?

Scenario recommande : Ideal for AI agents that need pr comments: sequential review workflow. Resume localise : Latitude is the open-source agent engineering platform # PR comments: sequential review workflow Walk the current PR’s feedback in order , one topic at a time. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

How do I install review-pr-comments?

Run the command: npx killer-skills add latitude-dev/latitude-llm/review-pr-comments. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for review-pr-comments?

Key use cases include: Cas d'usage : Applying PR comments: sequential review workflow, Cas d'usage : Applying gh authenticated (gh auth status), Cas d'usage : Applying A PR for the checked-out branch (gh pr view without a number targets it).

Which IDEs are compatible with review-pr-comments?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for review-pr-comments?

Limitation : Follow repo rules for git write : do not commit or push unless authorized for this session.. Limitation : Resolve a review thread gh api graphql (resolveReviewThread) Only API that exposes it. Limitation : Need UI context (complex thread) gh pr view --web When it helps—no ban.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add latitude-dev/latitude-llm/review-pr-comments. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use review-pr-comments immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

review-pr-comments

Install review-pr-comments, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before rollout.

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

PR comments: sequential review workflow

Walk the current PR’s feedback in order, one topic at a time. Treat each comment as something to read and answer; treat each underlying issue as something to fix once. If several comments say the same thing (or the first fix already covers a later remark), do not redo the same code work—use one commit for that shared fix and reply on each later comment pointing at that commit (e.g. “Addressed in <sha> — same fix as …”).

Prerequisites

  • gh authenticated (gh auth status).
  • A PR for the checked-out branch (gh pr view without a number targets it).
  • Follow repo rules for git write: do not commit or push unless authorized for this session.

Pick the best gh command per step

gh pr …, gh api (REST), and gh api graphql hit different GitHub APIs—same intent, not interchangeable. There is no blanket rule favoring one surface; choose whatever is correct and clearest for that action.

StepTypically strongest optionWhy
Quick PR metadatagh pr view --json number,url,title,…Native fields, branch defaults
Readable timeline + review summariesgh pr view --commentsHuman-readable; good scan
Structured issue comments / review objectsgh pr view --json comments,reviews,latestReviewsEasy JSON for sorting
Inline comments plus threads, resolve stategh api graphql (reviewThreads)Threads + isResolved + thread.id for mutations
Flat list of inline comments onlygh api repos/{owner}/{repo}/pulls/<n>/comments --paginateSimple; reply ids (id) for REST replies
Post a conversation commentgh pr commentCorrect for timeline
Reply under a line commentgh api -X POST …/pulls/comments/<id>/repliesgh pr comment does not thread on the diff
Resolve a review threadgh api graphql (resolveReviewThread)Only API that exposes it
Inspect the patchgh pr diffFirst-class diff
Need UI context (complex thread)gh pr view --webWhen it helps—no ban

Facts that drive the choice (not preferences): gh pr view does not return inline PullRequestReviewComment payloads in JSON (see §2.1)—load those with REST or GraphQL or you will miss most line-level review and Copilot feedback.

1. Resolve the PR

From the repo root:

bash
1gh pr view --json number,url,title,headRefName,baseRefName

If no PR exists for the branch, stop and tell the user.

2. Load all review artifacts (do not skip inline)

Build a full work list before changing code. Most reviewer and Copilot feedback is on PullRequestReviewComment (inline on the diff), not in issue comments. If you only run gh pr view, you will miss that feedback.

2.1 What gh pr view does and does not include

SourceWhat you get
gh pr view --commentsRenders issue-level conversation comments and review submission summaries (the body of each review). It does not list individual inline line comments. A review that says “Copilot generated 1 comment” only references that inline comment—the inline text is not in this output.
gh pr view --json commentsIssue / timeline comments on the PR only. Often empty when all feedback is inline.
gh pr view --json reviews,latestReviewsSubmitted review metadata and review bodies (summary text), not the per-line PullRequestReviewComment payloads.

gh pr view --help lists JSON fields such as comments, reviews, latestReviews, reviewRequests—there is no field for inline review comments or reviewThreads. No gh pr subcommand exposes GET /repos/.../pulls/{pr}/comments.

Conclusion: after only gh pr view, you are still blind to inline comments until you also load PullRequestReviewComment data (REST or GraphQL below).

2.2 Inline review comments (required — pick the best fetch)

You must load inline comments every time; gh pr alone cannot. Choose one or combine:

A — GraphQL: best when you want threads (id, isResolved), grouping, inline bodies path / line / author, and thread.id for resolve—in one shaped query.

Resolve owner and repo once (examples):

bash
1gh repo view --json owner,name -q '"\(.owner.login)/\(.name)"' 2# or: OWNER=$(gh repo view --json owner -q .owner.login); NAME=$(gh repo view --json name -q .name)

Example query (raise first / paginate if the PR is huge):

bash
1gh api graphql -f query=' 2query($owner: String!, $name: String!, $number: Int!) { 3 repository(owner: $owner, name: $name) { 4 pullRequest(number: $number) { 5 reviewThreads(first: 100) { 6 pageInfo { hasNextPage endCursor } 7 nodes { 8 id 9 isResolved 10 isOutdated 11 comments(first: 50) { 12 nodes { 13 databaseId 14 body 15 path 16 line 17 createdAt 18 author { login } 19 } 20 } 21 } 22 } 23 } 24 } 25}' -f owner='OWNER' -f name='REPO' -F number=PR_NUMBER

If pageInfo.hasNextPage is true, follow with additional requests using after: cursors on reviewThreads (same pattern as standard GraphQL pagination).

Use thread.id (Node id) for §3.7 resolve. Use each comment’s databaseId as the REST id when posting .../pulls/comments/{id}/replies (they are the same numeric id GitHub uses in the REST API).

B — REST: flat list of every inline comment—minimal mental overhead; each node has id for .../replies.

bash
1gh api "repos/{owner}/{repo}/pulls/PR_NUMBER/comments" --paginate

Each item includes id, body, path, line, in_reply_to_id, created_at, html_url, etc. No thread grouping or isResolved—prefer A when you need those.

2.3 Issue-level and summary context

Use gh pr where it is strongest (readable + structured issue/review summaries):

bash
1gh pr view [<PR_NUMBER>] --comments 2gh pr view [<PR_NUMBER>] --json comments,reviews,latestReviews 3gh pr diff [<PR_NUMBER>]

2.4 Merge into one ordered work list

Combine issue/timeline comments (from JSON or --comments) with every inline comment (from §2.2). Normalize timestamps and sort chronologically (oldest first) unless the user specifies otherwise. When using GraphQL threads, flatten reviewThreads → comments for ordering, but keep thread.id handy for resolve and for understanding which replies belong together.

Duplication: cluster items that ask for the same change; implement once and reply to each comment in that cluster.

3. Process comments in order (one pass, dedupe fixes)

For each item in chronological order:

3.1 Read

Combine whatever helps: gh pr view output, gh api / GraphQL payloads, gh pr diff, and gh pr view --web if the UI makes thread context obvious. Goal is complete understanding, not a specific subcommand.

3.2 Interpret

Classify: change request, question, nit, or discussion. Note which files/behavior it touches.

3.3 Judge

Decide if it is right, unclear, or you disagree. Skip or discuss without code when appropriate.

3.4 Implement (when needed)

If this comment’s underlying issue is already fixed by a commit you made for an earlier comment in this run, do not edit the code again—go to 3.6 and reply that it is covered.

Otherwise, apply only that scoped fix. Same cluster → one commit for that cluster.

3.5 Commit and push

  • Single distinct issue (possibly mentioned by several comments): one commit; push when ready.
  • Separate issues: separate commits.

After pushing, capture commit SHA (e.g. git rev-parse HEAD) for replies.

3.6 Reply in the right place

Timeline / issue commentgh pr comment is the right surface:

bash
1gh pr comment [<PR_NUMBER>] --body '...'

Inline thread — REST reply endpoint (only reliable way to nest under the line):

bash
1gh api -X POST "repos/{owner}/{repo}/pulls/comments/<COMMENT_ID>/replies" -f body='...'

<COMMENT_ID> is the REST id / GraphQL databaseId of the comment you answer (from §2.2).

Formal review summary when it fits the workflow:

bash
1gh pr review [<PR_NUMBER>] --comment -b '...'

Duplicate-addressed items: short replies (“Same fix as … in <sha>.”).

3.7 Resolve review threads (optional)

When appropriate (fixed, declined with closure, etc.—not open questions): GraphQL is the API that supports resolve. Use thread.id from §2.2 A:

bash
1gh api graphql -f query=' 2mutation($id: ID!) { 3 resolveReviewThread(input: { threadId: $id }) { 4 thread { isResolved } 5 } 6}' -f id=<THREAD_ID>

If you only used REST B, fetch thread ids via a GraphQL query once, or resolve in the browser—either is fine if it matches team practice.

4. Tracking progress

  • Comments answered vs open.
  • Which commit SHA fixed which cluster.

Anti-patterns

  • Treating gh pr view as sufficient for “all PR comments”—you still need inline data from REST or GraphQL (§2.1–2.2).
  • Mixing unrelated fixes into one commit.
  • Silent pushes with no reply (timeline and/or .../replies).
  • Using gh pr comment where a REST threaded reply was needed (feedback belongs on the diff line).
  • Resolving threads that are still active debate.

Not an anti-pattern: one commit for several comments that share the same issue; reply on each item with pointers to that commit.

Compétences associées

Looking for an alternative to review-pr-comments or another community skill for your workflow? Explore these related open-source skills.

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

Resume localise : 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

widget-generator

Logo of f
f

Resume localise : Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and

flags

Logo of vercel
vercel

Resume localise : The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Resume localise : Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Développeur