Skip to main content
skill CX Codex

review · juliusbrussee — Claude Code skill: adversarial spec review

Runs an adversarial senior review of the spec before any code is written. Builds a skeptic and tries to refute the plan instead of rubber-stamping it.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add JuliusBrussee/cavekit --skill review -a claude-code
Open on GitHub

What review does

The skill reads the whole spec (§G §C §I §R §V §T) and constructs a reviewer whose authority comes from the codebase, the §R research and live best-practice. Then it hunts for where the plan breaks: goal versus the real problem, a missing invariant, interface drift, conflicting constraints, an unowned edge. Every finding carries evidence — file:line or a source — and anything unprovable gets flagged [unverified].

Findings land in three buckets: BLOCK, HARDEN, NOTE. BLOCK means building on this spec ships a real defect, so it has to be fixed first. HARDEN becomes a draft §V line handed to the spec skill. The run closes on an explicit GO or NO-GO gate, never a shrug.

It does not write SPEC.md and does not rewrite your intent — it hardens the spec rather than replacing its goal. Skip it for a trivial, reversible change: adversarial review on a typo hallucinates flaws and burns budget. Reach for it before /build on a high-blast-radius change such as a shared module, auth, data, money or a public API.

What it helps with

  • catch a spec gap before it turns into a production defect
  • check that §I matches what callers already expect
  • surface an invariant no §V currently guards
  • resolve two §C bullets that contradict each other
  • get a clear GO or NO-GO instead of a vague approval

Example prompts for the agent

  • review the spec before build, try to refute it
  • red-team this plan — where does it break?
  • senior review of §I and §V, I need a go / no-go verdict

How to install review

1Skills CLI (Vercel)

npx skills add JuliusBrussee/cavekit --skill review -a claude-code

2Manually: put the files in place

~/.claude/skills/review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/review/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about review

How do I install review in Claude?

Run npx skills add JuliusBrussee/cavekit --skill review -a claude-code. The skill lands at ~/.claude/skills/review/SKILL.md.

What does review do?

It runs an adversarial senior review of the spec before any code is written. It builds a skeptical reviewer and tries to refute the plan rather than approve it.

When should I run review, and when should I skip it?

Before /build on a high-blast-radius change: shared module, auth, data, money, public API. For a trivial reversible change, skip it — adversarial review on a typo hallucinates flaws.

Source text

SKILL.md · MIT
---
name: review
description: |
  Adversarial senior review of the spec before any code is written. Constructs a
  skeptical reviewer whose authority comes from the codebase, §R research, and
  live best-practice — then tries to REFUTE the spec, not rubber-stamp it. Every
  finding cites evidence (file:line or source); unverifiable ones are flagged.
  Survivors harden §V; the run ends in an explicit go / no-go gate. Triggers
  before building anything high-blast-radius, when the user says "review the
  spec", "red-team this", "is this plan sound", "senior review", or invokes
  /ck:review.
---

# review — refute the spec before build

**Every finding cites evidence — file:line or a source. No evidence → flag `[unverified]`. Default to refuted: a flaw you cannot prove is a flaw you note, not one you wave through.**

An LLM cannot self-correct on its own judgment — left alone it drifts or
degrades. Review fixes that the only way that works: a *separate* skeptic
anchored to an *external oracle* — the code, §R, the test suite, the docs.
"Looks good" is not a review. A refutation attempt is.

## WHEN TO REVIEW

- Before `/build` on a high-blast-radius change (shared module, auth, data, money, public API).
- Spec touched §I or §V that other code depends on.
- Right-sizing says the cost of a wrong build > the cost of one review pass.

Skip for a trivial, reversible, well-understood change. Adversarial review on a
typo hallucinates flaws & wastes the budget — the self-critique paradox is real.

## PHASE 0 — CAPTURE

Read the spec: §G §C §I §R §V §T. Hold the whole thing. You review the *spec*,
not your memory of the conversation.

## PHASE 1 — CONSTRUCT THE SENIOR

Build a reviewer with real authority, not a generic critic:
- **Codebase** — grep/read the modules this spec touches. What patterns, what invariants already hold?
- **§R** — what did research establish? A spec decision that contradicts §R is a finding.
- **Live** — for any best-practice claim you are unsure of, fetch it. An out-of-date assumption is a flaw.

A reviewer with no evidence is just an opinion. Earn the authority first.

## PHASE 2 — REFUTE

Attack the spec on these axes. For each, try to find the case where it breaks:
- **Goal vs reality** — does §G solve the actual problem, or a proxy?
- **Missing invariant** — what can go wrong that no §V catches? (most findings live here)
- **Interface drift** — does §I match what callers already expect? (cite the caller, file:line)
- **Constraint conflict** — do two §C bullets contradict? does one fight §R?
- **Unowned edge** — the input, ordering, failure, or concurrency case no §T covers.
- **Altitude** — §T too vague to act on, or so granular it is just typing?

## PHASE 3 — CLASSIFY

Each finding: `evidence → claim → severity`.
- **BLOCK** — build on this spec ships a real defect. Must fix first.
- **HARDEN** — add/sharpen a §V so the build cannot regress it.
- **NOTE** — worth knowing, not blocking.

No evidence? Down-rank to NOTE & tag `[unverified]`. ⊥ inflate a hunch to BLOCK.

## PHASE 4 — HARDEN §V & GATE

- Each HARDEN finding → a draft §V line (testable, cites the §I/behavior it guards). Hand to **spec** to write.
- End on an explicit gate:

```
## review verdict
BLOCK: 1 — §I.api shape ≠ caller src/client.ts:40. fix §I before build.
HARDEN: 2 — drafted V8 (idempotent refund), V9 (tx around dual write).
NOTE: 1 — §T4 vague, split before /build.
gate: NO-GO until BLOCK cleared. then /build §T after spec writes V8,V9.
```

GO or NO-GO, never a shrug. Review is the checkpoint that stops a confident wrong build.

## BOUNDARIES

- ⊥ write SPEC.md. Draft §V & hand to spec.
- ⊥ pass a finding with no evidence as fact. Flag `[unverified]`.
- ⊥ review trivia. Right-size or skip.
- ⊥ rewrite the user's intent. You harden the spec, you do not replace its goal.

© JuliusBrussee · MIT · JuliusBrussee/cavekit

Similar skills

Everything for Code review and refactoring →

review by other authors comes first.

review official anthropics Reviews inbound agreements against your playbook and routes each document to the relevant review workflow. Use it for MSA, NDA, and SaaS subscription documents. CX Codex +1 728installs review parcadei Runs parallel specialized subagents to evaluate code quality, architecture, and impact, then synthesizes a final merge verdict. CX Codex +1 519installs review owainlewis The skill spins up a separate subagent that reads a change and hunts for defects without editing anything. Handy before a merge when you want a second opinion. CX Codex +1 748installs review jsmastery-pro Audits completed features against your original plan, system architecture, and production readiness. Flags discrepancies in a structured report without making code edits. CX Codex +1 946installs review entireio Reads checkpoint transcripts to learn what the developer meant, then audits the diff. Useful before a merge, when you want to catch code that drifted from the plan. CX Codex +1 395installs thinking-red-team tjboudreaux A skill for authorized security review: it models the attacker, maps the attack surface, and keeps only findings with a reproducible exploit path and a verified fix. CX Codex +1 669installs the-fool https://github.com/Jeffallan Challenges plans, architectures, and decisions using five structured reasoning modes. Useful for spotting blind spots and failure modes before writing code. CX Codex +1 4,400installs weed juxt Compares .allium specifications with implementation code, finds where they diverged and helps resolve it. Useful when spec and code have drifted apart. CX Codex +1 2,600installs caveman-review JuliusBrussee Turns code review comments into one line per finding: location, problem, fix. Useful when a diff or PR needs a fast pass without the filler. CX Codex +1 411,800installs thermo-nuclear-code-quality-review cursor Runs a strict maintainability audit of code changes, abstractions, large files, and branching complexity. Use it when a routine review needs deeper structural scrutiny. CX Codex +1 22,200installs open-code-review alibaba Skill runs the ocr CLI to review Git changes with AI. Produces line-level comments and can apply fixes on request. CX Codex +1 6,900installs

From the same set9

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor