update-screenshots
update-screenshots,AI Agent Skill,提升工作效率和自动化能力
npx skills add https://github.com/microsoft/vscode --skill update-screenshotsBefore / After 效果对比
1 组手动对比UI截图差异,容易遗漏细微变化,基线管理混乱,回归测试耗时且不准确。
自动化截图服务管理基线,CI自动对比和标记差异,精确发现UI回归问题,大幅提升测试效率。
update-screenshots
Update Component Screenshots from CI
Screenshot baselines are no longer stored in the repository. They are managed by an external screenshot service (hediet-screenshots.azurewebsites.net). The CI workflow uploads screenshots to this service and diffs them automatically.
When the Checking Component Screenshots GitHub Action detects changes, it posts a PR comment with before/after comparisons. No manual baseline updates are needed — the screenshots on the main branch commit become the new baselines automatically after merge.
What Changed
-
Baseline images were removed from
test/componentFixtures/.screenshots/baseline/. -
Git LFS is no longer used for screenshot storage.
-
The screenshot service stores images keyed by commit SHA and handles diffing.
If Screenshots Need Investigation
-
Check the PR comment posted by the CI workflow for visual diffs.
-
Download the
screenshotsartifact from the CI run for the raw captured images:
gh run download <run-id> --name screenshots --dir .tmp/screenshots
- Compare locally if needed. The artifact contains the full set of captured screenshots.
Weekly Installs403Repositorymicrosoft/vscodeGitHub Stars183.5KFirst SeenFeb 22, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled onkimi-cli403amp403github-copilot403codex403opencode403cursor403
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分