resolve-pr-comments
Review, fix, and resolve GitHub PR review comments automatically.
Introduction
The resolve-pr-comments skill automates the post-review feedback loop on GitHub pull requests. It serves software engineers and developer teams by streamlining the process of addressing unresolved review threads. Instead of manually navigating through GitHub's interface to track feedback, this skill autonomously fetches outstanding comments via the GitHub GraphQL API, analyzes the codebase and PR diffs, executes necessary code modifications using edit tools, replies to threads with reasoning, and verifies resolution. It is designed to bridge the gap between human feedback and code implementation, ensuring that PRs move toward mergeable states more efficiently.
-
Automatically fetches all unresolved review threads for a specific PR using GitHub API queries.
-
Analyzes pull request diffs and surrounding codebase context to ensure code fixes adhere to existing patterns.
-
Evaluates the validity of review comments; performs code edits when suggestions improve correctness or clarity, or generates polite, evidence-based rebuttals when disagreements arise.
-
Posts programmatic replies to individual comment threads to maintain a clear trail of work and reasoning.
-
Automates the final status update by resolving individual review threads upon successful completion of the requested changes.
-
Supports direct PR URL input, enabling quick invocation for specific maintenance tasks.
-
Always inspects the actual source code rather than relying solely on the comment text to avoid blind changes.
-
Does not perform general code reviews; its primary scope is the resolution of existing, specific feedback.
-
Should not be used for creating new PRs or performing bulk git operations outside the scope of review comments.
-
Requires appropriate authentication and permissions to interact with GitHub repositories via the GitHub CLI (gh).
-
Follows a structured five-step workflow including fetching, context building, acting, replying, and resolving to ensure transparency and auditability.
Repository Stats
- Stars
- 0
- Forks
- 0
- Open Issues
- 0
- Language
- Not provided
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- May 3, 2026, 08:21 PM