pr-unresolved-threads

List unresolved GitHub PR inline review threads with file, line, author, and body.

Updated May 18, 2025
One-click install
npx skills add https://github.com/nthpaul/dotfiles --skill pr-unresolved-threads
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-unresolved-threads
Source: https://github.com/nthpaul/dotfiles/tree/main/cursor/.cursor/skills/pr-unresolved-threads
Command: npx skills add https://github.com/nthpaul/dotfiles --skill pr-unresolved-threads

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly find the open (unresolved) inline review threads on a GitHub pull request so you can triage what still needs attention instead of scanning through mixed comments.

Core Features & Use Cases

  • Unresolved thread listing: Fetches only review threads that are not resolved, including file path and the relevant line number for accurate fixes.
  • PR-scoped inline context: Targets review threads for the current branch’s PR (defaulting to a specific repo), making it suitable for day-to-day PR maintenance.
  • Human-ready output: Produces a readable summary per thread with author and whether the thread is outdated to support prioritization during review follow-ups.

Quick Start

Run the helper to print unresolved inline review threads for the current branch’s PR in trabapro/traba.

Frequently Asked Questions about pr-unresolved-threads

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

FAQPage Schema
How do I list unresolved GitHub PR review threads for my current branch?

To list unresolved GitHub PR review threads for your current branch, use a tool that queries GraphQL pullRequest.reviewThreads and filters out resolved comments. This outputs the file path, line number, author, and thread body for each open item to support review triage.

How do I triage unresolved inline comments on a pull request without scanning resolved threads?

Triage unresolved inline comments on a pull request by targeting only reviewThreads that are not resolved via GraphQL pagination. This fetches human-readable summaries with file paths, line numbers, and thread bodies, excluding unrelated comment types to support fast review fixes.

Do I need GitHub CLI authentication to fetch unresolved PR review threads?

Yes, you need GitHub CLI authentication to fetch unresolved PR review threads. The process uses GraphQL pullRequest.reviewThreads querying with pagination, requiring authenticated access to the repository to list open inline threads for the current branch.

What is the best way to find open inline review threads on a GitHub pull request?

The best way to find open inline review threads on a GitHub pull request is querying GraphQL reviewThreads with pagination until completion. This approach isolates unresolved threads from mixed comments and outputs file, line, author, and thread body fields for prioritization.

How does GraphQL pagination work when fetching unresolved PR threads?

GraphQL pagination works when fetching unresolved PR threads by continuously querying pullRequest.reviewThreads across multiple pages until completion. This ensures all unresolved inline threads are listed, providing file, line, author, and body fields without missing open review comments.

Why are resolved threads excluded when listing GitHub PR inline comments?

Resolved threads are excluded when listing GitHub PR inline comments to isolate what still needs attention during review triage. By targeting only unresolved reviewThreads, the output provides file, line, author, and body fields for open items, preventing mixed comment noise.