·update-screenshots
</>

update-screenshots

从最新的 CI 运行中下载屏幕截图基线并提交它们。当被要求更新、接受或刷新来自 CI 的组件屏幕截图基线时,或者在屏幕截图测试 GitHub Action 报告差异之后使用。该技能应作为子代理运行。

60安装·1热度·@microsoft

安装

$npx skills add https://github.com/microsoft/vscode --skill update-screenshots

如何安装 update-screenshots

通过命令行快速安装 update-screenshots AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/microsoft/vscode --skill update-screenshots
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:microsoft/vscode。

SKILL.md

查看原文

When asked to update, accept, or refresh screenshot baselines from CI — or when the Screenshot Tests GitHub Action has failed with screenshot differences — follow this procedure to download the CI-generated screenshots and commit them as the new baselines.

Screenshots captured locally may differ from CI due to platform differences (fonts, rendering, DPI). The CI (Linux, ubuntu-latest) is the source of truth. This skill downloads the CI-produced screenshots and commits them as baselines.

If the user provides a specific run ID or PR number, use that. Otherwise, find the latest run:

从最新的 CI 运行中下载屏幕截图基线并提交它们。当被要求更新、接受或刷新来自 CI 的组件屏幕截图基线时,或者在屏幕截图测试 GitHub Action 报告差异之后使用。该技能应作为子代理运行。 来源:microsoft/vscode。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/microsoft/vscode --skill update-screenshots
分类
</>开发工具
认证
收录时间
2026-02-22
更新时间
2026-03-10

Browse more skills from microsoft/vscode

快速解答

什么是 update-screenshots?

从最新的 CI 运行中下载屏幕截图基线并提交它们。当被要求更新、接受或刷新来自 CI 的组件屏幕截图基线时,或者在屏幕截图测试 GitHub Action 报告差异之后使用。该技能应作为子代理运行。 来源:microsoft/vscode。

如何安装 update-screenshots?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/microsoft/vscode --skill update-screenshots 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/microsoft/vscode