Skip to content
Skill

Adversarial code review pass integrity

Reviews a code diff for data integrity risks like partial writes and lost updates

Adversarial code review pass integrity is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
12
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Adversarial code review pass integrity

This skill gives an agent a focused review pass over a code diff, looking at data integrity: multi-item writes that need to be atomic, unguarded overwrites on contested resources, retries without idempotency, and ordering assumptions across async events. For each concern it asks the agent to cite the file and line, describe the concrete failure scenario, and propose a specific fix. Findings are graded CRITICAL, IMPORTANT or SUGGESTION.

The skill is written to be one of several parallel passes spawned by an adversarial code review coordinator, and it is meant to run inside a session that coordinator starts. It tells the agent to check the codebase for existing transaction helpers, idempotency middleware or shared repository layers before flagging something as missing, and it excludes single-item writes and fixture setup or teardown from scrutiny.

The skill is a single SKILL.md with no scripts. It expects a diff to review and works through the reasoning itself, and its findings are meant to be validated by a separate checker before anything is posted.

When your agent uses it

Reviews a diff through the lens of data integrity: multi-item mutations, atomicity, ordering, idempotency. Use only when the adversarial-code-review coordinator spawns a session naming it, alongside the security and schema passes.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the konductor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductor

Or copy only this skill to ~/.claude/skills/adversarial-code-review-pass-integrity:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/adversarial-code-review-pass-integrity &&
cp -R "$tmp/skills/adversarial-code-review-pass-integrity" ~/.claude/skills/adversarial-code-review-pass-integrity &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/adversarial-code-review-pass-integrity inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/adversarial-code-review-pass-integrity to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/adversarial-code-review-pass-integrity &&
cp -R "$tmp/skills/adversarial-code-review-pass-integrity" ~/.agents/skills/adversarial-code-review-pass-integrity &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/adversarial-code-review-pass-integrity inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/adversarial-code-review-pass-integrity to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/adversarial-code-review-pass-integrity &&
cp -R "$tmp/skills/adversarial-code-review-pass-integrity" ~/.cursor/skills/adversarial-code-review-pass-integrity &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/adversarial-code-review-pass-integrity inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/aws-solutions/konductor.git --path skills/adversarial-code-review-pass-integrity

Or copy the folder to ~/.gemini/skills/adversarial-code-review-pass-integrity yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/adversarial-code-review-pass-integrity:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/adversarial-code-review-pass-integrity &&
cp -R "$tmp/skills/adversarial-code-review-pass-integrity" ~/.copilot/skills/adversarial-code-review-pass-integrity &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/adversarial-code-review-pass-integrity inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/aws-solutions/konductor.git

Then copy konductor/skills/adversarial-code-review-pass-integrity into your agent's skills folder as adversarial-code-review-pass-integrity. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Multi-item mutation checks
Flags writes that must succeed or fail together but are not wrapped in a transaction.
Concurrency guard review
Looks for unconditional puts or updates on contested resources and missing version or condition checks.
Idempotency review
Flags retries of non-idempotent operations that lack an idempotency key.
Ordering and sequencing
Identifies dependence on ordering across independent async events without a sequencing mechanism.
Codebase-aware findings
Checks for existing helpers and shared layers before reporting missing implementations.
Severity-graded output
Reports each finding with file and line, failure scenario, fix and a CRITICAL, IMPORTANT or SUGGESTION rating.

Good for

  • Review a pull request diff for partial write risks
  • Check whether a new database update needs a condition expression
  • Look for retries that could duplicate writes
  • Audit an error-handling path for missing rollback
  • Verify that async event handlers do not rely on unguaranteed ordering

Adversarial code review pass integrity FAQ

When does Adversarial code review pass integrity trigger?

It is meant to be used when an adversarial code review coordinator spawns a session that names it, alongside security and schema passes. It is not meant for general use outside that workflow.

Does Adversarial code review pass integrity change any code?

No. It produces a findings list for a diff, and its output is meant to be checked by a separate validator before anything is posted to a pull request.

Does Adversarial code review pass integrity require any scripts or tools?

The skill has no scripts and does not set allowed tools. It works from the diff and the codebase it is run in.

How do I install Adversarial code review pass integrity in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/adversarial-code-review-pass-integrity to use it in all your projects, or to .claude/skills/adversarial-code-review-pass-integrity in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.

Does Adversarial code review pass integrity run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Adversarial code review pass integrity?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Adversarial code review pass integrity?

The closest alternatives to Adversarial code review pass integrity are Adversarial code review pass schema, Adversarial code review pass security, Adversarial code review, Code review loop and Code review expert.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from aws-solutions/konductor

  1. Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Installs, updates or removes the Konductor toolkit in a Kiro workspace with consent gates

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Onboards you to Konductor: install the CLI, set up agent content, and start a session

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Adversarial second-pass code review that hunts for disclosure, data integrity

    • Open source
    • 12 GitHub stars
    • Security