Agent SkillsasJEI/vscode › code-review

code-review

GitHub

该技能用于对当前会话中的代码变更进行审查。通过分析文件差异,检查正确性、安全性、清晰度及测试覆盖等,并使用工具在特定行号添加具体可操作的改进建议,仅输出评论不修改代码。

src/vs/sessions/skills/code-review/SKILL.md asJEI/vscode

Trigger Scenarios

用户请求代码审查 点击运行代码审查按钮

Install

npx skills add asJEI/vscode --skill code-review -g -y
More Options

Non-standard path

npx skills add https://github.com/asJEI/vscode/tree/main/src/vs/sessions/skills/code-review -g -y

Use without installing

npx skills use asJEI/vscode@code-review

指定 Agent (Claude Code)

npx skills add asJEI/vscode --skill code-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add asJEI/vscode --all -g -y

预览 repo 内 skill

npx skills add asJEI/vscode --list

SKILL.md

Frontmatter
{
    "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."
}

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:
    • 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
  3. For every issue you find, use the addComment tool 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
  4. Prefer fewer, higher-signal comments over many minor stylistic nits. Do not comment on things that are already correct.
  5. Do not modify files. Do not run commits, pushes, or other write operations. Your only output is review comments.
  6. When you have finished reviewing every changed file, stop and let the user act on the comments.

Version History

  • ce4db66 Current 2026-07-19 08:58

Same Skill Collection

.agents/skills/launch/SKILL.md
.github/skills/accessibility/SKILL.md
.github/skills/add-policy/SKILL.md
.github/skills/agent-host-e2e-tests/SKILL.md
.github/skills/agent-host-logs/SKILL.md
.github/skills/author-contributions/SKILL.md
.github/skills/auto-perf-optimize/SKILL.md
.github/skills/azure-pipelines/SKILL.md
.github/skills/chat-customizations-editor/SKILL.md
.github/skills/chat-perf/SKILL.md
.github/skills/code-oss-logs/SKILL.md
.github/skills/component-fixtures/SKILL.md
.github/skills/cpu-profile-analysis/SKILL.md
.github/skills/design-philosophy/SKILL.md
.github/skills/fix-ci-failures/SKILL.md
.github/skills/fix-errors/SKILL.md
.github/skills/heap-snapshot-analysis/SKILL.md
.github/skills/hygiene/SKILL.md
.github/skills/integrated-browser/SKILL.md
.github/skills/integration-tests/SKILL.md
.github/skills/memory-leak-audit/SKILL.md
.github/skills/otel/SKILL.md
.github/skills/sessions/SKILL.md
.github/skills/smoke-tests/SKILL.md
.github/skills/symbolicate-crash-dump/SKILL.md
.github/skills/tool-rename-deprecation/SKILL.md
.github/skills/unit-tests/SKILL.md
.github/skills/update-screenshots/SKILL.md
.github/skills/ux-css-layout/SKILL.md
.github/skills/ux-theming/SKILL.md
.github/skills/vscode-dev-workbench/SKILL.md
extensions/copilot/.agents/skills/anthropic-sdk-upgrader/SKILL.md
extensions/copilot/.agents/skills/launch/SKILL.md
src/vs/sessions/skills/act-on-feedback/SKILL.md
src/vs/sessions/skills/commit/SKILL.md
src/vs/sessions/skills/create-draft-pr/SKILL.md
src/vs/sessions/skills/create-pr/SKILL.md
src/vs/sessions/skills/fix-ci/SKILL.md
src/vs/sessions/skills/generate-run-commands/SKILL.md
src/vs/sessions/skills/merge/SKILL.md
src/vs/sessions/skills/sync-upstream/SKILL.md
src/vs/sessions/skills/sync/SKILL.md
src/vs/sessions/skills/troubleshoot/SKILL.md
src/vs/sessions/skills/update-pr/SKILL.md
src/vs/sessions/skills/update-skills/SKILL.md
extensions/copilot/.agents/skills/github-copilot-upgrader/SKILL.md

Metadata

Files
0
Version
ce4db66
Hash
c2a0feb2
Indexed
2026-07-19 08:58

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-04 05:07
浙ICP备14020137号-1 $Гость$