원클릭으로
원클릭으로
[HINT] SKILL.md 및 모든 관련 파일을 포함한 전체 스킬 디렉토리를 다운로드합니다
| name | autoreview |
| description | Autoreview closeout: local dirty changes, PR branch vs main, parallel tests. |
Run Codex's built-in code review as a closeout check. This is code review (codex review), not Guardian auto_review approval routing.
Use when:
claude -p; pi -p and opencode run are explicit reviewer/fallback options. The helper runs nested Codex review in yolo/full-access mode by default; use --no-yolo only when intentionally testing sandbox behavior.codex review just to get a nicer "clean" line, a second opinion, or clearer closeout wording.Dirty local work:
codex review --uncommitted
Use this only when the patch is actually unstaged/staged/untracked in the
current checkout. For committed, pushed, or PR work, point Codex at the commit
or branch diff instead; do not force --mode local / --uncommitted just
because the helper docs mention dirty work first. A clean --uncommitted review
only proves there is no local patch.
Branch/PR work:
git fetch origin
codex review --base origin/main
Do not pass an inline prompt with --base; current CLI rejects --base + [PROMPT] even though help text is ambiguous. If custom instructions are needed, run the plain base review first, then do a local/manual follow-up pass.
If an open PR exists, use its actual base:
base=$(gh pr view --json baseRefName --jq .baseRefName)
codex review --base "origin/$base"
Committed single change:
codex review --commit HEAD
or with the helper:
.agents/skills/autoreview/scripts/autoreview --mode commit --commit HEAD
Use commit review for already-landed or already-pushed work on main. Reviewing
clean main against origin/main is usually an empty diff after push. For a
small stack, review each commit explicitly or review the branch before merging
with --base.
Format first if formatting can change line locations. Then it is OK to run tests and review in parallel:
.agents/skills/autoreview/scripts/autoreview --parallel-tests "<focused test command>"
Tradeoff: tests may force code changes that stale the review. If tests or review lead to code edits, rerun the affected tests and rerun review until no accepted/actionable findings remain. Once that rerun exits cleanly, stop; do not spend another long review cycle on redundant confirmation.
Codex review is usually noisy. Default to a subagent filter when subagents are available. Ask it to run the review and return only:
Run inline only for tiny changes or when subagents are unavailable.
Bundled helper:
.agents/skills/autoreview/scripts/autoreview --help
The helper:
--uncommitted firstgh pr view worksorigin/main for non-main branches--mode commit --commit <ref> for already-committed work, especially clean main after landing--mode auto or forced to --mode branch for PR/branch work; do not force --mode local after committing--reviewer codex|claude|pi|opencode|auto; auto runs Codex first--fallback-reviewer claude|pi|opencode|none; default is claude--output or AUTOREVIEW_OUTPUT is set--dry-run, --parallel-tests, and commit refs--dangerously-bypass-approvals-and-sandbox by default--full-access; use --no-yolo or AUTOREVIEW_YOLO=0 to opt outCODEX_REVIEW_* env vars when the matching AUTOREVIEW_* var is unsetautoreview clean: no accepted/actionable findings reported when the selected review command exits 0Include:
Do not run another Codex review solely to improve the final report wording. If the final helper run exited 0 and produced no accepted/actionable findings, report that exact run as clean.