Code Review
Perform a code review of the current session's changes.
by microsoft · MIT
The skill
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
- Determine the set of changed files in the current session (e.g.
git status,git diff). - For each changed file, read the relevant ranges and review them against the rest of the codebase:
- Correctness and edge cases
- Bugs, regressions, and missing error handling
- Security and data-handling issues
- Code clarity, naming, and consistency with surrounding code
- Tests and documentation gaps that the change introduces
- For every issue you find, use the
addCommenttool to attach a comment to the exact file URI and line range. Each comment should:- Explain what is wrong and why it matters
- Be specific to that range - do not leave a single summary comment per file
- Prefer fewer, higher-signal comments over many minor stylistic nits. Do not comment on things that are already correct.
- Do not modify files. Do not run commits, pushes, or other write operations. Your only output is review comments.
- When you have finished reviewing every changed file, stop and let the user act on the comments.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: microsoft/code-review-25238408339.
Details
- Publisher
- microsoft
- Category
- Software Development › Source control & code review
- License
- MIT
- Updated
- 2026-10-19
References
More from microsoft
- Chat Mode Authoring Author Copilot chat modes and instructions
- Azure Reliability Harden Azure workloads for availability
- Aks Gpu Inference Diagnose Day-2 AKS GPU and KAITO incidents using profile-aware, read-only evidence.
- Aks Known Issues Lookup documented AKS fixes only when the prompt includes an exact catalog signature and all of i…