Official agent skill

Code Review

by microsoft in microsoft/MSBuildLocator

Repository-specific checks for Microsoft.Build.Locator code reviews.

OfficialMITAuto-check passedDevelopment

Install Code Review

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

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

GitHub CLI
$ gh skill install microsoft/MSBuildLocator 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/MSBuildLocator.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
263
Token cost
~293 tokens
SKILL.md length
120 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Repository-specific checks for Microsoft.Build.Locator code reviews.

  • Package changes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Code review

What it does

Code Review is an agent skill from microsoft/MSBuildLocator, published by the product's own GitHub organization. Repository-specific checks for Microsoft.Build.Locator code reviews. Use for loader, discovery, public API, and package changes.

Its SKILL.md is about 290 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 Code review. It works with .NET. The repository describes itself as: An API to locate MSBuild assemblies from an installed Visual Studio location. Use this to ensure that calling the MSBuild API will use the same toolset that a build from Visual… The licence is MIT.

When your agent uses it

  • Package changes
  • Tasks that involve Code review

Example prompts

  • “/code-review”

What it can do on your machine

Read from SKILL.md and the folder at commit ff0b900. 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 293 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 120 words of instructions outside code blocks.

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

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/MSBuildLocator at commit ff0b900, republished under its MIT licence (© microsoft). 120 words, ~293 tokens.

Download SKILL.mdSave it as .claude/skills/code-review/SKILL.md (or your agent's skills folder).
name
code-review
description
Repository-specific checks for Microsoft.Build.Locator code reviews. Use for loader, discovery, public API, and package changes.
license
MIT

Microsoft.Build.Locator code review

Read AGENTS.md. For loader, registration, or discovery changes, also read the applicable msbuild-loader-netcore or msbuild-loader-netframework skill; read both for common code. Verify that the skills accurately describe the code, and require them to change when behavior changes.

Check these repository-specific invariants:

  • Common code must work on both net46 and net8.0; runtime-specific behavior must stay behind the correct conditional.
  • Registration must happen before any core Microsoft.Build* assembly loads.
  • .NET Framework discovers Visual Studio; .NET 8+ discovers the .NET SDK.
  • .NET Framework changes must remain compatible across supported Visual Studio versions; do not assume only the latest MSBuild layout or behavior.
  • Microsoft.Build.Locator.dll must retain minimal framework-only dependencies.
  • Intentional public API changes require compatibility suppressions and an appropriate version change.

© 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/MSBuildLocator.

Open the folder on GitHubat commit ff0b900

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/MSBuildLocator263—~293Automated safety check: PassMIT
Analyzing .NET Performancedotnet/skills5.6k3 repos~3.1kAutomated safety check: PassMIT
Code Reviewdotnet/macios2.9k—~1.7kAutomated safety check: PassCustom licence
MAUI PR Performance Analysisdotnet/maui23k—~2.4kAutomated safety check: PassMIT
Code Reviewjonathanpeppers/dotnes780—~2.1kAutomated safety check: PassMIT
Find Reviewable MAUI PRsdotnet/maui23k—~1.7kAutomated safety check: PassMIT

Similar skills

  • Official

    Scans C# and .NET code for about 50 performance anti-patterns and reports prioritized findings with concrete fixes, at a scan depth you choose.

    5.6k GitHub starsUsed in 3 repos~3.1k tokens
    DevelopmentAuto-check passed
  • Code Review

    dotnet/macios

    Official

    Review dotnet/macios PRs against established rules. An agent skill from dotnet/macios.

    2.9k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Interprets pinned managed benchmark evidence for a dotnet/maui pull request and writes a narrative for the performance review workflow, without running or publishing anything.

    23k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    jonathanpeppers/dotnes

    Review dotnes pull requests against established repository rules.

    780 GitHub stars~2.1k tokensUpdated 13 days ago
    DevelopmentAuto-check passed
  • Official

    Lists open pull requests in dotnet/maui and dotnet/docs-maui that are worth reviewing next, ranked by priority labels, milestone and partner or community origin.

    23k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    sbroenne/mcp-windows

    Review pull requests in mcp-windows for concrete bugs in MCP and CLI contracts, Windows UI automation, element identity, snapshots, bounded searches, and service lifetime.

    105 GitHub stars~1.6k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from microsoft/MSBuildLocator

  • MSBuildLocator .NET Core Loader

    microsoft/MSBuildLocator

    Official

    Reference for how MSBuildLocator loads MSBuild assemblies and finds the .NET SDK on .NET Core hosts, for anyone editing or debugging that loader code.

    263 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • MSBuildLocator .NET Framework Loader

    microsoft/MSBuildLocator

    Official

    Explains how MSBuildLocator loads MSBuild assemblies and finds Visual Studio installs on the .NET Framework net46 target, for anyone editing or reviewing that code.

    263 GitHub stars~745 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Code Review

What does Code Review do?

Repository-specific checks for Microsoft.Build.Locator code reviews. Code Review is an agent skill from microsoft/MSBuildLocator, published by the product's own GitHub organization.Locator code reviews.

When should I use Code Review?

Code Review fits situations like: package changes; tasks that involve Code review.

How do I install Code Review in Claude Code?

Run `npx skills add microsoft/MSBuildLocator --skill code-review -a claude-code`. Or copy the skill folder (.github/skills/code-review in microsoft/MSBuildLocator) 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/MSBuildLocator --skill code-review -a codex`. Or copy the skill folder (.github/skills/code-review in microsoft/MSBuildLocator) 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/MSBuildLocator --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 293 tokens (SKILL.md is roughly 1.2k 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: Analyzing .NET Performance (dotnet/skills, 5.6k stars), Code Review (dotnet/macios, 2.9k stars), MAUI PR Performance Analysis (dotnet/maui, 23k stars) and Code Review (jonathanpeppers/dotnes, 780 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/MSBuildLocator, which has 263 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.

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