AA

addyosmani/adverse

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

63 stars 品質 65 トレンド 18MIT

任意のコーディングエージェントのためのマルチエージェントの広告コードレビュー

概要

コーディングエージェントのマルチエージェントのコードレビュー。 スタンドアローンとクロードコードの両方として出荷 - ワークフローに合ったものをピックアップし、根本的なロジックは同じNode.jsコードです。 stdin を読み込み、stdout を記述する任意のコーディング エージェント CLI をラップします。 — Claude コード、Codex CLI、Gemini、Aider、Ollama です。 CI をゲートしたり、Makefile から実行したり、非整数型モデルを使用したりしたい場合に便利です。 スキルはスキル/逆レビュー/です。 Skill.sh でワンライナーインストール: これは、リポジトリをクローンし、スキル/逆レビュー/を見つけ、~/.claude/skills/adverse-review/(または.claude/skills/に--project)にインストールします。 再実行して更新します。 正確にサブパスをピントすると、npx のスキルは https://github.com/addyosmani/adverse/tree/main/skills/adverse-review] も機能します。 または手によってそれをして下さい: Claude Code では、"adversarial review", "これらの変更の副作用レビュー", または "複数の角度から私の変更を確認する" を尋ねます。 /adverse-review を押します.

概要(AI 翻訳)

any コーディングエージェントのマルチエージェント・アドバーサリアコードのレビュー。 standalone CLI と Claude Code Skill の両方で、ワークフローに合ったものを選ぶと、根本的なロジックは Node.js コードと同じです。

##2つの方法を実行

##CLIとして

stdin を読み込み、stdout を記述する任意のコーディング エージェント CLI をラップします。 — Claude コード、Codex CLI、Gemini、Aider、Ollama です。 CI をゲートしたり、Makefile から実行したり、非整数型モデルを使用したりしたい場合に便利です。

クロード・コード・スキルとして

スキルは[skills/adverse-review/にあります。 Skill.sh でワンライナーインストール:

リポジトリをクローンし、[skills/adverse-review/]を見つけて~/.claude/skills/adverse-review/]にインストールします。(または.claude/skills/]])。 再実行して更新します。 もしかしたら、そのサブパスをピントすれば、[npx skills add https://github.com/addyosmani/adverse/tree/main/skills/adverse-review]も機能します。 または手によってそれをして下さい:

Claude Code 内では、“adversarial review”, “これらの変更の副作用レビュー”, または “複数の角度から私の変更を確認する” を尋ねます。 [/adverse-review]] を押します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

adverse

Multi-agent adversarial code review for any coding agent. Ships as both a standalone CLI and a Claude Code Skill — pick whichever fits your workflow, the underlying logic is the same Node.js code.

$ adverse review ./src
⏳ collecting source...
   42 files in ./src
⏳ round 1: 3 reviewers in parallel...
   ✓ auditor:    5 findings, conditional (38.2s)
   ✓ adversary:  3 findings, reject       (44.7s)
   ✓ pragmatist: 4 findings, approve      (29.1s)
⏳ round 2: 3 reviewers cross-examining...
   ✓ auditor:    2 validated, 1 challenged, 0 added
   ✓ adversary:  4 validated, 0 challenged, 1 added
   ✓ pragmatist: 1 validated, 2 challenged, 0 added
⏳ synthesizing...

# Adversarial Code Review

**Verdict:** SHIP-WITH-CAVEATS (2/3 ship, 1/3 block)
**Findings:** 3 critical · 5 warning · 1 info

## Cross-validated findings (multiple reviewers reported independently)
### 🔴 [CRITICAL] SQL injection in query builder — db.py:22
…

Two ways to run it

As a CLI

Wraps any coding-agent CLI that reads stdin and writes stdout — Claude Code, Codex CLI, Gemini, Aider, Ollama. Good when you want to gate CI, run from a Makefile, or use a non-Anthropic model.

npm install -g adverse
# or run directly without installing:
npx adverse review ./src

As a Claude Code Skill

The skill is in skills/adverse-review/. One-liner install via skills.sh:

npx skills add addyosmani/adverse

That clones the repo, locates skills/adverse-review/, and installs it to ~/.claude/skills/adverse-review/ (or .claude/skills/ with --project). Re-run to update. If you’d rather pin the exact subpath, npx skills add https://github.com/addyosmani/adverse/tree/main/skills/adverse-review works too. Or do it by hand:

git clone https://github.com/addyosmani/adverse.git ~/.adverse-source
mkdir -p ~/.claude/skills
ln -s ~/.adverse-source/skills/adverse-review ~/.claude/skills/adverse-review

Inside Claude Code, ask for “adversarial review”, “adverse review of these changes”, or “review my changes from multiple angles” — or hit /adverse-review. The skill handles scope detection (uncommitted changes vs branch diff vs full tree), spawns three reviewer subagents in parallel via Claude Code’s native Agent tool (no nested-auth issues, no subprocess overhead), runs the cross-review round, and calls a small Node helper for the deterministic synthesis step. Needs node ≥ 20 on PATH; no npm install.

Both modes share the same src/ core, so a finding the CLI flags is the same finding the Skill flags — no drift between the two.

Why this design

The naive way to do “AI code review” is one model, one shot. You get one perspective with all the blind spots that perspective has.

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add addyosmani/adverse
MCP 初心者?mcpskill.org のガイドから始めましょう →