Claude Code skill: triage unresolved GitHub PR review threads — fix valid feedback, rebut invalid feedback.
npx skills add https://github.com/debugtheworldbot/fix-pr-comments --skill fix-pr-commentsInstallez cette compétence avec la CLI et commencez à utiliser le flux de travail SKILL.md dans votre espace de travail.
A Claude Code skill that triages unresolved GitHub PR review threads: fixes valid feedback and resolves the thread, or posts a reasoned rebuttal for invalid feedback and leaves it open.
Works against any GitHub repo via gh + GraphQL — no custom server, no stored credentials beyond what gh already manages.
Given a PR (or inferred from the current branch), the skill will:
path:line and judge validity against a rubric (real bug / convention violation / testable correctness issue = valid; style preference / wrong premise / out-of-scope = invalid).gh CLI, authenticated (gh auth login) with repo scopejqgit with write access to the PR branch~/.claude/skills/ or as a plugin)npx skills (recommended)npx skills add debugtheworldbot/fix-pr-comments
One command, works across Claude Code / Cursor / Codex / Gemini CLI. The CLI reads this repo's .claude-plugin/plugin.json + skills/ layout and drops the skill into the right place for your agent.
/plugin marketplace add debugtheworldbot/fix-pr-comments
/plugin install fix-pr-comments
git clone --depth 1 https://github.com/debugtheworldbot/fix-pr-comments /tmp/fpc
cp -r /tmp/fpc/skills/fix-pr-comments ~/.claude/skills/
chmod +x ~/.claude/skills/fix-pr-comments/scripts/*.sh
rm -rf /tmp/fpc
Or, if you prefer a single clone you can update with git pull:
mkdir -p ~/.claude/skills && cd ~/.claude/skills
git clone https://github.com/debugtheworldbot/fix-pr-comments _fix-pr-comments-src
ln -s _fix-pr-comments-src/skills/fix-pr-comments fix-pr-comments
In Claude Code, trigger the skill with any of:
/fix-pr-comments (if mounted as a slash command in your setup)The skill auto-detects the PR from the current branch, or you can pass a PR number / URL.
All three can also be used standalone from any repo:
| Script | Purpose |
|---|---|
scripts/list_threads.sh [PR] |
List unresolved review threads as JSON lines |
scripts/resolve_thread.sh <thread_id> |
Resolve one thread (GraphQL node id, PRRT_...) |
scripts/reply_thread.sh <PR> <first_comment_db_id> <body> |
Reply to a thread |
body can be a file path, a literal string, or - for stdin.
MIT