Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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 the fetch-review-threads and resolve-review-threads helper 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-review skill, 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.

  1. 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.
  2. Record the reviewer and normalize. Record the GitHub login of each finding's author as its Reviewer, for example da2ce7 or coderabbitai[bot], and unknown when 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 is Copilot, a finding in its review body is copilot-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 collapsed Suppressed comments as 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.
  3. 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 assign F<ordinal> in source-review and source-order order. Assign the immutable repository reference review-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 record RE_RAISE_OF:<FindingId>. Every re-raise has its own tracking row and detail entry; never collapse it into the original finding.
  4. Categorize for future analysis. For every new audit row, assign exactly one primary category: link-integrity, formatting, metadata, testing, correctness, documentation, maintainability, security, or other. Categorize the concern rather than its proposed fix; use other only when no listed category fits. Do not backfill or reinterpret historical audit records.
  5. 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, or FOLLOW_UP, the verification performed, and a concise independent summary. Never clos
Полный SKILL.md на GitHub

Установить process-pr-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/test_validate_audit_record.pyscripts/validate-audit-record.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить process-pr-review с