# Adversarial Code Review

Reviews changes for correctness, root cause, simplicity and test quality before merge.

- Repository: https://github.com/apache/maka (5932 stars)
- Category: Git and review
- License: Apache-2.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add apache/maka --skill code-review -g -a claude-code -y`
Codex: `npx skills add apache/maka --skill code-review -g -a codex -y`
Cursor: `npx skills add apache/maka --skill code-review -g -a cursor -y`
Gemini CLI: `npx skills add apache/maka --skill code-review -g -a gemini-cli -y`

## Description

Adversarially review pull requests and code changes against the actual problem. Use for GitHub Copilot code review to assess correctness, root cause, simplicity, deletions, test quality, maintainability, and merge readiness.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->

# Adversarial Code Review

Review the change against the problem it claims to solve:

> Are all changes optimal for the actual problem? Do they follow first
> principles and Occam's razor? What low-quality tests or production code can
> be deleted? Should the solution be refactored into a better final structure?

## Review Method

The rest: https://github.com/apache/maka/blob/HEAD/.github/skills/code-review/SKILL.md
