/agent-toolkit-forge:gh-address-commentsfrom agent-toolkit-forge
Triages and addresses open GitHub PR review and conversation comments using the gh CLI. Useful when you need to respond to reviewers or resolve threads on the current branch's PR.
Ships in agent-toolkit-forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Find the open PR for the current branch and walk through its review/conversation
comments using gh. Pair with github-cli-workflow
when you also need to push changes or update the PR description.
gh (GitHub CLI) installed and on PATH (covered by bootstrap).gh auth status exits 0. If not, ask the user to run gh auth login once
(workflow + repo scopes recommended).python3 (used by the bundled inspection script).doctor already reports gh auth status under "Integrations" — confirm it
is green before invoking this skill.
Verify auth. Run gh auth status. If it fails, stop and ask the user to
re-authenticate.
Resolve the PR. Use gh pr view --json number,url,title to confirm a PR
is associated with the current branch. If none, surface that and stop.
Fetch all threads in one pass. Run the bundled script:
python3 ~/.local/share/agent-toolkit/skills/gh-address-comments/scripts/fetch_comments.py \
> /tmp/pr-comments.json
The script paginates conversation comments, review submissions, and inline
review threads (including resolved/outdated state) via gh api graphql.
Summarize for the user. Number every thread/comment and provide a one-line
intent for each (e.g. [3] tests/foo.test.ts:12 — reviewer asks for a null check).
Ask which to address. Wait for the user to pick numbers before changing code.
Apply fixes. For each accepted comment, edit the relevant file and stage the
change. Do not push or merge from this skill — delegate to github-cli-workflow.
Optional: reply or resolve. Once the user confirms, you can post replies
with gh pr comment <pr> --body "..." or resolve threads via the GraphQL
resolveReviewThread mutation when explicitly requested.
github-cli-workflow for those steps.gh hits rate limits or auth errors mid-run, stop and surface the message —
do not silently retry.scripts/fetch_comments.py — paginated GraphQL fetch (stdlib only, shells out
to gh api graphql). Output is a single JSON document on stdout.skills check reports the gh requirement.doctor shows gh auth status under Integrations.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/fix-merge-conflictsResolve merge conflicts non-interactively, validate build and tests, and finalize conflict resolution/gh-contribution-plannerDaily GitHub contribution planner — analyzes the gh-logged-in user's non-archived repos (owned + forks) and recent contributions, produces a prioritized plan, halts for approval, then dispatches parallel sub-agents to execute approved items via existing PR/CI/review skills./gh-fix-ciDiagnose failing GitHub Actions checks on a PR via gh, summarize the failure context, propose a plan, and only implement after explicit user approval. External CI providers (Buildkite, CircleCI, etc.) are reported by URL only./github-cli-workflowHOW — GitHub CLI (gh): push branch, create draft PR with title/body from template or file; fallback untracked PR_DESCRIPTION_*.md. Use when origin is GitHub./gitlab-cli-workflowHOW — GitLab CLI (glab): push branch, create draft MR with title/body; fallback untracked markdown. Use when origin is GitLab./pr-shipShip and babysit pull requests in conflict-first order (conflicts, review threads, CI) with skeptical comment verification, push-before-reply SHA citations, dual GitHub check gates, and Goal v2 policy checks.npx claudepluginhub ulises-jeremias/agent-toolkit --plugin agent-toolkit-forgeOther plugins' skills for the same job