Pr respond

From the-agency-ai/the-agency · View interactive version

Pr respond is an AI agent skill from the GitHub repository the-agency-ai/the-agency. Fetch review comments on current PR, compose threaded replies, and resolve threads. Does NOT make code changes.

How to use this skill

Skill file

<!--

Flag #62/#63: allowed-tools removed. Inherits Bash(*) from

.claude/settings.json. Restricting to specific subcommand patterns at the

skill level silently blocks agents on permission prompts the agent cannot

see — see dispatch #171 for the devex incident that surfaced this trap.

-->

PR Respond

Fetch review comments on the current PR, compose threaded replies, and resolve threads. Does NOT make code changes.

When to use

Arguments

Steps

Step 1: Find the PR

If PR number provided, use it. Otherwise: gh pr view --json number.

Step 2: Fetch unresolved comments

Use the GitHub GraphQL API via gh api graphql to fetch review threads that are not resolved.

Step 3: Present comments

Show unresolved comments in a numbered list:

Unresolved Review Comments:

1. @reviewer in src/parser.ts:42
   "This null check should use optional chaining"

2. @reviewer in src/utils.ts:15
   "Consider using a Map instead of object for lookup"

Step 4: Compose responses

For each comment, determine the appropriate response:

Step 5: Post threaded replies

After user approval, post each reply as a threaded response to the original comment.

Step 6: Summary

PR Respond Complete:
  Comments addressed: N
  Replies posted: N
  Still unresolved: N
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.