/skill-madness:git-pr-feedbackfrom skill-madness
Fetches, triages, and addresses PR review comments from Copilot and human reviewers on GitHub. Fixes clear issues, asks about ambiguous ones, and replies to each comment.
Ships in skill-madness. 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.
Fetch review comments on a GitHub PR, triage them, fix what's clear, ask about what's ambiguous, and reply to each comment on GitHub with what was done.
Determine the PR number from context:
# Current branch's PR
gh pr view --json number -q .number
# Or from a URL the user provided
# Or from a specific PR number they mentioned
Pull both review comments (inline on code) and issue-level comments:
# Inline review comments (from Copilot and reviewers)
gh api --paginate repos/{owner}/{repo}/pulls/{pr}/comments
# General PR comments (not on specific lines)
gh api --paginate repos/{owner}/{repo}/issues/{pr}/comments
# Review summaries
gh api --paginate repos/{owner}/{repo}/pulls/{pr}/reviews
Use --paginate to ensure all comments are returned — the default page size
is 30, which can silently miss comments on large PRs.
Parse each comment to extract:
user.login — distinguish Copilot, copilot-pull-request-reviewer[bot], and human reviewerspath and line — the file and line the comment targetsbody — the feedback textid — needed for replyingreviewThreads and join comments.nodes.databaseId to REST comment IDs. Author replies are context only, never resolution. Issue comments have no review-thread resolution flag; triage them explicitly.gh api graphql --paginate -F owner='{owner}' -F repo='{repo}' -F number='{pr}' \
-f query='query($owner:String!,$repo:String!,$number:Int!,$endCursor:String){repository(owner:$owner,name:$repo){pullRequest(number:$number){reviewThreads(first:100,after:$endCursor){pageInfo{hasNextPage endCursor} nodes{id isResolved isOutdated comments(first:100){nodes{databaseId body author{login}} pageInfo{hasNextPage endCursor}}}}}}}'
Fetch additional comment pages for any thread whose nested pageInfo.hasNextPage is true. If API auth/pagination/state lookup fails, mark unresolved status UNKNOWN and stop automatic skipping; never infer resolution from a reply or isOutdated.
Classify every comment into one of these categories:
| Category | Action | Example |
|---|---|---|
| Bug | Fix immediately | "This glob won't match broken symlinks" |
| Improvement | Fix if straightforward, ask if complex | "Exit code should be non-zero for errors" |
| Doc issue | Fix immediately | "The doc says X but the code does Y" |
| Style/nit | Fix if trivial, skip if subjective | "Consider renaming this variable" |
| Noise/false positive | Dismiss with explanation | "This is intentional because..." |
| Ambiguous/tricky | Present to user with options | "This could be fixed multiple ways..." |
Triage guidelines:
Before making changes, show the user a summary:
PR #34 — 3 review comments:
1. [BUG] Copilot on sync-skills.sh:426
Broken symlink glob — --clean uses */ which skips broken symlinks
→ Will fix: change glob to /*
2. [IMPROVEMENT] Copilot on sync-skills.sh:101
usage exits 0 on invalid options
→ Will fix: exit 1 for unknown options
3. [DOC] Copilot on SKILL.md:78
Doc claims non-repo skills untouched but name collisions get replaced
→ Will fix: clarify the wording
Ready to fix all 3? Or want to discuss any of them?
For items classified as ambiguous/tricky, present the options and wait for the user's decision before proceeding.
For each actionable comment:
git add -p — interactive staging
doesn't work in automated environments)After all fixes are applied, commit following git-commit conventions:
git add path/to/fixed-file1 path/to/fixed-file2
git commit -m "$(cat <<'EOF'
fix: address review feedback on {context}
{brief description of changes}
EOF
)"
git push
For each comment, post a reply using the GitHub API:
# Reply to an inline review comment (threaded)
gh api repos/{owner}/{repo}/pulls/{pr}/comments/{comment_id}/replies \
-f body="Fixed in {sha} — {brief description of what changed}."
# Reply to a general PR comment (post a new issue comment)
gh api repos/{owner}/{repo}/issues/{pr}/comments \
-f body="Re: {summary of original comment} — Fixed in {sha}."
Reply content by category:
After pushing fixes, Copilot may generate new comments on the updated code. Don't block waiting for them — let the user know they can ask to check again later.
isResolved: true or review thread state);
never skip a review comment merely because someone replied to it without resolving.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/Other plugins' skills for the same job