Command Palette

Search for a command to run...

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

om-auto-review-pr

БесплатноЗапускает вложенные скриптыНе проверен

Use when a PR needs review or re-review, e.g. 'review PR 123'. Review code or a spec-only design in an isolated worktree, submit approve/request-changes, and…

open-mercatoот open-mercato★ 284 звезды на GitHub

Об этом скилле

Auto Review PR

Review a pull request by number without touching the current worktree. Fetch the exact PR from the tracker, review it in an isolated worktree, and submit the verdict — as soon as the review is decided, never waiting for CI to go green and never skipping the review because a signal is already red: conflicts and failing checks become blocker findings inside the full review, so one cycle leaves the author the whole picture. When blockers remain and the run is autofix-eligible (the automation's own PR, or --autofix passed), continue into the autonomous autofix flow — conflicts first, then findings, then CI — until the PR is ready or a non-actionable blocker remains. Without --autofix on another author's PR the run ends with the review and the author handoff; it never modifies someone else's branch uninstructed.

Arguments

  • {prNumber} (required) — the PR number to review or re-review (for example 1234)
  • --autofix (optional) — run the step 11 autofix loop even when the PR belongs to another author (without it, the loop runs only on PRs authored by $CURRENT_USER — the automation fixing its own work). Pass it when the user asked for the PR to be fixed; the fixing chains (om-auto-fix-pr, om-auto-fix-issue) pass it explicitly.
  • --force (optional) — bypass the in-progress concurrency check; use when intentionally taking over a PR that another auto-skill or human already claimed
  • --skip-risk-checks (optional, only with --orchestrated) — the buddy’s recorded risk override; preserves validation and actual findings. Scope and provenance: references/orchestrated-mode.md. Distinct from claim-takeover --force.
  • --triage-only: see step 2a.
  • --orchestrated (optional) — only from om-auto-merge-buddy, which holds the claim and labels; implies --autofix. Read references/orchestrated-mode.md before step 0.

Chaining

This skill consumes a {prNumber} (the PR: reference line a PR-producing skill emitted) and reviews or re-reviews that existing PR; it never opens one, so there is no duplicate to guard against (except the fork carry-forward replacement, opened by its own fork flow). It ends by reporting its verdict (APPROVED / CHANGES REQUESTED) plus the PR: reference line (and Issue: when the run has a subject issue). Companion skill: om-code-review, the review engine it runs verbatim inside the isolated worktree — if it is not installed the run stops and names it to install.

Workflow

Claims: references/claim-pr.md governs atomic/fallback ownership and release.

ALWAYS check first: Apply .ai/skills/om-auto-review-pr/SKILL.md when present; safety rules still win.

  1. Agentic setup — load config and the tracker descriptor per references/agentic-setup.md. Use the PR’s own base for diffs and conflict resolution. See references/ci-approval.md for the optional held-CI release.

0a. Review gate, before any claim (opt-in prTriage.reviewGate; not under --triage-only): run om-triage-pr on an untriaged head, then re-check. A PR still missing triage or an external author's core acceptance is skipped unclaimed (no in-progress, review or label): references/review-gate.md.

  1. Claim the PR. Follow references/claim-pr.md before review work, including UI resets, run-id election, secondary-label verification and inherited ownership. Register owned-release cleanup; orchestrated runs use the driver's verified claim.

  2. Fetch PR metadata and reviewer context. The tracker is the source of truth. Run get-pr for {prNumber} (all metadata, review and file fields — full list: references/pr-metadata.md), capturing base/head branches, head SHA, author, cross-repository status, labels and existing reviews by the current reviewer. Classify the PR now: SPEC_ONLY=true when every changed file lives under paths.specs or the repo's design-doc areas, assets included — one code/config/CI file means it is not (references/spec-review.md). Also set AUTOFIX_ELIGIBLE=true when --autofix was passed or the PR author is $CURRENT_USER — this one flag decides step 11; nothing else ever enables autofix. Collect the review feedback already on the PR — reviews bodies, conversation comments (list-issue-comments), inline diff comments (list-review-comments) — from actors other than this skill's own markers, and carry each still-unaddressed actionable ask as an INHERITED finding through steps 9–11. Collection, filtering, and severity rules: references/pr-metadata.md. QA findings (human notes, the latest om-auto-qa-pr FAIL) are inherited too, and a human qa-approved/qa-failed drops needs-qa: references/qa-verdicts.md.

2a. QA triage, every run: references/qa-triage.md (--triage-only then jumps to 12, 14).

  1. Review or re-review? Before a no-new-commits exit, check for an unfinished fork handoff when the run may carry a fork forward or the PR names an original in Supersedes #N. Follow
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/agentic-setup.mdreferences/ci-approval.mdreferences/ci-followup.mdreferences/claim-pr.mdreferences/diff-auto-detections.mdreferences/duplicate-detection.mdreferences/fork-pr-flow.mdreferences/label-transitions.mdreferences/manual-qa-template.mdreferences/orchestrated-mode.mdreferences/pr-metadata.mdreferences/pre-review-signals.mdreferences/qa-triage.mdreferences/qa-verdicts.mdreferences/report-templates.mdreferences/review-gate.mdreferences/review-report.mdreferences/rules.mdreferences/spec-review.mdreferences/verdict-and-labels.mdreferences/worktree-setup.mdscripts/held-ci-gate.mjs

FAQ

Что делает скилл om-auto-review-pr?

Use when a PR needs review or re-review, e.g. 'review PR 123'. Review code or a spec-only design in an isolated worktree, submit approve/request-changes, and manage pipeline labels. Fix/test/re-review automatically for the automation's own PRs or with --autofix; hand other authors the findings.

Как установить скилл om-auto-review-pr?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл om-auto-review-pr запускает скрипты?

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

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

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