Skills

Address PR Comments

Resolve PR review feedback and loop until CI is green and threads are closed.

Install

npx skills add Significant-Gravitas/AutoGPT --skill pr-address -g -a claude-code -y
Category
Git and review
Updated
2d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Address PR review comments and loop until CI green and all comments resolved. TRIGGER when user asks to address comments, fix PR feedback, respond to reviewers, or babysit/monitor a PR.

PR Address

Find the PR

gh pr list --head $(git branch --show-current) --repo Significant-Gravitas/AutoGPT
gh pr view {N}

Read the PR description

Understand the Why / What / How before addressing comments, you need context to make good fixes:

gh pr view {N} --json body --jq '.body'

If GraphQL is rate-limited, gh pr view fails. See GitHub rate limits for REST fallbacks.

Optional: trigger the review bot

Only relevant if the PR has no review yet. If the fetch steps below turn up no reviews and no inline threads, there is nothing to address yet, that is not the same as being done. You can summon the repo's review bot yourself:

gh pr comment {N} --body "/review"

This is an option, not a required step. Skip it whenever the PR already has reviews (bot or human), those are what you are here to address. See the open-pr skill's "Review workflow" step for the same trigger in the PR-creation flow.

autogpt-pr-reviewer[bot] typically responds within ~30 minutes. Poll for it rather than sleeping, the loop in Polling for CI + new comments already re-checks every source every 30 seconds, so run that loop and react the moment the review lands. Note the id and created_at of the /review comment you posted; Waiting on a requested review needs them for the exit condition.

Fetch comments (all sources)

1. Inline review threads, GraphQL (primary source of actionable items)

Read the whole SKILL.md on GitHub

More in Git and review