process-pr-review
БесплатноЗапускает вложенные скриптыНе проверенProcess every pull-request review finding, from any reviewer, person or bot: fix, reply, record. Use when addressing PR review feedback, even after merge or…
от torrust★ 539 звёзд на GitHubОб этом скилле
Processing Pull-Request Reviews
The PR author owns one tracked audit record at
docs/pr-reviews/pr-<PR_NUMBER>-review/PR-REVIEW.md. Reviewers, including
repository review agents, deliver findings through GitHub only and create no
repository artifact. Process all authors through this workflow; author
classification adds context but never changes the audit or resolution requirements.
Who runs it: in Claude Code, the pr-review-handler agent runs
this workflow for one review round, on a pinned model, when the session that owns the pull request
delegates the round to it (wait-for-pr-review says what the
session keeps). Any session can also run the workflow itself.
Purpose
Process every review finding correctly, efficiently, traceably, and deterministically: handle every actionable suggestion, reply to every resolvable thread, and record each finding's progress through resolution. The normalized audit data also supports continuous improvement: identify recurring errors, review-process patterns, and automation or guardrail candidates so common feedback is prevented earlier and future review processing consumes fewer tokens.
Prerequisites
- Target pull request number and permission to push its branch and reply to its review threads.
- GitHub CLI (
gh) and thefetch-review-threadsandresolve-review-threadshelper skills. - Ability to run focused validation for any proposed fix.
- To wait for the next review round without being told, use the
wait-for-pr-reviewskill, which runs this workflow on each event.
Workflow
Start this workflow, and create the audit record PR-REVIEW.md from
docs/templates/PR-REVIEW-TEMPLATE.md (not from an earlier audit), when the first review or
comment on the pull request (a submitted review, or a PR, review or inline comment) that needs a
reply or a fix arrives, before the first reply. If a reply was already posted
without it, create the record now from the template and log the late start in the Processing Log.
A row's reply URL exists only after replying: create the record, reply, then fill in the reply URLs.
- Fetch the source of truth. Use
fetch-review-threads' GitHub CLI-backed Rust tool to collect all threads, including resolved and outdated threads. Also fetch each submitted review and its review-specific comments by review ID. REST comment responses are supplementary: GraphQL thread data is authoritative for thread identity and resolution state. - Record the reviewer and normalize. Record the GitHub login of each finding's
author as its
Reviewer, for exampleda2ce7orcoderabbitai[bot], andunknownwhen GitHub shows no author. The author is the account of the comment or review body the finding comes from, as GitHub shows it: an inline Copilot comment isCopilot, a finding in its review body iscopilot-pull-request-reviewer[bot]. Split each review body into one row per independently actionable assertion; do not make a row for a summary or verdict that contains no request. Preserve the source review ID and URL. Treat Copilot's collapsedSuppressed commentsas findings only when their full content is retrievable and contains an independently actionable assertion. Otherwise record no row and retain the review summary only as non-actionable context. - Assign and deduplicate findings. Use a reviewer-provided finding ID when
present and it does not collide with an existing audit finding ID. When a
later review reuses an existing ID for a different finding, assign the next
audit-local
F<ordinal>and record the reviewer's original ID in the detail entry. Otherwise assignF<ordinal>in source-review and source-order order. Assign the immutable repository referencereview-finding:pr-<PR_NUMBER>-<FINDING_ID>, lowercasing the finding ID in the reference. Before action, compare a new item with all earlier findings against the current tree. A later item requesting the same current-tree change is a re-raise: keep its source row and recordRE_RAISE_OF:<FindingId>. Every re-raise has its own tracking row and detail entry; never collapse it into the original finding. - Categorize for future analysis. For every new audit row, assign exactly one
primary category:
link-integrity,formatting,metadata,testing,correctness,documentation,maintainability,security, orother. Categorize the concern rather than its proposed fix; useotheronly when no listed category fits. Do not backfill or reinterpret historical audit records. - Decide against the current tree. Re-derive every reply claim from the
current tree with file inspection or a focused command. Record one of
FIXED,NO_ACTION,SUPERSEDED, orFOLLOW_UP, the verification performed, and a concise independent summary. Never clos
Установить process-pr-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл process-pr-review?
Process every pull-request review finding, from any reviewer, person or bot: fix, reply, record. Use when addressing PR review feedback, even after merge or on a replaced PR.
Как установить скилл process-pr-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл process-pr-review запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic