
Update Screenshots
Downloads CI-generated screenshot baselines and commits the blocks-ci hash file after reviewing diffs.
- skills.sh installs
- 3K
- GitHub stars
- 195.7K
- last updated
- Aug 21, 2026
What it does
- Covers the blocks-ci screenshot hash workflow: fetching expected hashes from CI, verifying visual changes, and committing the updated baseline file
- Includes
ghcommands for locating failed job logs and artifacts, plus a Pillow-based pixel diff to localize changes between old and new images - Enforces never regenerating hashes locally, since macOS and Windows rendering produces different bytes than the Linux CI runners
- Designed for microsoft/vscode contributors handling a failed "Screenshots & Tests" check or a screenshot diff reported on a PR
Install
$ npx -y skills add microsoft/vscode --skill update-screenshots -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Update Component Screenshots from CI
Screenshot images are not stored in the repository — they live in an external service (hediet-screenshots.azurewebsites.net), keyed by commit SHA. But a subset of fixtures is pinned by hash in test/componentFixtures/blocks-ci-screenshots.md, and that file is committed. When those hashes change, CI fails and you must update the file.
Two different outcomes, only one of which blocks
The Screenshots & Tests job in .github/workflows/component-fixtures.yml produces two independent results:
| Result | Blocking? | Action |
|---|---|---|
| Screenshot diff report (PR comment with before/after images) | No — informational | Review the visuals. Nothing to commit. |
| blocks-ci hash mismatch | Yes — fails the check | Update blocks-ci-screenshots.md and commit. |
A fixture opts into the blocking gate with labels: { kind: 'screenshot', blocksCi: true }. Only those fixtures appear in blocks-ci-screenshots.md.
The failure looks like this:
Details
- Repository
- github.com/microsoft/vscode
- Categories
- Testing & QA, Git & Releases
- First seen
- May 16, 2026
More from microsoft/vscode
All 11Similar to Update Screenshots
More Testing & QA
argent-screenshot-diffSkillsoftware-mansion/argent30.1K installsCompare saved or live app screenshots to catch pixel-visible UI regressions and layout drift.
meticulous-simulate-and-diffSkillalwaysmeticulous/skills9K installsRun a Meticulous session simulation and triage visual regressions via screenshot diffs or direct inspection.
visual-regression-testingSkillaj-geddes/useful-ai-prompts741 installsCatalog-ready guide for detecting unintended UI changes by diffing screenshots across versions.
visual-regression-testerSkillpatricio0312rev/skills350 installsVisual regression tests with screenshot diffing via Playwright or Chromatic, wired into CI.
GetScreenshotMCP serverrasterwiseScreenshots, HTML renders, and visual diffs for AI agents, with images sized for vision models.
openai-gh-fix-ciPlugintrailofbits/skills-curated537 starsUse when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks and logs, summarize failure context, draft