Agent skill

resolve_pr_parallel

Resolve all PR comments using parallel processing

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/resolve-pr-parallel

SKILL.md

Resolve all PR comments using parallel processing.

Claude Code automatically detects and understands your git context:

  • Current branch detection
  • Associated PR context
  • All PR comments and review threads
  • Can work with any PR by specifying the PR number, or ask it.

Workflow

1. Analyze

Get all unresolved comments for the PR:

bash
# Get PR status and context
gh pr status

# Get review comments (inline code comments)
gh api repos/{owner}/{repo}/pulls/PR_NUMBER/comments

# Get reviews with their bodies
gh pr view PR_NUMBER --json reviews,comments

2. Plan

Create a list of all unresolved items grouped by type.

3. Implement (PARALLEL)

Use the pr-comment-resolver skill

Spawn a pr-comment-resolver subagent for each unresolved item, in parallel.

Example with 3 comments:

  1. pr-comment-resolver(comment1)
  2. pr-comment-resolver(comment2)
  3. pr-comment-resolver(comment3)

Always run one subagent per unresolved item, in parallel.

4. Commit & Push

  • Commit changes with a clear message referencing the PR feedback
  • Push to remote

5. Verify

Re-fetch comments to confirm all feedback has been addressed:

bash
gh api repos/{owner}/{repo}/pulls/PR_NUMBER/comments

If any comments remain unaddressed, repeat the process from step 1.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results