/github:address-reviewfrom github
This skill should be used when the user wants to address review comments on a pull request: read and reason about each comment, decide whether to implement, answer, or push back, apply code changes, reply to individual threads, push the new commit, and optionally update the PR description. Activates on: "address review", "pr review", "review comments", "respond to review", "fix review", "implement feedback", "resolve comments", "reply to review", "address feedback", "implementare feedback", "risolvere commenti", "rispondere alla review", "gestire review", "affrontare review".
Ships in github. 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.
None: SKILL.md is the whole skill.
Guides the full "address review" loop for an open pull request: reads all unresolved review threads, categorizes each comment, applies code changes, commits and pushes, replies to every thread, and optionally resolves threads and updates the PR description.
mcp__plugin_github_github__* when this plugin's bundled GitHub MCP server is active): pull_request_read, add_reply_to_pull_request_comment, pull_request_review_write, update_pull_requestmcp__git__*): git_status, git_diff_unstaged, git_diff_staged, git_add, git_commit, git_branchgh pr view, git push, gh api (GraphQL for resolving threads)${CLAUDE_PLUGIN_ROOT}/scripts/read-config.sh for config.mainBranchMCP server name may differ. The prefix
mcp__plugin_github_github__is used when this plugin's bundled GitHub MCP server is active. If the host project ships its own GitHub MCP server (oftenmcp__github__*), the bundled one may be disabled to avoid conflicts — discover the actual prefix from the available tool list and substitute it. Verb names are unchanged.
Run mcp__git__git_branch() to detect the current branch. Then:
gh pr view --json number,title,url,body,headRefName,baseRefName
mcp__plugin_github_github__pull_request_read with the provided number to load it.Call mcp__plugin_github_github__pull_request_read to fetch:
Filter to unresolved threads only.
If pull_request_read returns no review threads, fall back to:
gh pr view <number> --comments
For each unresolved comment or thread, assign one of these categories:
| Category | Meaning | Default action |
|---|---|---|
| Actionable | Requests a concrete code change | Implement |
| Question | Asks for clarification or explanation | Answer in reply |
| Suggestion / Nitpick | Optional improvement, style preference | Implement or politely decline |
| Inaccurate / Mistaken | Reviewer misunderstood the code | Reply with explanation, no code change |
Also note any comment that suggests updating the PR title or description.
Display a structured table of all unresolved comments:
# Review Comments — <PR title>
| # | Reviewer | File / Location | Category | Proposed Action |
|---|----------|-----------------|----------|-----------------|
| 1 | @alice | src/auth.ts:42 | Actionable | Rename variable x → y |
| 2 | @bob | (general) | Question | Answer: explain why we chose X |
| 3 | @alice | src/auth.ts:88 | Nitpick | Implement (minor change) |
| 4 | @bob | src/models.ts:5 | Inaccurate | Explain the existing logic |
Ask via AskUserQuestion: "Does this plan look right? Anything to adjust before I proceed?"
The user may override any classification or skip specific comments before continuing.
For each Actionable or accepted Suggestion comment, working in file order (not comment order):
Group edits by file; apply all changes to the same file in a single pass where possible.
Do not commit yet. Proceed through all changes before staging.
Skip this step entirely if no code changes were made (only questions or inaccurate comments).
mcp__git__git_status() to confirm which files were modified.mcp__git__git_add(files).mcp__git__git_diff_staged() to review what will be committed.feat:, fix:, etc.)mcp__git__git_commit(message).git push
git pull --rebase origin <branch>).Skip this step if no commit was made in Step 6.
For every comment in the confirmed plan, post a reply via mcp__plugin_github_github__add_reply_to_pull_request_comment:
| Comment type | Reply text |
|---|---|
| Actionable (implemented) | "Done — [brief description of change, e.g. 'renamed x to userId']." |
| Question | A clear, concise answer to the question (1–3 sentences). |
| Suggestion (implemented) | "Good call, applied." |
| Suggestion (declined) | "Thanks for the suggestion — keeping the current approach because [reason]." |
| Inaccurate | Politely explain the correct interpretation (e.g. "This x is intentionally null here because…"). |
Replies must be concise (1–3 sentences). Do not add "Generated with Claude Code" or any attribution.
Ask via AskUserQuestion: "Mark the addressed threads as resolved?"
pull_request_read:
gh api graphql -f query='mutation { resolveReviewThread(input: { threadId: "<thread_node_id>" }) { thread { isResolved } } }'
If any comment suggested updating the PR title or description, or if the implemented changes materially changed the PR's scope:
mcp__plugin_github_github__update_pull_request(owner, repo, pull_number, title?, body?).Skip this step if no description changes are warranted.
Print a final summary:
Review addressed
-----------------
PR: #42 — Add avatar upload to user profile
Commit: "Address review feedback — rename variable, extract helper"
Pushed: yes
Comments addressed:
✓ @alice src/auth.ts:42 — implemented (renamed x → userId)
✓ @bob (general) — answered question about approach
✓ @alice src/auth.ts:88 — implemented (extracted helper)
✓ @bob src/models.ts:5 — explained existing logic
Threads resolved: 3/4 (1 left for reviewer)
PR description: updated
Next steps:
- Request a re-review: tag reviewer(s) in a PR comment
- Merge when approved: /github:release
Adjust based on what actually happened (omit lines for skipped steps).
| Situation | Action |
|---|---|
| No PR found for current branch | Ask for PR number or URL via AskUserQuestion |
| No unresolved review comments | Report "No unresolved review comments on this PR" and exit |
pull_request_read returns no review threads | Fall back to gh pr view --comments via Bash |
| Code change conflicts with current file state | Show the diff, ask the user to resolve manually before continuing |
add_reply_to_pull_request_comment fails | Note in summary; show the generated reply text so the user can post it manually |
| GraphQL resolve thread fails | Note in summary; suggest the reviewer resolves the thread manually |
update_pull_request fails | Show the proposed title/body so the user can update it manually |
| Push non-fast-forward | Offer to pull with rebase first: git pull --rebase |
| Nothing to commit (only questions/inaccurate) | Skip Steps 6 and 7 silently, continue to Step 8 |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fabn/claude-plugins --plugin github10 skills in this plugin
/actionlintgithub:actionlintThis skill should be used when the user wants to configure actionlint CI
on a repository to automatically lint GitHub Actions workflow files on
push and pull request events using reviewdog/action-actionlint.
Activates on: "actionlint", "setup actionlint", "configure actionlint",
"lint actions", "lint workflows", "lint github actions", "action linter",
"workflow linting", "configurare actionlint", "lint azioni github",
"lint workflow github".
/attach-imagesgithub:attach-imagesThis skill should be used when the user wants to put images (screenshots,
mockups, diagrams) in a pull request, issue, or comment without committing
them to the repository. Uploads them as GitHub attachments from the command
line, the same ones drag-and-drop creates in the web UI, and returns the tags
to paste in the body.
Activates on: "attach screenshots", "screenshots in the PR", "upload images
to github", "add screenshots to PR", "attach images", "image in issue",
"user-attachments", "allega screenshot", "screenshot nella PR", "carica
immagini su github", "aggiungi screenshot alla PR", "immagini nella issue".