Command Palette

Search for a command to run...

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

om-auto-fix-pr

БесплатноБез исполняемых скриптовНе проверен

Drive an open PR to merge-ready with review/autofix, CI stabilization, and UI QA. Use --ci-only for CI work or --automerge to seed the merge queue. The…

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

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

Auto Fix PR (drive a PR to merge-ready)

Take one open PR by number and make it mergeable without merging it: bring it up to date with the base branch, then iterate review-autofix, CI stabilization, and UI verification until it is approvable, green, and QA-evidenced. Non-blocking review findings (nits, low-severity, out-of-scope) become tracked follow-up issues instead of blocking the PR. Fork PRs keep the carry-forward supersede/credit rules. The PR is left merge-ready with normalized labels; the actual merge stays with om-approve-merge-pr / om-merge-buddy behind the QA gate.

This skill is an orchestrator: it holds the outer claim and coordinates om-auto-review-pr (review + autofix + conflict/fork handling), om-auto-qa-pr (UI QA), and om-followup-issue-from-pr (nit follow-ups), plus the built-in CI stabilization procedure (references/stabilize-ci.md); it does not re-implement the delegated skills' logic. It is the PR-side counterpart to om-auto-fix-issue (issue-side chain).

A --ci-only mode drives just CI green — on a PR (om-auto-fix-pr 123 --ci-only) or on a plain branch with no PR yet (om-auto-fix-pr --ci-only --branch <name>) — skipping review, UI, and follow-ups.

Arguments

  • {prNumber} (required unless --ci-only --branch is used) — the PR number to drive to merge-ready, e.g. 1234
  • {repo} (optional) — owner/name; if omitted, infer from the current git remote
  • --ci-only (optional) — run only the CI stabilization procedure (no review, UI, or follow-ups) and report; use to drive a red PR or branch green without the full merge-ready loop
  • --branch <name> (optional, with --ci-only) — stabilize CI on a plain branch that has no PR yet, instead of a {prNumber}; if an open PR already exists for that branch, switch to PR mode on it
  • --max-iterations <n> (optional) — outer review→CI→UI cycles before stopping with a report (also caps the inner CI fix→push→re-check loop). Default: 3
  • --no-ui (optional) — skip UI verification even when the diff touches UI (use when there is no runnable UI surface)
  • --automerge (optional) — automerge mode, also enabled by the PR's automerge.label label (default automerge). Review/autofix and a mandatory QA cycle run in fresh-context subagents, QA findings are fixed, and the full CI mirror runs locally with no host-CI wait. The PR is then armed for om-auto-merge-buddy: the queue label, the three signal labels (CI via automerge-signal-3-passes-local-ci-checks) and their status record. No reviewer requests, no holds. Procedure: references/automerge-mode.md.
  • PR label automerge-now — in full standalone mode, send the PR directly to om-auto-merge-buddy for one immediate visit.
  • --force (optional) — bypass the in-progress claim check; use only when intentionally taking over a PR another actor 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.
  • --skip-pre-existing-ci-errors (optional, only with --orchestrated) — the buddy’s explicit invocation-scoped opt-in; verify exact-target baseline proofs under references/ci-baseline.md. No standalone CI waiver.
  • --orchestrated (optional) — set only by an orchestrator that already holds this PR's in-progress claim and owns its labels (om-auto-merge-buddy). This skill then does its core work, skips its own claim, label, handoff and CI-wait steps, and ends with a RESULT: line (references/orchestrated-mode.md).

Chaining

This skill consumes a {prNumber} (the PR: reference line a PR-producing skill emitted) and drives that existing PR to merge-ready; it never opens a PR, so there is no duplicate to guard against (a fork carry-forward replacement is opened by the delegated om-auto-review-pr flow, not here). It ends by reporting the PR: / Issue: chaining reference lines so the next skill in a chain can consume them, and hands the merge-ready PR to om-approve-merge-pr. Ordinary automerge seeds the queue for om-auto-merge-buddy. With automerge-now, the buddy owns the immediate visit and returns its final PR reference. Companion skills, each invoked verbatim: om-auto-review-pr (review + autofix + conflict/fork handling), om-auto-qa-pr (UI QA), om-followup-issue-from-pr (nit follow-ups), and om-approve-merge-pr (the merge hand-off) — a missing one stops the run and names the skill to install. CI stabilization is built in (references/stabilize-ci.md), not a delegated skill.

Workflow

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

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

CI-only mode (--ci-only). Skip the full merge-ready loop: do step 1 (claim — PR mode when a {prNumber} or a branch with an open PR is in scope; pla

Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

references/agentic-setup.mdreferences/automerge-mode.mdreferences/base-merge.mdreferences/ci-baseline.mdreferences/ci-followup.mdreferences/claim-pr.mdreferences/orchestrated-mode.mdreferences/pr-finalize.mdreferences/qa-verdicts.mdreferences/report-templates.mdreferences/rules.mdreferences/stabilize-ci.mdreferences/worktree-setup.md

FAQ

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

Drive an open PR to merge-ready with review/autofix, CI stabilization, and UI QA. Use --ci-only for CI work or --automerge to seed the merge queue. The automerge-now label asks the merge buddy for an immediate visit. Use for "get PR 123 merge-ready".

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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