read-unresolved-pr-comments

Retrieve unresolved GitHub PR review comments via GraphQL and return JSON.

11|Updated Oct 16, 2025
One-click install
npx skills add https://github.com/getty104/claude-code-marketplace --skill read-unresolved-pr-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: read-unresolved-pr-comments
Source: https://github.com/getty104/claude-code-marketplace/tree/main/getty104/skills/read-unresolved-pr-comments
Command: npx skills add https://github.com/getty104/claude-code-marketplace --skill read-unresolved-pr-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually sifting through GitHub Pull Requests to find unresolved comments is a time-consuming and error-prone task. This Skill automates that process, ensuring you quickly identify all outstanding feedback.

Core Features & Use Cases

  • Automated Comment Retrieval: Fetches all unresolved review comments from the current GitHub Pull Request.
  • Detailed Output: Provides structured information including thread ID, file path, line number, and the full comment body.
  • Use Case: Quickly get a comprehensive list of all feedback you still need to address on your PR, ensuring no comment is missed before merging.

Quick Start

Read all unresolved review comments from the current GitHub Pull Request.

Frequently Asked Questions about read-unresolved-pr-comments

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

FAQPage Schema
How do I list all unresolved comments on a GitHub pull request?

Unresolved PR comments are review feedback threads that haven't been marked as resolved. This Skill retrieves all unresolved comments from your current pull request, including thread ID, file path, line number, and comment body, using GitHub's GraphQL API and the `gh` CLI to ensure comprehensive coverage across all review threads.

Can I automate retrieving unresolved pull request feedback?

Yes. This Skill automates fetching unresolved review comments from GitHub PRs, eliminating manual sifting through threads. It uses GraphQL to enumerate threads, resolutions, paths, and nested comments, returning structured JSON with PR metadata, thread details, and comment bodies for programmatic processing.

What information does this Skill return about unresolved PR threads?

The Skill outputs thread ID, file path, line number, outdated status, and full comment details including author, body, URL, and creation timestamp. It also includes comprehensive PR metadata: number, title, URL, state, author, and reviewers for complete context on feedback requiring action.

Do I need GitHub authentication to retrieve unresolved PR comments?

Yes. The Skill requires authenticated access via the `gh` CLI, which uses your GitHub credentials. This enables the GraphQL queries to fetch private or protected pull request data and ensures proper rate limiting and permissions for your repositories.

How does this handle pagination when retrieving many unresolved comments?

The Skill implements end-to-end pagination through GraphQL to handle repositories with large numbers of pull requests and review threads. It automatically traverses all pages of results, ensuring no unresolved comments are missed regardless of PR volume or thread count.

What dependencies does this Skill require to run?

Two dependencies: `gh` (GitHub CLI for authenticated API access) and `jq` (JSON query tool for processing GraphQL responses). Both must be installed and configured before running the Skill to retrieve and parse unresolved PR comments.