本文へスキップ
Skillpedia
一般的なプログラミング29k · #9502

named-persona-adversarial-review

できること

このスキルにより、エージェントはLinus TorvaldsやKen Thompsonといった専門家の既知の設計思想に基づいてコードをレビューします。一般的なコメントではなく、設計や製品への影響について具体的なフィードバックを求めるチームを対象としています。

使う場面

  • ✓プルリクエストが設計やユーザー体験に大きな影響を与えるとき。
  • ✓自動レビューが一般的すぎて役に立たないと感じるとき。
  • ✓名のあるエンジニアリングの原則に基づいたフィードバックが欲しいとき。

スキルのリンク

https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/named-persona-adversarial-review/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/alirezarezvani/claude-skills/blob/main/engineering-team/skills/named-persona-adversarial-review/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプルリクエストを、Linus TorvaldsとKen Thompsonならどうレビューするかという観点で確認してください。各指摘に、彼らの原則を引用してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、参照ファイルに記された文書化された思想に基づく複数のペルソナを使って変更をレビューします。各指摘に深刻度と確信度を付け、最後に「CONCERNS」などの判定を示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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: 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.
  2. Attach a confidence level to every attribution — high (documented, in references/persona_principles.md with a source), moderate (widely attributed, source not pinned), low/unknown (you're inferring). Mirrors productivity/andreessen's citation discipline.
  3. If you cannot ground a persona's lens in a real source, drop that persona. A confidently-wrong quote attributed to a living engineer is worse than one fewer reviewer. Never fabricate a citation to hit the "≥1 finding" bar.
  4. The finding must stand on its own technical merit. The persona is a lens that directs attention, not the authority that makes the finding true. A real bug found "through Carmack's lens" is real because it's a bug, not because Carmack said so.

Rules

  • Ground before role-play. Anchor each persona in references/persona_principles.md (or a verifiable search) first. Ungrounded = invalid.
  • Findings stand on technical merit, with the persona's principle as the lens — see the discipline above.
  • Product persona mandatory every round. Engineers miss UX. Always include one.
  • Honesty over quantity. Don't fabricate findings or citations. Clean dimensions get reported clean (with the zero-finding burden below).
  • Zero-finding burden. "Looks fine" is only valid if you name 3+ principles the code demonstrably satisfies, and how. Non-findings are as expensive as findings.

Persona Pools

Each persona's documented principles + sources + confidence live in references/persona_principles.md.

Product (pick 1 per round — mandatory):

Persona Documented principle Best for
Steve Jobs Start from the customer experience, work back to the tech UX, onboarding
Marty Cagan Fall in love with the problem, not the solution PRDs, feature specs, scope creep
Des Traynor (Intercom) The first 30 seconds decide adoption Docs, READMEs, quick starts

Engineers (pick 2 per round):

Persona Documented principle Best for Blind spot
Ken Thompson Trust boundaries; do one thing well Architecture, supply chain, API UX, docs
Linus Torvalds Eliminate the special case ("good taste"); never break userspace
よくある質問

これらのエンジニアの発言を作り出すことはありますか?

いいえ。スキルは、文書化された実在の原則だけを引用し、発言を創作しないよう定めています。

どのような判定を出しますか?

「CONCERNS」などの判定を示し、マージの前に何を修正すべきかを案内します。

どのエンジニアが含まれていますか?

参照ファイルには、TorvaldsやThompson、Carmack、Beck、Jobs、Caganなどのペルソナが含まれています。

詳細

作者による元の説明

Use when a PR has architectural or UX impact, or automated review feels generic, and you want it reviewed through named engineers' documented views (Torvalds, Thompson, Carmack, Beck, Jobs, Cagan). Cites the source for each persona's critique.

repo: alirezarezvani/claude-skills

人気

GitHubのスター
29k
ランキング
#9502
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル