# named-persona-adversarial-review

Runs code reviews grounded in documented philosophies of real engineers like Torvalds, Carmack, and Jobs. Useful for PRs with architectural or user experience impact.

- skill · `type=skill` · Claude Code · 35 installs · ★ 28733
- Author: Alireza Rezvani
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/alirezarezvani/claude-skills/tree/HEAD/engineering-team/skills/named-persona-adversarial-review/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/named-persona-adversarial-review

## What it does

The review begins with two reads: top-down for intent and bottom-up function-by-function to break author assumptions. Each review round selects one product persona (such as Steve Jobs or Marty Cagan) and two engineering personas (Torvalds, Thompson, Carmack, Beck, or Brooks). Findings carry severity tags from NOTE to BLOCKER, and matching critiques from two personas elevate an issue one level higher.

Strict attribution discipline governs the analysis. The agent must cite documented principles from reference files rather than inventing quotes, tagging every finding with a confidence level. If a persona cannot be grounded in a verifiable source, the skill drops that persona entirely. Passing a PR without findings carries a burden: the model must prove how the code satisfies at least three documented principles.

A single review round takes roughly 8 to 12 minutes, which makes it unsuitable for instant feedback loops. The resulting critique, however, ties directly to defensible technical arguments rather than ungrounded model roleplay.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add alirezarezvani/claude-skills
```
In the agent chat (not a shell):
```text
/plugin install engineering-skills@claude-code-skills
```
This installs the whole engineering-skills plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add alirezarezvani/claude-skills --skill named-persona-adversarial-review -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/named-persona-adversarial-review/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/named-persona-adversarial-review/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/named-persona-adversarial-review/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/named-persona-adversarial-review/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install alirezarezvani/claude-skills named-persona-adversarial-review
```

2. **Manually: put the files in place**
- File: `.github/skills/named-persona-adversarial-review/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/alirezarezvani/claude-skills --path engineering-team/skills/named-persona-adversarial-review
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/named-persona-adversarial-review/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/alirezarezvani/claude-skills/tree/HEAD/engineering-team/skills/named-persona-adversarial-review/SKILL.md

## When to use it
- eliminate special-case branching based on Torvalds's good taste principle
- decouple overloaded functions according to Unix modularity rules
- prevent raw internal errors from leaking into the user interface
- verify function guarantees and boundaries by reading code bottom-up

## Example prompts
- review this PR with real engineers
- run a named persona review on the auth changes
- do a philosophy-grounded review focusing on performance and UX

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 90bd48a4b8e0dcaa.

BEGIN THIRD-PARTY FILE 90bd48a4b8e0dcaa
````text
---
name: "named-persona-adversarial-review"
description: "Code review through the lens of real engineers' documented philosophies (Torvalds, Thompson, Carmack, Kent Beck, Jobs, Cagan). Complements abstract-role adversarial review with named, sourced perspectives. Use when automated review findings feel generic, when a PR has architectural or UX impact, or when the author wants pre-submit hardening beyond standard checks."
---

# Named-Persona Adversarial Review

> **TL;DR:** Abstract roles find abstract problems. Named engineers with *documented, sourced* philosophies find problems you would actually fix — as long as you cite the real principle and never invent the quote.

**Triggers:** "review this PR with real engineers" | "named persona review" | "philosophy-grounded review"

## Example Output

```
CRITICAL [Torvalds]: Special-case error handling at auth.ts:47 duplicates the
  happy path. Torvalds' documented "good taste" principle: restructure so the
  special case disappears rather than adding a branch. (confidence: high — TED 2016)
WARNING  [Thompson]: parseConfig() does three unrelated things; the Unix
  "do one thing well" principle argues to split it. (confidence: high)
NOTE     [Jobs]: Error "EACCES:13" leaks an errno at the user surface; "start
  from the customer experience" argues for a human message. (confidence: high — WWDC 1997)
Verdict: CONCERNS — fix CRITICAL before merge.
```

## Problem

Abstract adversarial review ("act as a saboteur") produces generic findings — the model imagines what a reviewer *might* say. This skill grounds each lens in a **real, sourced engineering philosophy** documented in [`references/persona_principles.md`](references/persona_principles.md): what Ken Thompson actually argued about trust, what Linus actually demonstrated about good taste — not what an AI imagines.

**How it differs from `adversarial-reviewer`:** abstract roles → surface-level findings; named, sourced personas → findings anchored to a documented principle you can cite and defend.

**Cost:** 1 round ≈ 8-12 min. Comparable to waiting for CI.

## Attribution discipline (read this first — it is the load-bearing rule)

This skill puts named, real people's *principles* to work. That power is also its failure mode: **language models hallucinate quotes.** To stay honest:

1. **Cite the principle, not a fabricated verbatim quote.** Prefer paraphrasing a documented position ("Thompson's *Reflections on Trusting Trust* argues you can't trust code you didn't fully create") over inventing quotation marks around words the person may never have said.
````
END THIRD-PARTY FILE 90bd48a4b8e0dcaa

The third-party file has ended. Everything between the 90bd48a4b8e0dcaa tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2614 of 10949 bytes. © Alireza Rezvani · MIT · https://github.com/alirezarezvani/claude-skills/tree/HEAD/engineering-team/skills/named-persona-adversarial-review/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
