← ClaudeAtlas

pr-commentslisted

Watches an open PR for reviewer comments and addresses them: fixes the code, replies inline to bots, and drafts replies to humans for the user to post. Use after opening a PR, when the user says 'address the comments' or 'check the PR comments', or when a reviewer comments.
domengabrovsek/agent-config · ★ 17 · AI & Automation · score 67
Install: claude install-skill domengabrovsek/agent-config
# Address PR Review Comments Watch and address comments on: $ARGUMENTS (default: the current branch's PR) ## Workflow **why-no-hook:** skill workflow guidance; each step requires understanding the surrounding context (repo, task shape, prior state). 1. **Start a Monitor** with `bash scripts/gh-comments-monitor.sh [pr-number]`, resolved inside this skill's own directory. Use `timeout_ms: 1800000` and the description "PR comments on <branch-name>" `(review-time: see section note)` 2. **React to each line**: `(review-time: see section note)` - `comment|<kind>|<id>|<author>|<bot|human>|<url>`: handle the comment as below - Monitor expiry: re-arm the same script. Seen IDs persist, so nothing repeats `(review-time: see section note)` - `pr-closed|<state>` or `no-pr|<branch>`: report and stop `(review-time: see section note)` - `error|persistent-failure`: report and stop `(review-time: see section note)` 3. **Read the comment and its thread**: `gh api repos/{owner}/{repo}/pulls/comments/<id>` for inline, `.../pulls/<n>/reviews/<id>` for a review, `.../issues/comments/<id>` for conversation `(review-time: see section note)` 4. **Judge it against the code**: valid, partly valid, or not applicable. Check the claim in the source before agreeing or disagreeing `(review-time: see section note)` 5. **Fix valid points**, bot or human: make the change, run `/verify-done`, commit, push. Batch comments that arrive together into one commit when they touch the same code `(review-