github-pr-unresolved-review-fetcher

Fetch unresolved GitHub pull request review comments via GraphQL and output XML.

3|Updated May 1, 2023
One-click install
npx skills add https://github.com/yaakaito/env --skill github-pr-unresolved-review-fetcher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr-unresolved-review-fetcher
Source: https://github.com/yaakaito/env/tree/main/dotfiles/.claude/skills/github-pr-unresolved-review-fetcher
Command: npx skills add https://github.com/yaakaito/env --skill github-pr-unresolved-review-fetcher

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Fetch unresolved review comments from GitHub pull requests, helping maintainers quickly surface outstanding feedback and keep reviews moving.

Core Features & Use Cases

  • GraphQL-based retrieval: queries pull request review threads to identify comments that are unresolved or not outdated.
  • Command-line integration: works with the gh CLI and jq to produce a structured, machine-readable XML output for downstream tooling.
  • Use Case: in a busy PR, run the script to surface all outstanding comments that require attention so authors can address them efficiently.

Quick Start

Run the script with owner, repository, and PR number to fetch unresolved review comments.

Frequently Asked Questions about github-pr-unresolved-review-fetcher

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

FAQPage Schema
How do I fetch unresolved review comments from a GitHub pull request?

To fetch unresolved review comments from a GitHub pull request, you can query the GitHub GraphQL API using the gh CLI and jq. This surfaces outstanding feedback by outputting structured XML data, taking owner, repo, and PR number as inputs.

Can I get unresolved PR review threads using the gh CLI?

Yes, you can retrieve unresolved PR review threads using the gh CLI combined with jq. This approach queries the GitHub GraphQL API to identify comments that are unresolved or not outdated, producing a machine-readable XML output for downstream tooling.

Do I need jq installed to query unresolved GitHub PR comments?

Yes, jq is required alongside the gh CLI to query unresolved GitHub PR comments. These dependencies work together to parse the GitHub GraphQL API responses and extract unresolved or non-outdated review threads into a structured XML format.

What is the best way to surface outstanding GitHub PR review feedback for authors?

The best way to surface outstanding GitHub PR review feedback is by querying the GitHub GraphQL API for unresolved review threads. Using command-line tools like gh and jq, you can generate structured XML data that authors use to efficiently address outstanding comments.

Does this unresolved PR review fetcher output JSON or XML data?

This unresolved PR review fetcher outputs XML-formatted review data. While it uses the gh CLI and jq to query the GitHub GraphQL API, the final machine-readable output is specifically structured as XML for downstream tooling integration.

Why use the GitHub GraphQL API instead of REST for unresolved PR comments?

Using the GitHub GraphQL API for unresolved PR comments allows precise querying of pull request review threads to identify unresolved or non-outdated feedback. Combined with the gh CLI and jq, it efficiently outputs structured XML data tailored for collaboration workflows.