pr-comments

Fix unresolved GitHub pull request review comments with local edits and tests.

1|1|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/luan/agents --skill pr-comments-luan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-comments
Source: https://github.com/luan/agents/tree/main/skills/pr-comments
Command: npx skills add https://github.com/luan/agents --skill pr-comments-luan

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you resolve unresolved GitHub pull request review comments by applying targeted local fixes, then validating with tests before committing.

Core Features & Use Cases

  • Local PR thread fixing: Fetches unresolved review threads, inspects the referenced code, and prepares one-line fix descriptions per comment.
  • Controlled execution with safety guardrails: Never resolves or replies to threads automatically unless you use the --auto option; it asks for confirmation before executing fixes.
  • Test-aware workflow: Runs the most appropriate test suite and attempts to fix failures introduced by your changes, stopping if failures persist beyond a threshold.

Quick Start

Ask the skill to fix the unresolved review comments for your current pull request, and commit the changes: "Fix my unresolved PR review comments automatically using --auto."

Frequently Asked Questions about pr-comments

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

FAQPage Schema
How do I fix unresolved GitHub pull request review comments locally?

Fix unresolved GitHub pull request review comments locally by fetching review threads, inspecting referenced code, applying targeted edits, and validating results with tests. The workflow requires a matching PR head branch to ensure changes apply cleanly to your current checkout.

Can I automatically resolve bot comments on my pull request?

Yes, you can automatically resolve bot comments on your pull request by using the `--auto` option. Without this flag, the workflow requires manual confirmation before executing fixes to prevent unintended comment resolution or replies.

How do I ensure my PR review fixes don't break existing tests?

Ensure PR review fixes don't break existing tests by running the test-aware workflow, which executes the most appropriate test suite after applying edits. It attempts to fix introduced failures and stops if persistent failures exceed a defined threshold.

Does this PR review fixing workflow require any specific environment setup?

Yes, this PR review fixing workflow requires the `uv` dependency installed in your environment. You also need a local repository checkout matching the PR head branch so the fetch_threads script can enumerate unresolved threads and apply patches accurately.

What is the safest way to apply code changes from PR review threads?

The safest way to apply code changes from PR review threads is using a manual confirmation flow that inspects referenced code before applying edits. This controlled execution prevents unintended comment resolution and validates fixes with tests before committing.