·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