resolve-pr-comments

Automate batch replies to GitHub PR review comments via gh api.

3|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/codekiln/langstar --skill resolve-pr-comments-codekiln
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-pr-comments
Source: https://github.com/codekiln/langstar/tree/main/.claude/skills/resolve-pr-comments
Command: npx skills add https://github.com/codekiln/langstar --skill resolve-pr-comments-codekiln

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrate replying to multiple GitHub PR review comments in parallel. Use when the user wants to reply to multiple PR review comments or resolve all unresolved comments on a PR.

Core Features & Use Cases

  • Fetch & filter: Retrieve all PR review comments and optionally filter for unresolved ones.
  • Parallel replies: Spawn multiple parallel subagents to craft and post replies.
  • Consolidated reporting: Aggregate results and present a clear success/failure summary.

Quick Start

Before using, ensure gh CLI is authenticated and you know which PR to operate on. Then fetch comments and prepare replies. A typical flow:

  • Identify the PR number
  • Fetch all review comments (with --paginate)
  • Decide which comments to reply to (all, unresolved, or specific IDs)
  • Spawn parallel subagents to post replies
  • Collect and report results

Frequently Asked Questions about resolve-pr-comments

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

FAQPage Schema
How do I reply to multiple GitHub PR review comments at once?

Replying to multiple PR review comments can be automated by fetching all comments from a PR, filtering for the ones you need, and posting replies in parallel. This Skill orchestrates that workflow—it retrieves comments via gh api, spawns parallel subagents to craft and post each reply, and reports results. Identify your PR number, authenticate gh CLI, then specify which comments to reply to (all, unresolved, or specific IDs).

Can I resolve all unresolved PR comments in parallel?

Yes. This Skill filters for unresolved comments on a PR and spawns multiple parallel subagents to post replies to each one simultaneously. It aggregates success and failure results into a consolidated report, so you can resolve multiple comments faster than replying one at a time.

What do I need to set up before using this Skill?

Ensure the GitHub CLI (gh) is installed and authenticated with your GitHub account. Know the PR number you want to work with. The Skill uses gh api calls to fetch review comments and post replies, so your authentication grants access to the repository and its pull requests.

How does parallel reply posting work with this Skill?

The Skill identifies all review comments on a PR, then spawns independent subagents for each reply. Each subagent has full tool access to craft and post its response via gh api in parallel, reducing the total time compared to sequential replies. Results are collected and aggregated into a single report.

Can I selectively reply to specific comments instead of all of them?

Yes. You can filter comments by ID or target only unresolved ones before posting replies. The Skill fetches the full comment list with pagination, lets you decide which comments to reply to, then spawns parallel subagents only for those you select.

What happens if a reply fails on one comment?

The Skill reports individual success and failure outcomes for each comment. If a reply fails, that comment's status is logged, but parallel replies to other comments continue unaffected. The consolidated summary shows which replies succeeded and which encountered issues.