zscole

Adversarial Spec — Testing skill for Claude Code

Testing community intermediate

A Claude Code plugin that iteratively refines product specifications by debating between multiple LLMs until all models reach consensus.

How to install Adversarial Spec

This entry records only its repository, not the path inside it, so there is no exact command to give. Open zscole/adversarial-spec and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Adversarial Spec does

A Claude Code plugin that iteratively refines product specifications through multi-model debate until consensus is reached.

Alternatives in Testing

  • #29 — #52, #103) 92.5k ★
  • Develop Web Game — Build and test web games iteratively using Playwright with time-stepping 14.6k ★
  • Flow Spec — NLSpec authoring — use when you need a structured specification from multi-AI research and consensus 2.8k ★

README

adversarial-spec

A Claude Code plugin that iteratively refines product specifications through multi-model debate until consensus is reached.

**Key insight:** A single LLM reviewing a spec will miss things. Multiple LLMs debating a spec will catch gaps, challenge assumptions, and surface edge cases that any one model would overlook. The result is a document that has survived rigorous adversarial review.

**Claude is an active participant**, not just an orchestrator. Claude provides independent critiques, challenges opponent models, and contributes substantive improvements alongside external models.

Quick Start

# 1. Add the marketplace and install the plugin
claude plugin marketplace add zscole/adversarial-spec
claude plugin install adversarial-spec

# 2. Set at least one API key
export OPENAI_API_KEY="sk-..."
# Or use OpenRouter for access to multiple providers with one key
export OPENROUTER_API_KEY="sk-or-..."

# 3. Run it
/adversarial-spec "Build a rate limiter service with Redis backend"

How It Works

You describe product --> Claude drafts spec --> Multiple LLMs critique in parallel
        |                                              |
        |                                              v
        |                              Claude synthesizes + adds own critique
        |                                              |
        |                                              v
        |                              Revise and repeat until ALL agree
        |                                              |
        +--------------------------------------------->|
                                                       v
                                            User review period
                                                       |
                                                       v
                                            Final document output
  1. Describe your product concept or provide an existing document

...