handle-pr-comment

Evaluate GitHub PR comments and implement changes or post justifications.

5|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/tomzx/agents --skill handle-pr-comment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: handle-pr-comment
Source: https://github.com/tomzx/agents/tree/main/skills/handle-pr-comment
Command: npx skills add https://github.com/tomzx/agents --skill handle-pr-comment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Evaluates a comment on a GitHub pull request and responds appropriately - either implementing the requested change and pushing it, or posting a reply explaining why the change will not be made.

Core Features & Use Cases

  • Actionable feedback detection: determine when a PR comment warrants code changes versus a non-actionable or out-of-scope request.
  • Context-aware edits: apply changes using the codebase and the comment history as context, then propose or push updates to the PR branch.
  • Workflow automation: fetch PR metadata, clone the repository, present rationale to the user for approval, and post results or a reply with proper attribution.
  • Prerequisites: gh CLI authenticated with write access; PR URL; Git push access; read any files under .sdlc/context/ and apply artifact style rules.

Quick Start

Use /handle-pr-comment with a PR URL to start processing the most recent comment on that pull request.

Frequently Asked Questions about handle-pr-comment

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

FAQPage Schema
How do I automate GitHub PR comment responses and implement requested changes?

Automating GitHub PR comment responses evaluates feedback on open pull requests, decides whether to implement code changes or draft a justification, and pushes updates or posts replies using repository context and comment history.

What's the best way to handle actionable code review feedback on a pull request automatically?

Handling actionable code review feedback automatically detects whether a PR comment warrants code changes, applies context-aware edits using the codebase, proposes updates to the PR branch, and presents rationale for user approval before posting.

Do I need gh CLI and Git push access to automate pull request comment handling?

Yes, automating pull request comment handling requires the gh CLI authenticated with write access, Git push permissions to the repository, and the ability to clone repositories and read contextual artifacts under .sdlc/context/.

Can I use repository context files to guide automated code review replies on GitHub?

Yes, you can use repository context files to guide automated code review replies by reading artifacts under the .sdlc/context/ directory, applying their style rules to format the generated code changes or justification replies.

Why does my automated PR comment workflow only reply with justifications instead of code changes?

An automated PR comment workflow replies with justifications instead of code changes when the feedback detection mechanism classifies the comment as non-actionable or out-of-scope, determining that a written explanation is more appropriate than modifying the codebase.

How does automated pull request comment evaluation decide between pushing code updates and posting explanatory replies?

Automated pull request comment evaluation decides between pushing code updates and posting explanatory replies by analyzing PR metadata, comment history, and repository context to determine if the requested change is actionable and within scope.