pr-ci

仓库创建 2026年6月25日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由

把代码审查和 CI 修复循环自动化,适合希望减少人工复核的团队。

▸ 风险提示

会调用外部模型与对仓库进行操作,需 GH/模型访问权限并注意隐私与权限控制。

这个 Skill 做什么

对 PR 执行 codex 二次审查并结合 CI 门控,循环修复直至评审清洁与 CI 通过。

在 PR 创建后自动跑一套二次审查流程:用 codex(OpenAI)对 diff 给出意见,结合 CI 门控和 gh pr checks,循环修复直到评审清洁且 CI 通过。在 sandbox(box)环境会自动切换到本地 box-native 流程,host 环境则直接调用 codex CLI,调用者无需关心环境细节。把 AI review、CI 状态和回复流程编成闭环,省人工盯着直到 merge-ready。

▸ 展开 SKILL.md 英文原文

Runs the post-PR pipeline: gets a codex (OpenAI) second-opinion review of the PR diff, applies a CI gate, and loops fixing codex findings and CI failures until the PR is review-clean and CI is green (or no CI configured). In a box session (SANDBOX_VM_ID set) automatically delegates to /pr-codex-ci (box-native, A2A codex pair) — the caller does not need to detect the environment. In a host session uses /codex-review (host codex CLI direct). Use after creating a PR, when the user asks to review a PR with codex and watch CI, or mentions PR review + CI / PR の後処理. Orchestrates /codex-review (or /pr-codex-ci on box) + gh pr checks + /pr-review-respond.

开发编程PR自动化Codex复审CI门控通用
0
Stars
15
Forks
17
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/kanka-jp/coding-agent-playbook-20260707/main/.claude/skills/pr-ci/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/kanka-jp/coding-agent-playbook-20260707/main/.claude/skills/pr-ci/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# pr-ci

PR 作成後の **codex review + CI gate** を回す後処理フロー。**box session (SANDBOX_VM_ID 設定あり) では自動的に `/pr-codex-ci` に委譲**し、host session では host の `codex` CLI 直で動く。判定の質はどちらも同等 (codex 1 体の second opinion + CI + bot review chain で最終 merge-ready まで進める)。

**呼び出し元は環境を意識せず本 skill を invoke してよい** — step 0 の自動委譲が環境差を吸収する:

## Autonomy (中間確認なしで発火・進行)

本 skill は **`gh pr create` 直後に確認を求めず invoke される** ([../../../rules/pr-followup.md](../../../rules/pr-followup.md) 「いつ発火するか」参照)。skill 起動後も「このまま続けますか?」「codex 指摘を採用しますか?」「再 push しますか?」等の**選択肢提示で停止しない**。採否は本 skill の判定基準 (correctness / security / regression / 既存契約違反のみ採用) で自走決定する。

明示的に停止するのは以下のみ:
- **最終 merge-ready 報告** (local gate: codex 採用指摘ゼロ + CI green or 未設定 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有