一键导入
jb-autoreview
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.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
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.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when setting up or reviewing a development environment, especially Varlock env schemas, gitignored env files, macOS Keychain/local secret storage, SOPS/age optional GitOps secrets, CI secret access, dotenv bootstrapping, or secure local dev onboarding.
Use when the repo has .beans or the user mentions beans, beans-prime, flat-file issues, task tracking, or issue status changes.
Opinionated JB GitHub Actions release-attempt workflow. Use only when the repo already has .github/workflows/jb-release-v1.yaml (or equivalent JB release-attempt workflow) or the user explicitly asks to set it up. Do not use for ordinary local releases; use jb-local-release instead.
Use when the user asks to run a local release flow: prepare version/changelog changes, run local checks, commit, tag, and optionally publish only when explicitly requested.
Query MDN Web Docs through the official MDN MCP server using a persistent mcporter config, avoiding a direct MCP connection in the agent harness. Use when checking current web platform docs, CSS/HTML/JavaScript/Web API behavior, MDN browser compatibility data, Baseline support, or when the user asks whether a browser feature is supported.
Use when the user asks for Chrome MCP/DevTools MCP via mcporter, existing Chrome tabs, console/network inspection, screenshots, or performance traces.
| name | jb-autoreview |
| description | 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. |
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.