skills/autoreview/SKILL.md
Run a Codex-only structured code review closeout for local, branch, or commit diffs. Use when the user asks for autoreview, Codex review, structured closeout review, final review before commit/ship, or review after non-trivial code edits.
npx skillsauth add bjornmelin/dev-skills autoreviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the bundled Codex structured review helper as a closeout check. Treat the result as advisory: verify every finding against the real code before changing files, and reject speculative or over-broad findings.
codex exec instead of codex review so it can enforce structured JSON output and deterministic pass/fail behavior.Dirty local work:
skills/autoreview/scripts/autoreview --mode local
Branch work:
skills/autoreview/scripts/autoreview --mode branch --base origin/main
Committed single change:
skills/autoreview/scripts/autoreview --mode commit --commit HEAD
Use --mode local only when the patch is actually unstaged, staged, or
untracked in the current checkout. For committed, pushed, or PR work, review the
commit or branch diff instead.
--model <model>: pass a Codex model override; omit it to inherit the configured Codex model.--reasoning-effort none|minimal|low|medium|high|xhigh|max|ultra: pass Codex model reasoning effort; omit it to inherit the configured/model default.--web-search: opt into Codex web search for dependency/API/security research; default is off to match Codex review behavior.--prompt / --prompt-file: add task-specific review instructions.--dataset <file>: include extra evidence in the review bundle.--parallel-tests "<command>": run focused tests while Codex reviews the frozen bundle.--output <file> / --json-output <file>: persist human or structured output.--dry-run: print target selection without invoking Codex.Format first if formatting can change line locations. If tests or review cause edits, rerun the affected tests and rerun autoreview until the helper exits cleanly.
The helper:
--mode autoorigin/main for non-main branch reviewcodex exec with read-only sandboxing and structured JSON output--model only for deliberate overrides--output or --json-output is setreview still running: codex elapsed=<seconds>s pid=<pid> while waitingautoreview clean: no accepted/actionable findings reported on a clean resultInclude:
development
Pre-PR multi-model review, parallel opus and codex exec adversarial lanes, then adversarial verification of merged findings. Read-only. Use before shipping nontrivial diffs.
tools
Independent gpt-5.6 diff review via the Codex CLI, normal or steerable adversarial with JSON findings. Use before shipping nontrivial changes.
development
Delegate implementation, investigation, or bulk work to gpt-5.6 codex via pinned codex exec. Use for clear-spec builds, migrations, debugging, or any task MODELS.md routes to codex.
development
Adversarial pre-mortem: imagine the plan failed, work backwards to surface risky assumptions + irreversible bets, then harden them. Proactively offer it (after the current request; confirm first) before a hard-to-reverse or one-way-door call (API, schema, framework, a hire), an all-upside plan, or unvalidated assumptions. Also on request.