pr-feedback-triage
БесплатноЗапускает вложенные скриптыНе проверенAudit already-merged PRs for code review feedback that was never acted on: collect the comments, verify each concern against origin/main, then reconcile the…
от cipherstash★ 17 звёзд на GitHubОб этом скилле
PR feedback triage
Review comments get written, the PR merges anyway, and the concern evaporates. This skill finds those, checks which are genuinely still live, and makes sure each one has exactly one Linear ticket.
The failure mode to guard against is a plausible-looking ticket for a problem that was fixed three PRs ago. That wastes a human's time and erodes trust in the whole exercise faster than missing an item does. Verify before you file. When you cannot verify, say so in the plan rather than quietly assuming.
Requirements
ghCLI, authenticated. The collector script uses the GitHub GraphQL API.- The Linear MCP server must be connected. Phases 1–3 work without it; Phase 4
cannot. Its tools are usually deferred — load them with
ToolSearchbefore Phase 4. - Python 3.9+ for the collector.
Workflow
Five phases: collect → triage → verify → reconcile → apply. Only the last one writes anything. Track them with your todo tool; a stalled run should be obvious.
Phase 1 — Collect
Resolve the window and the repo first. If the user said "the last sprint" or "since the release", turn that into a date and tell them what you resolved it to — a silently wrong window silently omits PRs.
python3 ${CLAUDE_PLUGIN_ROOT}skills/pr-feedback-triage/scripts/fetch_pr_feedback.py \
--since 14d -o feedback.json
--since takes a span (14d, 3w, 2m) or an ISO date. Add --until for a closed
window, --repo owner/name to override the current repo, --include-bots if the user
explicitly wants Copilot's or CodeRabbit's comments.
Sweep every base branch. Do not reach for --base. When a user says "the PRs we
merged into main", they mean the work that reached main — not the subset whose merge
commit happened to target it. Repos that stage a release on a long-lived branch merge
their richest, most-reviewed PRs into that branch, and it lands on main later as one
squashed merge. Filtering by base drops exactly the feedback worth finding: on a real
run, --base main collapsed thirteen feedback-bearing PRs down to one, and the survivor
was the release commit. If you have a genuine reason to filter, run unfiltered first and
tell the user what the filter would have excluded.
Each item carries a stable id (PR1234-T4), an author, a permalink, and — for inline
threads — path and line. Use those ids everywhere downstream, so a plan line, a
ticket callout, and a verification note all refer to the same thing.
Two fields are traps:
severity_hintis a regex guess from the comment's first line. Many teams don't prefix at all, so anullhint means nothing, and a comment prefixednit:can still describe a real bug. Read the body; the hint only breaks ties.is_resolvedandis_outdatedare recorded but are not evidence. Plenty of teams never resolve threads, so a PR can merge with every thread still open — including the ones marked blocking. Judge from the code, never from the checkbox.
Phase 2 — Triage
Keep an item if a reasonable engineer would want it tracked: blockers, bugs, design issues, documentation issues. Drop praise, style bikeshedding, questions already answered in a reply, and anything whose fix is smaller than the ticket describing it.
A review_body item is often a summary review bundling many distinct findings in
prose — "Second pass: 9 items not covered by the existing threads". Split it. Each
finding becomes its own item, id-suffixed (PR1234-R2#3), because they will get
different verification results and probably different tickets.
For each kept item record: a one-line title, a category (blocker / bug / design / docs), the concrete claim being made, and where it says the problem lives.
When you're unsure whether something is minor, ask what happens if it's never fixed. If the answer is "nothing", drop it.
Phase 3 — Verify against origin/main
git fetch origin first — a stale ref invalidates the entire run.
An item survives only if the concern still holds on origin/main today. Read the
cited file there (search for the construct by name; code moves), and check
git log origin/main -- <path> since the PR's merge commit for a later fix. Note that a
long-lived PR often fixes its own review comments on later commits before merging, so
"no follow-up commit touched this file" does not mean "never fixed".
Where the comment implies a check, run it. This is what separates a trustworthy verdict from a confident guess, and it is the step most easily skipped. "This test runs in no CI job" → grep the workflow files. "The allowlist references a type that doesn't exist" → grep for the type. "This task is broken" → run the task. Repo-native checks are cheap and decisive. Prefer a command whose output you can quote over a paragraph of reasoning about what the code probably does.
Verification is per-item and independent, so fan it out across subagents when there are more than a handful. Give each
Установить pr-feedback-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pr-feedback-triage?
Audit already-merged PRs for code review feedback that was never acted on: collect the comments, verify each concern against origin/main, then reconcile the survivors with Linear — filing new tickets, enhancing matched ones, merging duplicates. Use this whenever someone suspects review feedback got dropped, steamrolled, or forgotten, and asks things like "did we ever fix what X flagged", "did we ever action those comments", "which of those open threads are still real problems on main", "what review feedback fell through the cracks", "audit last sprint's merged PRs", or "turn leftover review comments into tickets". It applies to a single named PR just as much as to a whole time window, to any base branch, and whether or not the user mentions Linear or a tracker at all — wanting to know which concerns from a merged PR are still live is reason enough. Not for reviewing an unmerged diff yourself, listing threads on still-open PRs, making the changes a reviewer asked for on your own open PR, or tracker housekeeping unrelated to review comments.
Как установить скилл pr-feedback-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pr-feedback-triage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic