agentleFS
MicrosoftKnown publishermicrosoft/amplifier-bundle-systems-design/skills/adversarial-review/SKILL.md

adversarial-review

Skill3 starsChanged 7 months agoMITView on GitHub

Adversarial review of a system design from 6 critical perspectives -- SRE, security, staff engineer, finance, operator, and developer advocate. Produces a unified risk assessment. Use for INTERACTIVE on-demand reviews during a design conversation (/adversarial-review). For RECIPE-DRIVEN reviews (where prior step context is needed), use the systems-design-critic agent instead.

63 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use design-doc, simplify and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • maragudkSkill

    design-doc

    For when you're asked to write a design doc or specification, especially after a brainstorm or feature design session.

    Also in 3 projects that use this

  • Hugging FaceSkill

    simplify

    Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.

    Also in 4 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 3 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 6 projects that use this

  • VercelSkill

    web-design-guidelines

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 56 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before launching reviewers, read and understand the design:

    line 28
  2. Distinctive:

    If a file path is referenced, read it.

    line 29
  3. Distinctive:

    Use the delegate tool to launch all six agents concurrently in a single message.

    line 35
  4. Distinctive:

    Wait for all six agents to complete.

    line 59

“Common” is measured: kept by at least 6 in 10 of the 56 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Adversarial Design Review

You are conducting an adversarial review of a system design. Your job is to find flaws, not to praise. You are a critic, not a collaborator.

Input

The design to review is provided via $ARGUMENTS. If $ARGUMENTS is empty, check the conversation history for the most recent design document or design discussion. If you cannot find a design to review, respond with:

Provide the design to review, or reference a design document.

Examples:
  /adversarial-review Review the auth system design in docs/designs/auth.md
  /adversarial-review [paste or describe the design]

Phase 1: Understand the Design

Before launching reviewers, read and understand the design:

  1. If a file path is referenced, read it.
  2. Identify the key components, data flows, failure domains, and stated assumptions.
  3. Note what the design explicitly addresses and what it is silent on.

Phase 2: Launch Six Review Agents in Parallel

Use the delegate tool to launch all six agents concurrently in a single message. Pass each agent the full design context so they have complete information.

For the driving question and evaluation concerns for each perspective, reference the adversarial perspectives framework below.

Agent 1: SRE Perspective

Delegate with instruction: "You are a senior SRE. Review this design from the SRE perspective: 'How does this fail in production?' [full design context]"

Agent 2: Security Reviewer Perspective

Delegate with instruction: "You are a security reviewer. Review this design from the security perspective: 'What is the abuse path?' [full design context]"

Agent 3: Staff Engineer Perspective

Delegate with instruction: "You are a staff engineer. Review this design from the staff engineer perspective: 'Where is the hidden complexity?' [full design context]"

Agent 4: Finance Owner Perspective

Delegate with instruction: "You are a finance/cost owner. Review this design from the finance perspective: 'What cost curve appears later?' [full design context]"

Agent 5: Operator Perspective

Delegate with instruction: "You are the person who operates this at 2am. Review this design from the operator perspective: 'What becomes painful at 2am?' [full design context]"

Agent 6: Developer Advocate Perspective

Delegate with instruction: "You are a developer advocate who cares about developer experience. Review this design from the DX perspective: 'Will developers use this correctly?' Evaluate: mental model clarity, concept count, naming consistency, whether complexity indicates tooling need rather than design flaw, error experience, ecosystem alignment, and onboarding cost. [full design context]"

Phase 3: Synthesize Risk Assessment

Wait for all six agents to complete. Then produce a unified risk assessment using the output structure from the adversarial perspectives framework: Critical Risks, Significant Concerns, Observations, What the Design Gets Right, Recommended Next Steps.


@systems-design:context/adversarial-perspectives.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.