pr-comments

Export, preprocess, analyze, and fix GitHub PR review comments.

35|6|Updated Aug 1, 2025
One-click install
npx skills add https://github.com/Quriosity-agent/qcut --skill pr-comments-quriosity-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-comments
Source: https://github.com/Quriosity-agent/qcut/tree/main/qcut/.claude/skills/pr-comments
Command: npx skills add https://github.com/Quriosity-agent/qcut --skill pr-comments-quriosity-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of managing GitHub Pull Request review comments, from exporting and preprocessing to analyzing and fixing them, significantly reducing the manual effort involved in code review iteration.

Core Features & Use Cases

  • Export & Preprocess: Automatically fetches PR review comments and prepares them for agentic evaluation.
  • Analyze & Fix: Groups comments by file, sorts them for bottom-up fixing, and provides tools to evaluate and apply fixes.
  • Resolve & Commit: Integrates with GitHub to resolve threads and guides the agent on committing changes.
  • Use Case: When a PR has numerous review comments across multiple files, this Skill can systematically process them, ensuring all feedback is addressed efficiently and correctly, leading to cleaner code and faster merges.

Quick Start

Use the pr-comments skill to export all review comments from pull request number 102 in the donghaozhang/qcut repository.

Frequently Asked Questions about pr-comments

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

FAQPage Schema
How do I automate fixing GitHub PR review comments across multiple files?

Automating GitHub PR review comments involves exporting, preprocessing, and systematically addressing feedback. This skill groups comments by file and sorts them for bottom-up fixing, allowing agents to evaluate and apply resolutions efficiently across multiple threads.

Do I need GitHub CLI and jq to process pull request review feedback?

Yes, GitHub CLI (gh) and jq are required dependencies to process pull request review feedback. These tools enable the skill to fetch PR comments, parse JSON responses, and integrate with GitHub to resolve threads and commit changes.

What is the best way to manage and resolve code review threads in bulk?

Managing code review threads in bulk is best handled by batch processing comments grouped by file. The skill evaluates each comment, applies fixes in a bottom-up order, and integrates directly with GitHub to resolve threads and commit the changes.

Can I export and preprocess GitHub PR comments for automated code review?

Yes, you can export and preprocess GitHub PR comments for automated code review. The skill automatically fetches review feedback via GitHub CLI and prepares the data for agentic evaluation, ensuring all comments are structured for systematic processing.

Why does this PR comments skill sort review feedback by file before fixing?

Sorting PR review feedback by file ensures a bottom-up fixing approach that prevents overlapping changes and dependency conflicts. This systematic processing guarantees that all feedback is addressed efficiently and correctly before committing.

When should I use an automated workflow for code review feedback management?

An automated workflow for code review feedback management should be used when a pull request has numerous review comments across multiple files. It systematically processes feedback, ensuring all issues are addressed efficiently, leading to cleaner code and faster merges.