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★ 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 example1234)--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 fromom-auto-merge-buddy, which holds the claim and labels; implies--autofix. Readreferences/orchestrated-mode.mdbefore 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.
- Agentic setup — load config and the tracker descriptor per
references/agentic-setup.md. Use the PR’s own base for diffs and conflict resolution. Seereferences/ci-approval.mdfor 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.
Claim the PR. Follow
references/claim-pr.mdbefore 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.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=truewhen every changed file lives underpaths.specsor the repo's design-doc areas, assets included — one code/config/CI file means it is not (references/spec-review.md). Also setAUTOFIX_ELIGIBLE=truewhen--autofixwas 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 —reviewsbodies, 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 anINHERITEDfinding through steps 9–11. Collection, filtering, and severity rules:references/pr-metadata.md. QA findings (human notes, the latestom-auto-qa-prFAIL) are inherited too, and a humanqa-approved/qa-faileddropsneeds-qa:references/qa-verdicts.md.
2a. QA triage, every run: references/qa-triage.md (--triage-only then jumps to 12, 14).
- 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
Установить om-auto-review-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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