gh-unresolved-comments

Fetch unresolved GitHub PR review threads via gh CLI.

14|Updated Sep 22, 2025
One-click install
npx skills add https://github.com/gtheys/opencode --skill gh-unresolved-comments
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-unresolved-comments
Source: https://github.com/gtheys/opencode/tree/main/coding/skills/gh-unresolved-comments
Command: npx skills add https://github.com/gtheys/opencode --skill gh-unresolved-comments

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Unresolved review comments on GitHub pull requests cause delays and confusion. This skill fetches all outstanding discussion threads so you can quickly triage PR feedback.

Core Features & Use Cases

  • Fetch unresolved review threads for a given PR using the gh CLI.
  • Output results in table, JSON, or minimal formats for integration with workflows.
  • Use case: When preparing a PR for final approval, pull all outstanding comments to ensure none are overlooked.

Quick Start

Run the bundled script to retrieve unresolved comments for a PR, with repository inferred from the current git context when possible.

Frequently Asked Questions about gh-unresolved-comments

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

FAQPage Schema
How do I list unresolved review threads on a GitHub pull request?

To find unresolved GitHub PR comments, this skill fetches outstanding review threads via the gh CLI. It applies to any repository and outputs structured JSON, table, or minimal summaries to help you triage feedback.

Can I get unresolved PR comments in JSON format for workflow automation?

Yes, you can retrieve unresolved PR comments in JSON format. The skill supports optional --format controls to output structured JSON, tables, or minimal summaries for integration into your automation workflows.

Do I need jq and gh authentication to fetch GitHub PR review comments?

Yes, you need jq and gh CLI authentication to fetch GitHub PR review comments. The skill enforces these prerequisites to query repository data and parse unresolved thread structures successfully.

How do I check unresolved PR review threads for a specific repository?

To check unresolved PR review threads for a specific repository, use the --repo flag. The skill infers repository context from your local Git environment by default but allows explicit repository overrides.

What is the best way to triage outdated pull request review comments?

The best way to triage outdated pull request review comments is to fetch all outstanding threads and highlight outdated or unresolved statuses. This skill identifies these specific threads to prevent feedback from being overlooked.

How many unresolved comments can I retrieve from a GitHub pull request?

You can control how many unresolved comments you retrieve from a GitHub pull request by using the --limit flag. This allows you to cap the volume of review thread summaries returned by the gh CLI query.