You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 11d7499
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .agents/skills/autoreview/SKILL.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ description: "Autoreview closeout: local dirty changes, PR branch vs main, paral
7
7
8
8
Run Codex's built-in code review as a closeout check. This is code review (`codex review`), not Guardian `auto_review` approval routing.
9
9
10
+
Codex native review mode performs best and is recommended. Non-Codex reviewers are fallback/second-opinion paths that receive a generated diff prompt, not the full Codex review-mode runtime.
11
+
10
12
Use when:
11
13
- user asks for Codex review / autoreview / second-model review
12
14
- after non-trivial code edits, before final/commit/ship
@@ -21,7 +23,7 @@ Use when:
21
23
- Prefer small fixes at the right ownership boundary; no refactor unless it clearly improves the bug class.
22
24
- Keep going until the selected review path returns no accepted/actionable findings.
23
25
- If a review-triggered fix changes code, rerun focused tests and rerun the review helper.
24
-
- Default to Codex review. If Codex is unavailable or exits with an error, the helper may fall back to `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.
26
+
- Default to Codex review. If Codex is unavailable or exits with an error, the helper may fall back to `claude -p`; `pi -p`, `opencode run`, `droid exec`, and `copilot`are explicit reviewer/fallback options. Prefer Codex for final closeout because it uses native review mode; non-Codex reviewers use a Codex-inspired generated diff prompt. The helper runs nested Codex review in yolo/full-access mode by default; use `--no-yolo` only when intentionally testing sandbox behavior.
25
27
- Stop as soon as the review command/helper exits 0 with no accepted/actionable findings. Do not run an extra direct `codex review` just to get a nicer "clean" line, a second opinion, or clearer closeout wording.
26
28
- Treat the helper's successful exit plus absence of actionable findings as the clean review result, even if the underlying Codex CLI output is terse.
27
29
- If rejecting a finding as intentional/not worth fixing, add a brief inline code comment only when it explains a real invariant or ownership decision that future reviewers should know.
@@ -107,8 +109,8 @@ The helper:
107
109
- otherwise uses `origin/main` for non-main branches
108
110
- use `--mode commit --commit <ref>` for already-committed work, especially clean `main` after landing
109
111
- should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing
110
-
- supports `--reviewer codex|claude|pi|opencode|auto`; `auto` runs Codex first
111
-
- supports `--fallback-reviewer claude|pi|opencode|none`; default is `claude`
112
+
- supports `--reviewer codex|claude|pi|opencode|droid|copilot|auto`; `auto` runs Codex first
113
+
- supports `--fallback-reviewer claude|pi|opencode|droid|copilot|none`; default is `claude`
112
114
- falls back only when Codex is unavailable or exits nonzero, not when Codex reports findings
113
115
- writes only to stdout unless `--output` or `AUTOREVIEW_OUTPUT` is set
114
116
- supports `--dry-run`, `--parallel-tests`, and commit refs
0 commit comments