Dev & Engineering ✓ Microsoft · Official code-reviewgit-diffinline-commentsbug-detectionsecurity-reviewtest-review

Session Code Review

Review the current session's code changes and place actionable findings directly on the relevant lines.

FollowSkills review · FSRS-2.0
Not recommended
51/ 100 5-point scale 2.6 / 5
Trust18 / 25 · 3.6/5

The skill narrowly scopes work to reviewing current-session changes, posting line-level comments, and forbidding file edits, commits, and pushes, which supports least privilege and scope control. It does not require user confirmation before publishing comments, disclose comment data flow or sensitive-data handling, or specify rollback and recovery, so points are deducted.

Reliability7 / 20 · 1.8/5

The workflow is internally coherent across change discovery, per-file review, and per-issue commenting. However, it does not define a reliable current-session change source, the availability or contract of addComment, handling for abnormal input, or diagnosable failure feedback. Static calibration also caps this score at 10.

Adaptability9 / 15 · 3.0/5

The name, description, and trigger are clear for users invoking Run Code Review from the Changes toolbar. Non-fit boundaries, input limits, output-format details, and Chinese-language support are not stated, leaving environment and semantic-trigger evidence incomplete.

Convention8 / 15 · 2.7/5

The file has basic front matter, a clear title, and a progressive workflow. Repository material supplies MIT licensing, Microsoft attribution, version information, and maintenance signals. The skill itself lacks versioning, changelog, installation or dependency notes, FAQs, known limitations, and an explicit update path, so points are deducted.

Effectiveness6 / 15 · 2.0/5

The goal and output are concrete: produce specific, actionable inline comments for each issue while avoiding low-signal stylistic nitpicks. No representative output, quality verification, or comparative-benefit evidence is included, so only limited static effectiveness credit is justified.

Verifiability3 / 10 · 1.5/5

The skill text is auditable, and repository files provide licensing, version, and some CI evidence. There are no skill-specific tests, an explicit addComment contract, or independent reproduction records covering the key path, so verifiability remains limited.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
Before you use it
  • Posting addComment comments changes external state, but the workflow does not require per-comment or final user confirmation or explain how mistaken comments can be withdrawn.
  • The skill depends on the current session's change set and the addComment tool without specifying diagnosable behavior for missing tools, empty changes, failures, or unlocatable ranges.
  • It does not state how to avoid copying secrets, personal data, or other sensitive content into comments, nor does it document Chinese-language or mainland-China environment support.
See the full review method →

What it does & when to use it

Session Code Review examines the files changed in the current session and reports concrete, actionable findings as inline code comments. It compares the changed ranges with the surrounding codebase while checking correctness, edge cases, regressions, error handling, security, consistency, and newly introduced test or documentation gaps. Each finding is attached to an exact file URI and line range rather than summarized at file level. The skill is review-only: it does not modify files or perform commits or pushes.

Determines the current session's changed files, using commands such as git status or git diff; reads relevant ranges from each changed file and compares them with the rest of the codebase; checks correctness, edge cases, bugs, regressions, error handling, security and data handling, naming and consistency, and missing tests or documentation; calls the addComment tool for each issue with the exact file URI and line range; favors fewer, higher-signal findings and stops after every changed file has been reviewed.

  1. A developer clicks Run Code Review in the Changes toolbar and wants the current session's edits checked immediately.
  2. A maintainer reviews a multi-file change for regressions or edge cases and wants findings placed beside the relevant code.
  3. A security reviewer checks changed code for security or data-handling issues that need precise location-based feedback.
  4. A team performs a pre-merge review for missing error handling, tests, or documentation without allowing the reviewer to alter the worktree.

Pros & cons

Pros
  • Covers correctness, regressions, security, error handling, consistency, testing, and documentation gaps.
  • Requires findings to target an exact file URI and line range, making them easier to act on.
  • Explicitly restricts itself to review comments and forbids file edits, commits, and pushes.
  • Prioritizes a small number of high-signal findings over minor stylistic issues.
Limitations
  • Its scope is the current session's changed files, not a general full-repository audit.
  • It depends on shell access, filesystem reads, Git commands, and the addComment tool.
  • The source provides no standalone installation procedure, test suite, or client-by-client validation evidence.
  • The source does not specify recovery behavior for no changes, unreadable code, or addComment failures.

How to install

The source does not provide a standalone installation command or client-specific installation steps. The skill is located at src/vs/sessions/skills/code-review/SKILL.md in microsoft/vscode. The repository bundles 61 separate skills, so installation should follow the procedure provided by the Agent Skills client for that collection.

How to use

In a session containing code changes, click Run Code Review in the Changes toolbar. The skill reviews the session's changed files and posts findings with addComment against exact files and line ranges. It does not edit files, commit, or push changes. The source does not document the behavior when there are no changed files.

FAQ

Will this skill change my code?
No. The instructions explicitly prohibit file modifications, commits, pushes, and other write operations; its only output is review comments.
What access and tools does it need?
It needs to identify and read the current session's changed files, can use commands such as git status or git diff, and needs addComment to publish findings against exact files and line ranges.
Is it intended to review the entire repository?
Not by itself. Its target is the current session's changed files, although it consults the rest of the codebase for context and consistency.
Does the repository document a separate installation method?
No standalone installation command is provided in the source. The skill is one of 61 skills bundled in microsoft/vscode at src/vs/sessions/skills/code-review/SKILL.md.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

Trace session, transport, and host failures in Agent Host debug exports.

Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

Dev & Engineering ✓ Microsoft · Official

Code OSS Launch & Debug

Launch a built-from-source VS Code with isolated profiles, Playwright control, and multi-process debugging ports.

Dev & Engineering ✓ Microsoft · Official

VS Code Accessibility Development Guide

A practical specification for accessible interactive features in VS Code.

Design & Frontend ✓ Microsoft · Official

VS Code CSS Layout Standards

Build reliable VS Code-style CSS layouts and text truncation behavior

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Performance Lab

Benchmark chat rendering and detect memory growth across VS Code builds.

Dev & Engineering ✓ Microsoft · Official

Component Fixtures for Screenshot Testing

Create stable, theme-aware VS Code component fixtures for isolated screenshot testing.

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

Run, filter, and debug VS Code end-to-end smoke tests.

Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

Turn native VS Code crash dumps into readable backtraces with method names.

Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

Validate VS Code workbench and Agents window changes in a local vscode.dev instance.

Dev & Engineering ✓ Microsoft · Official

Feedback Action

Reads current-session feedback and applies the requested code changes.

Related skills