Skip to content
Skill

Code review

Reviews pull requests for defects and conflicts with recorded architecture decisions

Code review is an open-source agent skill for developer tools. It is available on GitHub Copilot.

Scripts
None
Platforms
GitHub Copilot
GitHub stars
26
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Code review

This skill guides an AI agent through a read-only review of a pull request in the adrkit repository. It focuses on correctness, security, reliability and compatibility, and on whether the changes conflict with accepted architecture decision records. The agent is told to enumerate every changed path, trace behavior through callers and tests, and avoid praise, style-only remarks and speculative concerns.

When the adrkit MCP server is available, the workflow pulls governing decisions for the changed paths, follows paginated results to completion, and checks rejected or superseded records when a change appears to revive an old approach. Accepted decisions are treated as binding, proposed ones as non-binding context. If the server is unavailable, the skill tells the agent to disclose that decision compliance was not verified rather than parsing ADR files by hand.

Findings are only reported when they are demonstrable from the diff, tied to a changed line and resolvable within the pull request. Comments cite the affected path and any ADR id, and suggest the smallest correction. The skill is written for Copilot code review and needs the adrkit MCP server for its decision lookups.

When your agent uses it

Review pull requests in adrkit for actionable defects and conflicts with governing architecture decisions. Use during Copilot code review to inspect changed paths, retrieve relevant ADR context through the adrkit MCP server, and produce evidence-backed inline findings.

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 (5 KB) on GitHub on 3 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

Copy the skill folder to ~/.claude/skills/code-review to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-review &&
cp -R "$tmp/.github/skills/code-review" ~/.claude/skills/code-review &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-review &&
cp -R "$tmp/.github/skills/code-review" ~/.agents/skills/code-review &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-review &&
cp -R "$tmp/.github/skills/code-review" ~/.cursor/skills/code-review &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/code-review 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/mbeacom/adrkit.git --path .github/skills/code-review

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mbeacom/adrkit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-review &&
cp -R "$tmp/.github/skills/code-review" ~/.copilot/skills/code-review &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mbeacom/adrkit.git

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

The SKILL.md format

What it does

Changed path enumeration
Lists every added, modified and deleted file and traces each behavior through its callers and tests.
ADR context retrieval
Queries the adrkit MCP server for governing, proposed, rejected and superseded decisions tied to the changed files.
Paginated result handling
Walks both cursor channels of MCP responses until they are exhausted before drawing conclusions.
Evidence-backed inline findings
Reports only concrete bugs, vulnerabilities or decision conflicts that can be attached to a changed line.
Decision conflict checks
Cites the ADR id and requirement a change departs from, and recommends a superseding proposal instead of editing records.
Compliance disclosure
States when decision compliance could not be verified because the MCP server was unavailable.

Good for

  • Review a pull request for correctness and security problems
  • Check whether a change conflicts with an accepted architecture decision
  • Find out if a change reintroduces a previously rejected approach
  • Produce inline review comments on changed lines in a Copilot review

Code review FAQ

What does the skill need to run?

It needs the adrkit MCP server configured in the repository for decision lookups. Without it, the review continues but decision compliance is reported as unverified.

Does Code review modify code or ADR records?

No. The review is read-only, and the skill forbids editing, ratifying or marking ADRs as accepted.

When does Code review trigger?

It is described for use during Copilot code review of pull requests in adrkit.

How do I install Code review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-review to use it in all your projects, or to .claude/skills/code-review in one project.

Does Code review 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 Code review?

GitHub Copilot. 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 Code review?

The closest alternatives to Code review are Code review, Code review loop, Improve codebase architecture, Harness review and Arch review.

Where this comes from

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

More from mbeacom/adrkit

  1. Finds undocumented architecture decisions in code, docs and git history for ADR drafting

    • Open source
    • 26 GitHub stars
    • Developer tools
  2. Loads, checks and records architecture decisions (ADRs) so the agent plans against them

    • Open source
    • 26 GitHub stars
    • Developer tools