From woz
Runs a multi-persona deep code review across the full branch diff, with seven narrow-lens reviewers in parallel followed by a wide-lens cross-cutting pass. Catches subtle correctness bugs, DRY violations, and SDK-type drift before pushing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/woz:woz-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the heavyweight reviewer on the user's current branch. Reviews the full diff vs base (committed + staged + working + untracked) by fanning out to **seven narrow-lens reviewer personas in parallel**, followed by a sequential **wide-lens cross-cutting pass** that sees the narrow personas' findings as priors. Each persona gets pre-fetched knowledge-base context, personal-curation notes, and th...
Run the heavyweight reviewer on the user's current branch. Reviews the full diff vs base (committed + staged + working + untracked) by fanning out to seven narrow-lens reviewer personas in parallel, followed by a sequential wide-lens cross-cutting pass that sees the narrow personas' findings as priors. Each persona gets pre-fetched knowledge-base context, personal-curation notes, and the slice of CLAUDE.md relevant to its scope.
Narrow-lens personas (run concurrently):
Record<string, unknown> catch-alls, inline shape casts, null/undefined drift, || vs ??Wide-lens pass (sequential, after the narrow batch):
This is the deep pass. Different from the always-on PostToolUse reviewer:
| Live pass | Deep pass (this skill) | |
|---|---|---|
| Model | Sonnet 4.6 | your current model × 7 narrow + 1 wide-lens |
| Turn budget | 10 | 10 per narrow + 20 for cross-cutting |
| Scope | per-edit + branch context | whole branch, 7 specialized lenses + cross-cutting wide pass |
| Auto-patch | yes | read-only by default |
| Trigger | every Edit | manual / every 50 edits |
| Failure mode | full session lost | one persona aborts — the other 6 (and cross-cutting) still finish |
The live pass catches typos, style adherence, and recent-change drift cheaply. The deep pass is what competes with Greptile / human PR review on subtle correctness bugs (regex semantics, multi-file dispatch, error handling), DRY violations cloud bots can't see, and SDK-type drift. Run this before pushing.
TRIGGER on: "deep review", "final review", "review my branch", "woz review", "check my work", "is this ready to ship", or /woz-review.
The user may include flags in their message. Defaults if none specified:
Flags to recognize:
--save — also write the report to .wozcode/reviews/<branch>-<timestamp>.md.--apply — auto-apply high-confidence patch findings (like the live reviewer).--interactive — emit findings, then ask the user which to apply.--personas <list> — comma-separated subset of persona ids: consistency, duplication, codebase-reuse, type-safety, sdk-types, correctness, comments, cross-cutting. Defaults to all eight.--repo <path> — target a different worktree. Defaults to the session's cwd. Use this whenever the user wants to deep-review a repo other than the one this Claude session is running in (multi-worktree workflows). The branch diff, KB scope, CLAUDE.md, and applied patches all follow the resolved repo root.If the user is unclear, default to read-only + markdown.
Run WITHOUT 2>/dev/null or any stderr redirect — the CLI streams progress lines to stderr ("[t+12s] → knowledgeSearch query=…") so the user sees activity during the wait. Stdout still carries the final markdown report.
node --no-warnings=ExperimentalWarning ${CLAUDE_PLUGIN_ROOT}/scripts/woz-review.js [--save] [--apply] [--interactive] [--personas <comma-separated-ids>] [--repo <path>]
The CLI handles knowledge-base loading, diff packet construction, recursive reviewer invocation, and report formatting. Progress events flow to stderr; the final markdown report goes to stdout.
MANDATORY: the FIRST content of your assistant response after this CLI returns MUST be the CLI's complete stdout output, copied verbatim. No preamble ("Running the deep review..."), no summary ("Found 3 findings"), no editorial framing ("Here's what the reviewer said"). Just the markdown report itself, full text, exactly as the CLI printed it.
The report already starts with a # WozPairProgrammer Deep Review heading and self-describes its sections (summary, findings grouped by file, reasoning trace). It is the user-facing artifact. Do not paraphrase, abridge, or replace it with a summary.
Why this matters: prior dogfood showed the report often gets compressed to a one-line "reviewer surfaced N findings" summary in fresh threads, which silently drops every actionable finding. The user invoked this skill specifically to read the reviewer's verbatim output — anything less defeats the skill.
After the verbatim report, you MAY add (in this order, each optional):
--save was used noting where the file was written (the CLI's last stdout line already shows this).--interactive was used, a follow-up question asking which numbered findings to apply. Otherwise stay silent.Do not editorialize the findings, evaluate which are most important, or restate them in your own words. The reviewer's wording is the wording.
If the user replies with "fix", "apply", "do them", "fix all", or names specific finding numbers ("apply 1, 3"), THEN — and only then — execute the patches by calling the woz-edit tool with the patch payloads from the report. The report's ### N. 🔧 Edit blocks contain the exact oldString / newString content.
If the user replies with anything else (questions, follow-ups, no reply), don't apply anything. The report is read-only by default.
~/.woz/knowledge-base/repo/<owner__repo>/kb/. If the knowledge base hasn't been built for this repo, the reviewer still works but has no PR/code-history context. Mention this once if so./woz-review mid-edit, not just before push.--model claude-sonnet-4-6 if cost matters more than capability for this run.--personas to run a focused subset when you only care about one lens, e.g. --personas type-safety,sdk-types after a typing-focused refactor./woz-knowledge note "...") get pre-fetched into the matching personas' prompts. Notes about types feed type-safety; notes mentioning "duplicate" or "DRY" feed duplication; etc.npx claudepluginhub withwoz/wozcode-plugin --plugin wozReviews code changes using parallel personas for correctness, testing, maintainability, and conditional areas like security, performance, APIs. Merges into P0-P3 severity reports for PR prep and iterative feedback.
Runs a structured code review using Codex, Claude, or other engines as a closeout check before commit or ship.
Runs cross-model code reviews using the external Codex CLI tool from a Claude session. Catches bugs that single-model self-review would miss by leveraging a different reviewer architecture.