pr-address-comments

Process agent-prefixed GitHub PR comments, apply local patches, and post commit hash replies.

Updated Jun 21, 2025
One-click install
npx skills add https://github.com/aryan-binazir/cc-config --skill pr-address-comments-aryan-binazir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-address-comments
Source: https://github.com/aryan-binazir/cc-config/tree/main/skills/personal_dev/pr-address-comments
Command: npx skills add https://github.com/aryan-binazir/cc-config --skill pr-address-comments-aryan-binazir

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the handling of GitHub pull request comments authored by 'Ar', making it easy to manage instructions, patch local branches, and reply with the necessary commit information.

Core Features & Use Cases

  • Automated PR Comment Handling: Process comments prefixed with 'agent:' from Ar and perform actions like fetching PR comments, creating local patches, and replying on GitHub.
  • Commit and Reply Automation: Commit changes made and post a reply on GitHub with the commit hash and agent name.
  • Use Case: If you receive a comment from Ar asking to apply a patch or review code, this skill can automatically handle these tasks and update the PR thread with the commit details.

Quick Start

Run the pr-address-comments skill to process Ar's prefixed PR comments and create a local patch.

Frequently Asked Questions about pr-address-comments

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

FAQPage Schema
How do I automate applying GitHub pull request comments locally?

To automate handling GitHub pull request comments locally, you can process agent-prefixed PR comments to fetch instructions, apply the requested changes as patches to your local branch, and commit them directly to your repository.

How can I reply to PR comments with a commit hash on GitHub?

You can reply to PR comments with a commit hash on GitHub by applying the requested changes locally, generating the commit, and using the GitHub API to post an automated reply containing the commit hash and agent name to the pull request thread.

What are agent-prefixed PR comments and when do I need to process them?

Agent-prefixed PR comments are GitHub pull request instructions starting with 'agent:' authored by Ar. You need to process them when you receive automated review feedback requiring you to apply patches or make code modifications locally.

Do I need the GitHub CLI installed to automate PR comment handling?

Yes, you need the GitHub CLI (gh) installed and configured. The skill requires access to your GitHub repository and utilizes the GitHub API through gh for fetching pull request data and posting commit hash replies.

Can I use this approach to manage code review patches from automated agents?

Yes, you can manage code review patches from automated agents. The skill specifically processes pull request comments authored by Ar, fetches the requested code changes, applies them as local patches, and automates the commit and reply workflow.