update-screenshots

Download and commit updated screenshot baselines from CI runs.

5|1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/malwarebo/nyrve --skill update-screenshots-malwarebo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-screenshots
Source: https://github.com/malwarebo/nyrve/tree/main/.github/skills/update-screenshots
Command: npx skills add https://github.com/malwarebo/nyrve --skill update-screenshots-malwarebo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of updating component screenshot baselines by downloading the latest approved screenshots from CI, ensuring consistency and reducing manual effort.

Core Features & Use Cases

  • Automated Baseline Updates: Downloads and commits new screenshot baselines from CI runs.
  • CI/CD Integration: Designed to be run after screenshot tests fail due to differences.
  • Use Case: After a CI run reports visual regressions in component screenshots, use this Skill to automatically pull the correct versions from the CI artifact and update the project's baseline images.

Quick Start

Run the update-screenshots skill to refresh the component screenshot baselines from the latest CI run.

Frequently Asked Questions about update-screenshots

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update component screenshot baselines after a CI run reports visual regressions?

To update screenshot baselines after visual regressions, this Skill automatically downloads the corrected images from CI artifacts and commits them to your repository, eliminating manual effort.

What is the process for refreshing screenshot baselines from a CI workflow?

Refreshing screenshot baselines involves downloading the screenshot-diff artifact from a previous CI workflow run and committing the updated baseline images directly into your project's codebase.

Do I need the gh CLI to download and commit updated screenshot baselines?

Yes, you need the gh CLI installed and authenticated because the Skill relies on it to access CI workflow artifacts and download the updated screenshot baselines for your component tests.

When should I refresh component screenshot baselines instead of fixing visual differences?

You should refresh component screenshot baselines when visual differences are intentional and approved, requiring the existing baseline images to be explicitly updated to match the new UI state.

Why does updating screenshot baselines require a screenshot-diff artifact?

Updating screenshot baselines requires the screenshot-diff artifact because it contains the newly generated visual output from the CI run needed to replace the outdated baseline images in your repository.

Can I automate visual regression baseline updates for component testing without manual downloads?

Yes, you can automate visual regression baseline updates by running this Skill to fetch and commit the new screenshots from CI, removing the need to manually download and replace image files.