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 ab1fedb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .agents/skills/autoreview/SKILL.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ Run the bundled structured review helper as a closeout check. This is code revie
10
10
Codex review is the default when no engine is set. It usually delivers the best review results and should remain the normal final closeout engine.
11
11
12
12
Use when:
13
+
13
14
- user asks for Codex review / Claude review / autoreview / second-model review
14
15
- after non-trivial code edits, before final/commit/ship
15
16
- reviewing a local branch or PR branch after fixes
@@ -126,21 +127,23 @@ If installed from `agent-scripts`, path is:
126
127
```
127
128
128
129
The helper:
130
+
129
131
- chooses dirty local changes first
130
132
- otherwise uses current PR base if `gh pr view` works
131
133
- otherwise uses `origin/main` for non-main branches
132
-
- supports `--engine codex` and `--engine claude`; default is `AUTOREVIEW_ENGINE` or `codex`; Codex should remain the default when nothing is set
134
+
- supports `--engine codex`, `claude`, `droid`, and `copilot`; default is `AUTOREVIEW_ENGINE` or `codex`; Codex should remain the default when nothing is set
133
135
- use `--mode commit --commit <ref>` for already-committed work, especially clean `main` after landing
134
136
- should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing
135
137
- writes only to stdout unless `--output` or `--json-output` is set
- allows read-only tools and web search by default; forbids nested review in the prompt; Codex is run through `codex exec` with read-only sandbox and structured output
139
+
- allows read-only tools and web search by default where the selected CLI supports them; forbids nested review in the prompt; Codex is run through `codex exec` with read-only sandbox and structured output
138
140
- prints `autoreview clean: no accepted/actionable findings reported` when the selected review command exits 0
139
141
- exits nonzero when accepted/actionable findings are present
raiseSystemExit("--no-tools is not supported by the copilot engine; copilot requires a read-only file view tool to load the review bundle without exposing it in argv")
parser.add_argument("--no-tools", dest="tools", action="store_false", default=True, help="Disable tools for engines that support it. Codex requires tools for review.")
parser.add_argument("--no-tools", dest="tools", action="store_false", default=True, help="Disable tools for engines that support it. Codex and copilot reject no-tools review.")
0 commit comments