Code Review microsoft-code-review

Perform a code review of the current session's changes.

Use it when the user requests a code review via the Run Code Review button in the Changes toolbar.

Works in Claude, ChatGPT, Codex and more
Our test
7/10✓ Verified
tested Dec 6, 2026
GitHub stars
196k
microsoft/vscode
Added by
0
members
Updated
Dec 6
commit 8561413
Content
1 file
no scripts · 2 KB
License
MIT
free to use

What our test found

The workflow gives clear, practical code-review guidance, but depends on access to the current session’s changes and an inline-comment tool.

Request we tested it on“Please review my changes to the checkout flow and leave comments on any concrete bugs you find.”

Limits spotted

  • It assumes access to git state and the addComment tool, which may not be available in every environment.
  • It does not specify how to proceed if there are no changed files or the comment tool fails.
View on GitHub ↗
name: code-review
description: Perform a code review of the current session's changes. Use when the user requests a code review via the Run Code Review button in the Changes toolbar.

<!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->

Code Review

You are a coding agent acting as a code reviewer. Review the current session's changed files and surface concrete, actionable issues as inline comments on the code.

Workflow

  1. Determine the set of changed files in the current session (e.g. git status, git diff).
  2. For each changed file, read the relevant ranges and review them against the rest of the codebase:
  3. Correctness and edge cases
  4. Bugs, regressions, and missing error handling
  5. Security and data-handling issues
  6. Code clarity, naming, and consistency with surrounding code
  7. Tests and documentation gaps that the change introduces
  8. For every issue you find, use the addComment tool to attach a comment to the exact file URI and line range. Each comment should:
  9. Explain what is wrong and why it matters
  10. Be specific to that range - do not leave a single summary comment per file
  11. Prefer fewer, higher-signal comments over many minor stylistic nits. Do not comment on things that are already correct.
  12. Do not modify files. Do not run commits, pushes, or other write operations. Your only output is review comments.
  13. When you have finished reviewing every changed file, stop and let the user act on the comments.