skills/jb-autoreview/SKILL.md
Use when the user asks for autoreview, Codex/Claude second-model review, or final review of dirty changes, a branch, commit, or PR before ship.
npx skillsauth add bjesuiter/skills jb-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.
Generic structured closeout review for any git repo JB owns or works in.
This is a JB-generic fork of the OpenClaw/Steipete autoreview skill.
When asked to check for upstream updates, compare this skill and scripts/autoreview against the original URL/repository above.
Use this skill when the user asks for:
This is a review workflow, not an approval gate. Treat output as advisory.
Required:
gitcodexOptional:
claude for Claude reviews or review panelsgh for PR base detectiondroid or copilot if intentionally using those enginesThe helper resolves executables from absolute PATH entries outside the reviewed checkout, and rejects binaries inside the repo. This avoids accidentally running repo-provided fake tools.
From this skill directory:
scripts/autoreview --help
If installed globally, resolve the script path from the skill directory before running it. Do not assume the current repo contains this skill.
Let the helper auto-select when the user just says “autoreview”:
<autoreview-helper> --mode auto
Auto mode chooses:
gh pr view when available, else origin/mainmain → fails with “no review target” because there is no diff to reviewUse only for staged/unstaged/untracked work in the current checkout:
<autoreview-helper> --mode local
--mode uncommitted is accepted as an alias.
Use for committed branch work:
<autoreview-helper> --mode branch --base origin/main
If a PR exists, prefer its actual base:
base=$(gh pr view --json baseRefName --jq .baseRefName)
<autoreview-helper> --mode branch --base "origin/$base"
Optional review context is first-class:
<autoreview-helper> --mode branch --base origin/main --prompt-file /tmp/review-notes.md --dataset /tmp/evidence.json
Use for an already committed change or landed commit:
<autoreview-helper> --mode commit --commit HEAD
For small stacks, review each commit explicitly or review the whole branch against its base.
Codex is the default and usually the best closeout engine:
<autoreview-helper> --engine codex
Claude is available when requested:
<autoreview-helper> --engine claude
Do not silently switch engines or models. If the requested engine hits capacity, retry the same command a few times with the same engine/model.
After formatting, it is OK to run focused tests and review in parallel:
<autoreview-helper> --parallel-tests "npm test -- --runInBand"
If tests or review cause code changes, rerun focused tests and rerun autoreview until the helper exits cleanly with no accepted/actionable findings.
Multi-reviewer panels are opt-in only. Use them when explicitly requested or when risk justifies the extra spend:
<autoreview-helper> --panel
<autoreview-helper> --reviewers codex,claude
<autoreview-helper> --reviewers codex:gpt-5.1:high,claude:sonnet:max
Structured review can take up to 30 minutes.
Heartbeat lines like this are healthy progress:
review still running: codex elapsed=120s pid=12345
Do not kill the helper just because it has been quiet for 2–5 minutes. Let it continue while heartbeats advance. Use --stream-engine-output only when live engine text is useful.
Include:
If the final helper run exited 0 and produced no actionable findings, report that exact clean run as the closeout result.
testing
Use when the user mentions Clawpatch/clawpatch.ai, semantic feature review, repo-wide AI audit, persistent findings, or clawpatch init/map/review/report/fix/revalidate.
testing
Use when the user asks to cut, prepare, publish, tag, or verify a release, especially npm/package releases.
tools
Use when adding, writing, fixing, or exposing a script for the Tuna macOS launcher.
development
Use when smoke-testing a local web app, reproducing frontend bugs, verifying browser flows, or gathering evidence through PinchTab.