codex-loop

仓库创建 2026年2月12日最近提交 4 小时前SkillHot 收录 4 小时前
▸ 精选理由

在本地 PR 前加一层外部跨模型把关,减少回滚成本。

▸ 风险提示

需安装 Codex CLI 并可能调用外部服务,要求凭据与网络访问。

这个 Skill 做什么

用 Codex CLI 做循环审查并让 Claude 修复 Elixir/Phoenix 代码直到通过。

把 Codex CLI 当外部审稿人,和 Claude 一起反复修代码:先让 Codex 审查差异,Claude 根据问题修复,然后再验收,循环直到 Codex 不再报错或轮次用尽。适合在准备开 PR、想在推送前用跨模型批判链把 Elixir/Phoenix 改动洗干净时用。特点是有界的审查→修复→复审循环,能在提交前发现并修掉细节问题。

▸ 展开 SKILL.md 英文原文

Fix Elixir/Phoenix code until Codex CLI review comes back clean — bounded review, fix, verify loop before opening a PR. Use when codex is installed and you want an external cross-model critic on your changes before pushing.

开发编程ElixirPhoenix代码审查自动修复CodexClaude Code
505
Stars
34
Forks
40
仓库内 Skill
+35
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/codex-loop/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/oliver-kriska/claude-elixir-phoenix/main/plugins/elixir-phoenix/skills/codex-loop/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Codex Loop (fix until clean)

Critic→Refiner loop with the Codex CLI as external critic: review → fix
approved findings → verify → re-review, until codex is clean or rounds run
out. Codex reviews; Claude fixes. Complements `/phx:review` (Claude panel)
— run either or both before a PR.

## Usage

```
/phx:codex-loop                    # diff vs default branch, interactive
/phx:codex-loop --uncommitted      # staged + unstaged + untracked
/phx:codex-loop --base develop     # explicit base branch
/phx:codex-loop --auto             # auto-approve P0/P1/P2, skip P3
/phx:codex-loop --max-rounds 2     # default 3
```

## Iron Laws

1. **BOUNDED rounds — never exceed --max-rounds (default 3)** — e
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有