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 для проверки снимков экрана сообщает о различиях. Этот навык следует запускать в качестве субагента. Источник: microsoft/vscode.