# Adversarial code review pass schema

> Adversarial code review pass schema is an open-source agent skill for developer tools. Reviews code diffs for schema, API contract and backward-compatibility risks. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/aws-solutions/konductor/tree/main/skills/adversarial-code-review-pass-schema
- **Repository:** https://github.com/aws-solutions/konductor
- **GitHub stars:** 12
- **License:** Apache-2.0
- **Skill name:** adversarial-code-review-pass-schema
- **Collection:** https://github.com/aws-solutions/konductor
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill points an agent at a code diff and asks it to look at the change through the lens of schema and contract stability. The agent checks for API shape changes, type or field removals and renames, new required inputs that lack a migration path, and validation that is missing or runs after side effects. It also looks for enum or error-code changes that consumers might depend on.

Findings are meant to be reported per concern, each with a file and line reference, a concrete failure scenario, and a suggested fix. Severity is graded from critical breaking changes down to suggestions. The skill tells the agent to check for existing validation middleware, versioning helpers and default-handling patterns before flagging something as missing, and to avoid flagging synthetic fixture data in tests.

The skill is one pass of a multi-pass adversarial review. It is intended to be spawned by a coordinator alongside security and integrity passes, and its output is treated as candidate findings for a separate checker rather than final verdicts. It consists of a single SKILL.md file with no scripts.

## When your agent uses it

> Reviews a diff through the lens of schema and contract: API/schema/type changes, backward compatibility, validation completeness. Use only when the adversarial-code-review coordinator spawns a session naming it, alongside the security and integrity passes.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aws-solutions/konductor/tree/HEAD/skills/adversarial-code-review-pass-schema)
- [License: Apache-2.0](https://github.com/aws-solutions/konductor/tree/HEAD/skills/adversarial-code-review-pass-schema)

## Features

- **Breaking change detection:** Flags removed, renamed or retyped fields in shipped APIs and data models.
- **Validation completeness checks:** Looks for new inputs that skip validation or run side effects before validation finishes.
- **Backward compatibility review:** Checks whether new required fields have defaults and migration paths for existing clients.
- **Wiring gap review:** Finds new handlers or routes not connected to the router, authorizer or middleware chain.
- **Structured findings output:** Reports each concern with severity, file and line, problem, and suggested fix.

## Good for

- Review this pull request for API breaking changes
- Check whether my new required field will break existing clients
- Audit the schema changes in this diff for backward compatibility
- Verify new request fields are validated in every entry point

## Install

### Claude Code

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

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

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

```sh
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-schema &&
cp -R "$tmp/skills/adversarial-code-review-pass-schema" ~/.claude/skills/adversarial-code-review-pass-schema &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
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-schema &&
cp -R "$tmp/skills/adversarial-code-review-pass-schema" ~/.agents/skills/adversarial-code-review-pass-schema &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
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-schema &&
cp -R "$tmp/skills/adversarial-code-review-pass-schema" ~/.cursor/skills/adversarial-code-review-pass-schema &&
rm -rf "$tmp"
```

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

### Gemini CLI

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

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

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

### VS Code

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

```sh
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-schema &&
cp -R "$tmp/skills/adversarial-code-review-pass-schema" ~/.copilot/skills/adversarial-code-review-pass-schema &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

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

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

## FAQ

### When does Adversarial code review pass schema trigger?

It is meant to be used only when an adversarial code review coordinator spawns a session that names it, alongside the security and integrity passes.

### Does Adversarial code review pass schema run scripts or need special tools?

No scripts are included and the allowed tools are not set. The skill consists of one SKILL.md file.

### Are its findings final?

No. The skill says its findings are candidates that a separate checker validates before anything is posted.

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

Copy the skill folder from GitHub to ~/.claude/skills/adversarial-code-review-pass-schema to use it in all your projects, or to .claude/skills/adversarial-code-review-pass-schema 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 schema 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 schema?

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 schema?

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

## Where this comes from

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

## Alternatives

- [Adversarial code review pass integrity](https://ai-powered.com/skills/adversarial-code-review-pass-integrity): Adversarial code review pass integrity is an open-source agent skill for developer tools.
- [Adversarial code review](https://ai-powered.com/skills/adversarial-code-review): Adversarial code review is an open-source agent skill for security.
- [Adversarial code review pass security](https://ai-powered.com/skills/adversarial-code-review-pass-security): Adversarial code review pass security is an open-source agent skill for security.
- [Code review loop](https://ai-powered.com/skills/code-review-loop): Code review loop is an open-source agent skill for developer tools.
- [Code review expert](https://ai-powered.com/skills/code-review-expert): Code review expert is an open-source agent skill for developer tools.
- [Code review and quality](https://ai-powered.com/skills/code-review-and-quality): Code review and quality is an open-source agent skill for developer tools.
- [Backend review](https://ai-powered.com/skills/backend-review): Backend review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-kripu77): Code review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/adversarial-code-review-pass-schema
