From nova-plugin
Run a semi-automated Codex review -> Claude Code fix -> local checks -> Codex verify closure loop for the current branch. Use when Claude Code should orchestrate review-driven fixes with external Bash scripts, structured review artifacts, validation reports, merge readiness, and residual-risk summaries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nova-plugin:nova-codex-review-fix Example: codex-review-fix BASE=main GOAL='fix current branch until merge-ready'Example: codex-review-fix BASE=main GOAL='fix current branch until merge-ready'This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Parameter | Required | Default | Notes |
| Parameter | Required | Default | Notes |
|---|---|---|---|
REVIEW_MODE | No | branch | Review scope: branch, staged, or full. Maps to default, --only-staged, or --full. |
BASE | No | Auto-detect | Baseline branch passed to review/verify scripts as --base. |
OUTPUT_DIR | No | Script default | Review/verify artifact directory passed to Codex scripts as --output-dir. |
GOAL | No | Fix high-confidence blockers | Natural-language goal for the closure loop. |
FIX_SCOPE | No | high-confidence | Policy scope for selecting review findings to fix; does not widen script behavior. |
KEY=value, --flag value, and --flag=value forms from $ARGUMENTS.GOAL.nova-plugin/skills/_shared/parameter-resolution.md.Bash, Edit, Write.nova-plugin/skills/_shared/safety-preflight.md.REVIEW_MODE=branch runs codex-review.sh without scope flags.REVIEW_MODE=staged adds --only-staged; REVIEW_MODE=full adds --full.BASE is passed as --base <BASE> to both review and verify scripts.OUTPUT_DIR, when provided, is passed as --output-dir <OUTPUT_DIR> to review and verify.OUTPUT_DIR is provided, use <OUTPUT_DIR>/review.md for the fix step and write local checks to <OUTPUT_DIR>/artifacts/checks.txt so codex-verify.sh can auto-detect them when --checks-file is not passed.OUTPUT_DIR is not provided, use the script's latest artifacts paths under .codex/codex-review-fix/latest-artifacts/.GOAL and FIX_SCOPE guide Claude Code's fix selection and summary; they are not script flags.nova-plugin/skills/_shared/output-contracts.md.nova-plugin/skills/_shared/artifact-policy.md./codex-review-fix as the full Codex review -> Claude Code fix -> checks -> verify loop.KEY=value or --flag value; natural-language payload is accepted when unambiguous.| Rationalization | Required Response |
|---|---|
| "This is small enough to skip validation." | Run the focused check or state why it is unavailable. |
| "The existing output contract is obvious." | Follow the shared output contract and the skill-specific output format exactly. |
| "The nearby cleanup is harmless." | Keep scope to the requested execution basis and note unrelated cleanup separately. |
| "A plausible result is enough." | Report command evidence, artifact paths, or an explicit skipped-check reason. |
执行一个面向当前分支的半自动闭环:
必须修、建议修 中高置信问题。README.mdprompts/*.prompt.mdscripts/*.sh只有在需要具体调用方式、参数细节或排障说明时再读取 README.md。
scripts/codex-review.sh。review.md,只提取高置信、高优先级问题。prompts/claude-fix.prompt.md 组织修复,不做与问题无关的大改。scripts/run-project-checks.sh --all --report-file <checks-file>。默认使用 .codex/codex-review-fix/latest-artifacts/checks.txt;显式 OUTPUT_DIR 时使用 <OUTPUT_DIR>/artifacts/checks.txt。scripts/codex-verify.sh --review-file <review.md> --checks-file <checks-file>。verify.md,按“已解决 / 未解决 / 不确定 / 新增高风险问题”总结。必须修 中会导致错误行为、数据风险、异常路径缺口、测试缺失的条目。建议修 中高置信、低改动成本、能显著降低回归风险的条目。可忽略 不默认处理,除非顺手即可消除且不会扩大改动范围。git reset --hard、git clean -fd、批量删除等危险命令。review.md。verify.md。nova-codex-review-only:只做 review,不进入修复闭环。nova-codex-verify-only:基于已有 review.md 做 verify。Migrated from the pre-thin slash command contract for /codex-review-fix (nova-plugin/commands/codex-review-fix.md).
你是 Claude Code,扮演 fixer / orchestrator。
本命令用于当前分支的半自动闭环:
从 $ARGUMENTS 中提取以下信息:
BASE:可选,review/verify 基线分支,默认自动识别GOAL:可选,本轮修复目标,例如“修到可合并”REVIEW_MODE:可选,branch / staged / full如果未提供,按当前仓库状态做最保守且最合理的选择。
先确认 CLAUDE_PLUGIN_ROOT 可用;如果不可用,必须停止并提示插件未正确启用。
执行:
bash "${CLAUDE_PLUGIN_ROOT}/skills/nova-codex-review-fix/scripts/codex-review.sh"
根据参数决定是否追加:
--base <BASE>--only-staged--fullreview 脚本会把结果写入 .codex/codex-review-fix/latest-artifacts/review.md(同时保留时间戳目录下的副本)。从该路径读取,只提取:
必须修建议修 中高置信且高收益的问题忽略低置信、纯风格、会扩大改动范围的问题。
执行:
bash "${CLAUDE_PLUGIN_ROOT}/skills/nova-codex-review-fix/scripts/run-project-checks.sh" --all --report-file .codex/codex-review-fix/latest-artifacts/checks.txt
执行:
bash "${CLAUDE_PLUGIN_ROOT}/skills/nova-codex-review-fix/scripts/codex-verify.sh" --review-file .codex/codex-review-fix/latest-artifacts/review.md --checks-file .codex/codex-review-fix/latest-artifacts/checks.txt
必须输出:
你必须:
你不得:
当以下条件满足时,本轮可视为闭环完成:
npx claudepluginhub lliangcol/llm-plugins-fusion --plugin nova-pluginGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.