/spectre:spectre-code_reviewfrom spectre
Runs a final adversarial code review through a pinned high-effort opposing runtime, falsifying correctness, safety, production readiness, and requirement delivery. Use at final boundaries only, not for partial checkpoints.
Ships in spectre. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Try to prove the work wrong, unsafe, unreachable, or unable to meet requirements. Accept correctness only if evidence survives adversarial scrutiny; never defend the implementation.
$ARGUMENTS: feature/root or descendant artifact, focus, diff/base range, source-plan path, immutable BASE_SHA/HEAD_SHA/DIFF_SHA256 tuple, and --orchestrated.tasks.json parents, else an explicit source-plan path before plan.md, then request+diff. execute.md only locates tasks.FEATURE_ROOT only when explicit/current-thread evidence ties it to this work (physical directory wins; never branch/recency/lifecycle/scans); distinct work ignores ambient roots. Otherwise, including on collision, standalone MUST first load and follow @skill-spectre:spectre-feature-root through DONE; orchestrated calls escalate. Keep writes beneath it and pass it unchanged.REVIEW_REPORT={FEATURE_ROOT}/reviews/comprehensive_code_review.md; replace it for the current candidate. Git history preserves prior decisions without accumulating sibling reports.REVIEW_REPORT follows references/adversarial-review.md: bounded scope and tuple; verdict; evidence-backed findings; coverage; per-requirement delivery; scope/dead-path audits; actions; route metadata.
DONE when schema validation passes; scope/tuple are unchanged; every requirement/AC has one evidence-backed status; audit and route metadata exist; findings satisfy identity/evidence rules; and only the report changed.
references/adversarial-review.md and send it verbatim to one fresh reviewer, followed only by structured context: feature/root and REVIEW_REPORT; focus; immutable diff/base tuple; requirement/AC source paths and ids; changed files, direct dependencies/importers, and tests; exclusions; route metadata and fallback reason. Reviewers read the supplied diffs/task graphs; the primary does not paraphrase or augment the template.claude -p --model claude-opus-5-5 --effort high --permission-mode dontAsk --allowedTools "Read,Grep,Glob,LS,Bash(mkdir -p *),Bash(git diff *),Bash(git show *),Bash(git status *),Bash(git rev-parse *),Write" --output-format text "$REVIEW_PROMPT"
Claude primary runs:
codex exec -C "$PWD" -m gpt-6-sol -c 'model_reasoning_effort="high"' -s workspace-write "$REVIEW_PROMPT" < /dev/null
Record route metadata as Claude Code|claude-opus-5-5|high|Codex -> Claude Code or Codex|gpt-6-sol|high|Claude Code -> Codex. Keep a 20-minute launcher-side poll limit; do not pass duration guidance to the reviewer. Quiet output is not failure. The reviewer writes only REVIEW_REPORT. Primary semantic self-review is prohibited.@spectre:reviewer with the same verbatim template and structured context. It returns the report in-thread for unchanged persistence. Record native-subagent|runtime-native|inherited|native-fallback plus reason. A usable review ends semantic review.git diff --binary --full-index --no-ext-diff --no-color --no-renames before dispatch and after report creation; mismatch makes the report stale. Validate the template's required sections, scope, exhaustive delivery coverage, and metadata. The primary may mechanically normalize report-only counts, paths, citations, metadata, sections/tables, and severity enums from existing reviewer semantics, but may not originate or materially reinterpret findings. An unusable native report remains incomplete.--orchestrated: verdict, counts, CRITICAL/HIGH evidence/IDs, metadata/report; no step.
| Handoff | Details |
|---|---|
| 🧭 Current phase | Done |
| 📦 What was just done | Result |
| ▶️ Proposed next step | Render resolved action. |
Standalone: verdict/runtime/fallback/report + numbered CRITICAL/HIGH; blockers → Fix, otherwise uncovered acceptance → Execute and closeout → Ship.
Scope Change Required and exclude it from the blocking verdict.Next step: follow the verdict-specific handoff.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub joenandez/spectre --plugin spectre20 skills in this plugin
/spectre-captureCapture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed persistent blockers as soon as they matter. The user's correction is sufficient authority without code corroboration. Do not use for routine progress, transient errors, incidental code, task outcomes, or historical work accounts./spectre-create_prGenerate a grounded draft pull request from the actual diff and open it via gh. Use when wrapping up a branch or writing a PR description; not for Ship-owned cleanup, rebase, or delivery sequencing./spectre-doctorAssess and repair a project's Spectre knowledge, work history, tags, and retrieval quality through primary-led decisions, parallel evidence review, and delegated repairs. Use for corpus cleanup, claim accuracy review, legacy migration, format compliance, or Knowledge Doctor. Not for installer/runtime diagnostics, product-code fixes, or routine capture./spectre-executeExecute tasks/plans with checks/reviews/proof. Use after planning/resume. Not for planning, unplanned fixes, or pruning./spectre-feature-rootInternal initializer for a missing Spectre feature root. Invoke only from a standalone workflow with no confirmed managed root. Do NOT invoke for existing roots, orchestrated calls missing a root, or direct user requests./spectre-fixInvestigate a reported bug, pin its root cause, and prepare an Execute handoff. Use for errors, stack traces, failing behavior, or repro steps. Do NOT use for greenfield work (plan/execute) or a complete repair report (execute).Other plugins' skills for the same job