agents/skills/gh-address-pr-comments/SKILL.md
Resolve actionable review comments for a PR one-by-one
npx skillsauth add carterdea/dots gh-address-pr-commentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Resolve actionable review comments for a PR, one-by-one.
gh pr view --json number,state,headRefName -q 'select(.state=="OPEN") | .number'gh pr list --head "$(git branch --show-current)" --state open --json number -q '.[0].number'Checkout PR gh pr checkout {PR_NUMBER}
Fetch PR data + comments (include author + position info) gh pr view {PR_NUMBER} --json title,body,state,author,headRefName,baseRefName,url,reviews gh api repos/{OWNER}/{REPO}/pulls/{PR_NUMBER}/comments --jq '.[] | {id, path, line, position, body, user: .user.login, user_type: .user.type}' gh api repos/{OWNER}/{REPO}/issues/{PR_NUMBER}/comments --jq '.[] | {id, body, user: .user.login, user_type: .user.type}'
Filter out noise before classifying. Skip entirely (do not list, do not act on):
position is null (line no longer exists in diff — GitHub UI labels these "Outdated"). Issue comments don't have position; only applies to pulls/comments endpoint.vercel[bot], vercel-bot, or body mentions Vercel preview/deployment status)@claude, @codex, or short variants like @codex review, @claude please review, @claude take a look (no actionable content beyond the tag). Heuristic: strip mentions + whitespace; if <= ~3 words remain and none describe a change, skip.user_type == "User"): trust default. Assume correct unless obviously wrong. Verify scope + intent, then apply.user_type == "Bot" OR login matches cursor[bot], chatgpt-codex-connector, claude[bot], coderabbitai[bot], github-actions[bot], *-bot, *[bot]): skeptical default. Bots hallucinate, flag non-issues, miss context. For each bot comment:
Present numbered list grouped by author type (Human first, Bot second). Flag bot items with [BOT: skeptical]. Ask user which to handle.
For each selected item:
development
Add net-new product, workflow, platform, or developer-experience features as small vertical slices. Use this skill whenever the user asks to build a new feature, add a new page/route/API/workflow/job/eval/operator path, enrich an existing feature with a new user-visible capability, or plan feature architecture before coding. This skill maps the files to change or create, defines the authoritative contract, specifies tests, and gives a QA plan before treating the feature as done.
development
Verify a developer's finished Trello ticket on a non-Shopify web app and render a verdict. Dogfood the posted preview (desktop + mobile) against the card's acceptance criteria, then PASS it (approve the PR, move to Ready for Release) or FAIL it (request changes, attach repro, reassign the dev, move to Development). Read-only: never implements, commits, or opens a PR. Use when asked to 'QA this card', 'test before release', or 'sign off on this ticket'. Shopify themes use shopify-trello-qa; building a ticket uses trello-delivery.
development
Verify a developer's finished Shopify theme ticket and render a verdict. Dogfood the posted preview theme and Customizer (desktop + mobile) against the card's acceptance criteria and Figma, then PASS it (approve the PR, move to Ready for Release) or FAIL it (request changes, attach repro, reassign the dev, move to Development). Read-only: never implements, commits, deploys, or opens a PR. Use when asked to 'QA this Shopify card', 'verify the Ready for Testing card', or 'sign off on this theme ticket'. Non-Shopify apps use trello-qa; building a ticket uses shopify-trello-delivery.
development
Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.