From aoshimash-skills
Process PR review comments one by one — explain each comment, confirm the response with the user, implement changes, and post reply comments to close the loop. Groups similar/duplicate comments from multiple reviewers or bots. Use when the user says "PRコメントに対応して", "レビューコメントに返信して", "respond to PR review", "handle PR comments", "PRレビュー対応", "review comments に答えて", "PRのレビューに返答", or wants to systematically work through review feedback on a pull request. Invoke this skill even if the user just says "PRコメント対応" without further detail.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aoshimash-skills:respond-to-pr-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Process PR review comments interactively: explain each one, confirm what to do,
Process PR review comments interactively: explain each one, confirm what to do, implement changes, and close the loop with reply comments.
gh pr view --json number,title,url on the current branch.{owner} and {repo} via gh repo view --json owner,name.Fetch all three comment types (see references/platform-github.md):
Filter out comments that don't need a response:
Use judgment: a question, a suggestion, a potential issue, or a nitpick all need a response.
Identify the comment source:
Check user.type in the API response — "Bot" vs "User". This affects reply tone later.
Group comments that point out the same underlying issue, even if they come from different reviewers, different bots, or different lines in the code.
For each group, record:
Work through each group one at a time:
Step 1 — Show the comment
[Group N/M] @reviewer1, @bot-name
File: src/foo.ts:42
> "This function has O(n²) complexity. Consider using a Map for lookups."
If inline, show the relevant code snippet for context.
Step 2 — Explain the comment
Describe what the reviewer is pointing out, why it might matter, and what the current code does. Keep it short — 2–3 sentences.
Step 3 — Ask for a decision via AskUserQuestion:
Collect all decisions before moving to Phase 4.
For each "Implement" decision:
fix: address review comment on foo.ts:42).For each "Create Issue" decision, use the create-issue skill (or gh issue create)
with:
Record the created issue URL for the reply.
Draft a reply for every comment group that requires a response.
Tone by reviewer type:
| Human | Bot | |
|---|---|---|
| Opening | Brief thanks ("Thanks for catching that", "Good catch") | None |
| Formality | Casual but professional — no business-speak | Factual only |
Reply content by decision:
| Decision | Human example | Bot example |
|---|---|---|
| Implement | "Thanks for the suggestion! Fixed in [abc1234] — [brief description]." | "Fixed in [abc1234]: [brief description]." |
| Reject | "Thanks for the note. Keeping the current approach because [reason]." | "Keeping current approach: [reason]." |
| Create Issue | "Good point — this is outside the scope of this PR. Created #N to track it." | "Out of scope for this PR. Tracked in #N." |
Show all reply drafts together as a batch. Use AskUserQuestion to ask:
After approval, post each reply. See references/platform-github.md for the exact API commands.
npx claudepluginhub aoshimash/skills --plugin aoshimash-skillsReads open GitHub PR review comments, triages by severity, applies code fixes, and drafts replies. Use when addressing PR feedback or code review.
Processes PR review feedback by analyzing comments, implementing fixes, committing, pushing, replying on GitHub, and resolving threads. Triggered by /pr-respond or relevant queries.
Interactively responds to PR review feedback: fetches comments, verifies findings, asks for user approval, makes changes, and posts replies. Use when addressing GitHub pull request reviews.