Code review

From microsoft/vscode · View interactive version

Code review is an AI agent skill from the GitHub repository microsoft/vscode. 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.

How to use this skill

Skill file

<!-- 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:
  1. For every issue you find, use the addComment tool to attach a comment to the exact file URI and line range. Each comment should:
  1. Prefer fewer, higher-signal comments over many minor stylistic nits. Do not comment on things that are already correct.
  2. Do not modify files. Do not run commits, pushes, or other write operations. Your only output is review comments.
  3. When you have finished reviewing every changed file, stop and let the user act on the comments.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.