Official agent skill

Code Review

by microsoft in microsoft/oxidizer

Review guidance for pull requests in this repository. An agent skill from microsoft/oxidizer.

OfficialMITAuto-check passedDevelopment

Install Code Review

skills CLI
$ npx skills add microsoft/oxidizer --skill code-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/oxidizer code-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/oxidizer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/code-review .claude/skills/code-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-review
GitHub stars
178
Token cost
~1.7k tokens
SKILL.md length
1,022 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Review guidance for pull requests in this repository. An agent skill from microsoft/oxidizer.

  • Works in 8 steps: Never predict build, lint, or test… → Do not assert an API from memory → Check the edition and toolchain before… → …
  • Reviewing a pull request
  • SKILL.md covers The evidence rule, 1. Never predict build, lint,…, 2. Do not assert an API from… and 3. Check the edition and…, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Review is an agent skill from microsoft/oxidizer, published by the product's own GitHub organization. Review guidance for pull requests in this repository. Use when reviewing a pull request, to keep comments on evidence you can see rather than on predicted build outcomes, remembered API signatures, or assumed conventions.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests and Code review. The repository describes itself as: Oxidizer is a platform for Rust service development which bridges the gaps in the crate ecosystem to deliver a turn-key solution to enable the efficient creation of high-scale… The licence is MIT.

When your agent uses it

  • Reviewing a pull request
  • Keep comments on evidence you can see rather than on predicted build outcomes
  • Remembered API signatures
  • Assumed conventions

Example prompts

  • “/code-review”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Never predict build, lint, or test outcomes
  2. Do not assert an API from memory
  3. Check the edition and toolchain before "not in scope"
  4. Convention claims need evidence from this repo
  5. Do not generalise a local pattern past the policy that governs it
  6. Design changes need a concrete failure path
  7. One comment per root cause
  8. Grammar and style: only when unambiguous

What it can do on your machine

Read from SKILL.md and the folder at commit 7a2de8f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Review loads about 1.7k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 1,022 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/oxidizer at commit 7a2de8f, republished under its MIT licence (© microsoft). 1,022 words, ~1,705 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder).
name
code-review
description
Review guidance for pull requests in this repository. Use when reviewing a pull request, to keep comments on evidence you can see rather than on predicted build outcomes, remembered API signatures, or assumed conventions.
license
MIT
<!-- GENERATED BY cargo-anvil. DO NOT EDIT DIRECTLY. -->

Code review

This skill applies when reviewing pull requests. It does not apply to the coding agent when it writes code — see AGENTS.md for that.

Every rule below exists because a review comment was filed, argued, and withdrawn. The cost of a wrong comment is not zero: the author has to reproduce your claim, disprove it, and write the rebuttal.

The evidence rule

Comment only on what you can see in the diff, in a file you have read, or in this repository's own configuration. Anything else — what an API's signature is, what a constant's value is, what compiles, what the local convention is — is a guess. If you cannot point at the evidence, do not file the comment.

When you do file one, name the evidence: the file and line you read, the config key you checked, the sibling cases you compared against.

1. Never predict build, lint, or test outcomes

Every pull request is validated by CI. Do not claim code "won't compile", "fails to build", "has a type error", "is missing an import", "won't link", or "will throw at runtime" — CI is the source of truth, and you are not running it.

This is the single largest source of withdrawn comments. Real examples, all wrong:

  • "size_of is not in the prelude" — it is, in edition 2024, and this workspace's Clippy rejects the explicit import as redundant.
  • "Future is not in scope" — also in the 2024 prelude.
  • "Duration::from_mins does not exist" — it exists on the pinned toolchain, and a Clippy lint here requires it over from_secs(15 * 60).
  • "LocalKey has no set, use with(|cell| …)" — LocalKey<Cell<T>> has set/get.
  • "array::from_fn takes two generic parameters" — it takes three (T, N, and the closure).
  • "self.0.1 is not valid tuple access" — rustc splits a float literal in field position back into .0 and .1.
  • "splatting a List[string] will throw" — PowerShell splatting enumerates generic lists.

If you believe there is a real logic, correctness, security, or design problem, describe that without predicting a compiler, linter, or test result.

2. Do not assert an API from memory

Signatures, generic arity, trait bounds, and constant values are the things you are most confident and most often wrong about. Before writing "X does not exist", "X takes N arguments", or "X equals V":

  • Read the definition, or the vendored header, or the crate's docs.
  • If you cannot, say what you observed and ask, rather than asserting.

One withdrawn comment built an entire boundary-condition bug report on WINHTTP_IGNORE_REQUEST_TOTAL_LENGTH being u32::MAX. It is 0.

3. Check the edition and toolchain before "not in scope"

A missing use is not evidence of a missing import. Read Cargo.toml for edition and rust-toolchain.toml for the pinned version first. The 2024 prelude added Future, IntoFuture, and the std::mem size/align functions, among others — code that looks under-imported for edition 2015 is usually correct.

The same applies to MSRV: a constructor you do not recognise may simply be newer than your training data and older than the pin.

4. Convention claims need evidence from this repo

Do not write "this repo prefers X" or "the convention here is Y" from a single observed file. Before claiming a convention:

  1. Check the machine-enforced source first — clippy.toml, rustfmt.toml, lint tables, AGENTS.md, .editorconfig. If a tool already permits both forms, there is no convention to enforce.
  2. Count the counter-examples. "Prefer unwrap over expect in tests" was filed against a workspace where 60+ test files use expect, and where clippy.toml sets allow-unwrap-in-tests = true precisely to allow both.
  3. Never contradict a finding you made earlier in the same review.

If a convention is real but only partly applied, say so and scope the request — filing it on five of twenty sites leaves the codebase less consistent than before, not more.

Show full SKILL.md (401 more words)Show less

5. Do not generalise a local pattern past the policy that governs it

"This entry should also include X, like the others" requires checking all the others. Two withdrawn comments asked for an exception to be added to a list that was deliberately uniform: a mutation-test group that intentionally never pulls in a *_testing sibling, and a Miri exclusion list that intentionally covers every *_macros_impl crate as a cost policy.

If the surrounding entries are consistent and the new one matches them, the new one is correct. Changing the convention is a separate pull request.

6. Design changes need a concrete failure path

Before asking for a different design — extra defensive layers, different gating, decoupled delivery — state the specific input or sequence that breaks the current one. Without it, the request is speculative, and the alternative is often worse:

  • Wrapping a waker call in catch_unwind was asked for and declined: it would have turned a loud abort into a silent hang.
  • A "validate the return type" check in a proc-macro was asked for and declined: Result is routinely reached through aliases, so the check would reject working code.

Prefer asking a question over prescribing a redesign.

7. One comment per root cause

  • Do not file the same finding twice on the same file, or on both a template and the file generated from it. Comment on the source; note that the generated copy follows.
  • Do not split one root cause across several threads.
  • Do not re-file a finding that was already answered in this review.

8. Grammar and style: only when unambiguous

Prose nits are the lowest-value comments in a review, and a wrong one is pure noise. Skip them unless the text is genuinely ambiguous or wrong. In particular, check for a compound subject before "correcting" verb agreement — "field enumeration and visitor work still occur" is correct as written.

What is worth commenting on

In priority order:

  1. Correctness — logic that produces a wrong result for a describable input.
  2. Security — trust boundaries, permission scope, injection, unsafe invariants.
  3. Concurrency and lifetimes — races, ordering, aliasing, leaks.
  4. API and contract drift — documentation that no longer matches behaviour, breaking changes not reflected in the version.
  5. Missing coverage for a specific risk — name the untested branch, not "add more tests".

If a finding does not fit one of these, and you cannot point at the evidence for it, leave it out.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/code-review of microsoft/oxidizer.

Open the folder on GitHubat commit 7a2de8f

Compare with similar skills

Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Review this skillmicrosoft/oxidizer178—~1.7kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    flutter/flutter

    Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback.

    179k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from microsoft/oxidizer

  • Cargo Anvil Adoption

    microsoft/oxidizer

    Official

    Complete cargo-anvil adoption in an existing Rust repository after the first cargo anvil run.

    178 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Code Review

What does Code Review do?

Review guidance for pull requests in this repository. An agent skill from microsoft/oxidizer. Code Review is an agent skill from microsoft/oxidizer, published by the product's own GitHub organization. Review guidance for pull requests in this repository.

When should I use Code Review?

Code Review fits situations like: reviewing a pull request; keep comments on evidence you can see rather than on predicted build outcomes; remembered API signatures; assumed conventions.

How do I install Code Review in Claude Code?

Run `npx skills add microsoft/oxidizer --skill code-review -a claude-code`. Or copy the skill folder (.github/skills/code-review in microsoft/oxidizer) into .claude/skills/code-review in your project. Claude Code loads it when a task matches its description.

How do I install Code Review in Codex?

Run `npx skills add microsoft/oxidizer --skill code-review -a codex`. Or copy the skill folder (.github/skills/code-review in microsoft/oxidizer) into .agents/skills/code-review in your project. Codex loads it when a task matches its description.

Can I use Code Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/oxidizer --skill code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review, .gemini/skills/code-review, .github/skills/code-review and .opencode/skills/code-review in your project.

What does Code Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Review is instructions for the agent only.

Does Code Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Review use?

Code Review is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Review use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Review?

Skills that share tags, products or a category with Code Review: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars), WooCommerce Code Review (woocommerce/woocommerce, 11k stars) and Open Code Review CLI (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Review?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/oxidizer, which has 178 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 7, 2026.

Source: microsoft/oxidizer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.