resolve-pr-threads

Resolve GitHub PR review threads only when referenced issues are fixed in the current diff.

1|Updated May 2, 2026
One-click install
npx skills add https://github.com/abeyuya/skills --skill resolve-pr-threads-abeyuya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-pr-threads
Source: https://github.com/abeyuya/skills/tree/main/plugins/pr-review/skills/resolve-pr-threads
Command: npx skills add https://github.com/abeyuya/skills --skill resolve-pr-threads-abeyuya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves GitHub PR review threads only when the referenced issues are verifiably fixed in the current diff, preventing incorrect thread closure from hiding unresolved comments.

Core Features & Use Cases

  • Safe, evidence-based resolution: Resolves threads only if the updated code and file/line context confirm the issue was addressed.
  • Configurable scope control: Supports resolving across all reviewers, only the bot’s own threads, or skipping entirely via THREAD_RESOLVE_SCOPE (all/own/none).
  • Audit-friendly justification: Posts an AI-autogenerated rationale comment (with optional commit reference) before executing the thread resolve mutation.

Quick Start

Use resolve-pr-threads on a PR by providing OWNER, REPO, PR_NUMBER, and optionally THREAD_RESOLVE_SCOPE as all to resolve only the fully fixed, currently verifiable threads.

Frequently Asked Questions about resolve-pr-threads

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

FAQPage Schema
How do I automatically resolve GitHub PR review threads that are already fixed?

To automatically resolve fixed GitHub PR review threads, you need a workflow that verifies each comment's referenced issue against the current code diff before closing it. This Skill confirms the issue is actually addressed in the updated file and line context before executing the resolve mutation.

What is the safest way to automate pull request thread resolution?

Safe pull request thread resolution requires strict non-resolution on ambiguous or partially addressed cases. This approach prevents incorrect thread closure from hiding unresolved comments by only resolving threads when the updated code verifiably confirms the issue was addressed.

How do I configure automated bot workflows to resolve only their own PR threads?

You can configure automated bot workflows to resolve only their own PR threads by setting the THREAD_RESOLVE_SCOPE parameter to 'own'. This scoping control supports resolving across all reviewers, only bot-authored threads, or skipping entirely via the 'none' option.

Does resolving GitHub review threads via GraphQL leave an audit trail?

Resolving GitHub review threads via GraphQL can leave an audit trail by posting an AI-autogenerated justification reply before calling the resolveReviewThread mutation. This audit-friendly comment includes a rationale and an optional commit reference explaining the closure.

Why are some GitHub pull request review threads left unresolved during automated maintenance?

GitHub pull request review threads remain unresolved during automated maintenance when the referenced issue is ambiguous or only partially addressed in the current diff. The process strictly avoids resolving threads that lack verifiable evidence of the fix to prevent hiding open comments.

Do I need GraphQL pagination to retrieve all review threads before resolving them?

Yes, you need GraphQL pagination to retrieve all review threads before resolving them. The process requires fetching the complete list of reviewThreads associated with the pull request to ensure every comment is evaluated against the current code diff.