adversarial-review
Skill by redis
Adversarially reviews a diff, patch or plan for memtier_benchmark using the review standards of the project's senior maintainers. It returns skeptical, evidence-backed findings with severity levels and a verdict. Aimed at contributors preparing a pull request.
Install adversarial-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/redis/memtier_benchmark /tmp/memtier_benchmark && mkdir -p ~/.claude/skills && cp -r /tmp/memtier_benchmark/.claude/skills/adversarial-review ~/.claude/skills/adversarial-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/redis/memtier_benchmark /tmp/memtier_benchmark && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/memtier_benchmark/.claude/skills/adversarial-review ~/.gemini/antigravity-cli/skills/adversarial-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Adversarial review is a skill for the redis/memtier_benchmark C and C++ codebase. It reviews a git diff, a set of changed files, or a written plan against review bars drawn from comments by three senior maintainers: Yossi Gottlieb, Oran Agra and Paulo Sousa. It assumes a problem is real until it can be refuted from the code.
For each lens, the assistant checks every changed hunk for issues such as code duplication, missing code paths, buffer sizing, numeric precision, dead code and build rules like the VLA ban. Each finding lists severity, persona, file and line, evidence and a fix. The review ends with an APPROVE or REQUEST CHANGES verdict. It is written for contributors who want to catch what a reviewer would block on before opening or merging a pull request.
Written from the project's SKILL.md and checked against it.
What it can do
- Correctness reviewChecks new behavior on all connections, threads and error paths, not only the primary one.
- Duplication checkFlags logic that repeats an existing function, class or helper instead of reusing it.
- Numeric and buffer reviewFlags float precision loss, integer overflow and fixed buffers that may be too small.
- Dead code and clarity reviewFlags unused functions, stray files, out-of-place comments and unclear timing code.
- Build and portability reviewChecks C++11 rules, the VLA ban, new warnings and platform guards for Linux-only APIs.
- Structured findingsReturns JSON entries with severity, persona, file and line, evidence and a suggested fix.
- VerdictEnds with APPROVE or REQUEST CHANGES, based on the count of high and medium findings.
What you need
- A git checkout of redis/memtier_benchmark with a master branch
- A diff, patch or written plan to review
Try asking
- Adversarially review my branch diff against master for memtier_benchmark
- Review this patch like the maintainers and list what they would block on
- Check this memtier_benchmark plan for duplicated code paths before I start
Good to know
- Built for the memtier_benchmark codebase and its review bars
- Personas are based on maintainer comments, not on live maintainer review
- Findings should be checked by a human, since some may be uncertain
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/adversarial-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to adversarial-review
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
adversarial-review: common questions
Who is adversarial review for?
It is written for contributors to redis/memtier_benchmark who want to find what a senior maintainer would block on before opening or merging a pull request.
Which maintainers' standards does it use?
It uses review standards drawn from comments by Yossi Gottlieb (yossigo), Oran Agra (oranagra) and Paulo Sousa (paulorsousa).
What does the review output look like?
It returns a JSON array of findings with severity, persona, file and line, issue, evidence and suggestion, followed by a count by severity and a verdict.
How do I install adversarial-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is adversarial-review free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is adversarial-review safe to use?
It scores 77 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to adversarial-review?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
