campaign
把复杂的 PR 审查与合并流程自动化、适合 CI 密集仓库
需要 GitHub 写入权限与令牌,合并操作有安全风险
对现有 PR 执行分级审查并在满足条件时自动把关合并的管道
把已有 PR 按规则分级审查并在满足条件时自动把关合并的流水线工具。适合需要按不同 review 阶段、CI 状态和标签来批量处理并自动合并 PR 的仓库运维场景。特色是自我循环的审查-合并流程、每个 PR 有独立的审查关卡,并且不会自己从零写修复,只对既有 PR 做门控。
▸ 展开 SKILL.md 英文原文
Gates PRs to merge. A self-looping review-to-merge campaign: existing PRs are adopted into a run (pass PR numbers, or discover this run's labelled PRs), each PR is triaged to a review tier, and a per-PR review gauntlet (tier-dependent fresh, context-isolated SATISFIED verdicts on the whole PR diff, reviewed one at a time) plus event-driven CI monitoring gate an auto-merge. Multiple isolated runs (each keyed by a run-id, with a lease so only one agent drives each) can run concurrently in one repo. Drives its own loop through the active host's heartbeat or bounded-wait mechanism — invoke once. Campaign never writes fixes from scratch; to find issues first use gauntlet:review. Args (distinct modes): #PR... | --new #PR... | --run ID | no args
帮我安装这个 skill:https://raw.githubusercontent.com/lestrrat-ai/claude-code-plugins/main/plugins/gauntlet/skills/campaign/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/lestrrat-ai/claude-code-plugins/main/plugins/gauntlet/skills/campaign/SKILL.md"# Campaign Self-looping, reactive PR-review-to-merge pipeline. The active host is orchestrator + gatekeeper: reviews, CI watches, and fixes run as background tasks — and the heartbeat reconcile in a fresh synchronous worker where the host provides one; gates and merges stay centralized. Campaign gates **existing** PRs — adopted, never generated — and never writes a fix from scratch. To find issues first, use `gauntlet:review`; after its report it can open one PR per confirmed fix and hand them here (`/gauntlet:campaign #PRs` in Claude Code, `$gauntlet:campaign #PRs` in Codex). Invoke once: the skill drives its own loop through the active host's heartbeat or bounded-wait mechanism. In Claud