Skip to content
Skill

Adversarial code review pass schema

Reviews code diffs for schema, API contract and backward-compatibility risks

Adversarial code review pass schema 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 schema

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.

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

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/adversarial-code-review-pass-schema 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/adversarial-code-review-pass-schema 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-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.

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

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

Gemini CLI docs on skills

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

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.

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-schema into your agent's skills folder as adversarial-code-review-pass-schema. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

Adversarial code review pass schema 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.

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