chromatic

Automate visual regression testing for Storybook components via Chromatic.

4|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill chromatic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chromatic
Source: https://github.com/mgd34msu/goodvibes-gemini/tree/main/skills/chromatic
Command: npx skills add https://github.com/mgd34msu/goodvibes-gemini --skill chromatic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of visual regression testing for UI components, ensuring that visual changes are caught and reviewed before they reach production.

Core Features & Use Cases

  • Automated Snapshotting: Captures screenshots of Storybook components in various viewports and themes.
  • Visual Diffing: Compares new screenshots against baselines to detect visual regressions.
  • CI Integration: Seamlessly integrates with CI/CD pipelines for automated testing on every commit or pull request.
  • Use Case: When developing a new UI component, use this Skill to automatically generate visual tests that verify its appearance across different browsers and screen sizes, preventing unexpected visual bugs.

Quick Start

Run the command npx chromatic --project-token=<token> to start visual testing.

Frequently Asked Questions about chromatic

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

FAQPage Schema
How do I automate visual regression testing for Storybook UI components?

Automate visual regression testing for Storybook UI components by integrating with Chromatic to capture screenshots across various viewports and themes, comparing new snapshots against baselines to detect visual regressions before production.

Can I run visual testing automatically within my CI/CD pipeline?

Yes, visual testing seamlessly integrates with CI/CD pipelines to automate snapshot capture and visual diffing on every commit or pull request, ensuring UI consistency without manual intervention.

Do I need Storybook to perform visual diffing with this approach?

Yes, Storybook is a required dependency for capturing UI component snapshots, serving as the source for automated screenshot generation and subsequent visual diffing across different browsers and screen sizes.

What is the best way to catch UI regressions across different browsers and themes?

The best way to catch UI regressions across different browsers and themes is to use cloud-based visual diffing that automatically captures and compares component snapshots against established baselines during development.

How do I start capturing baseline snapshots for my frontend UI components?

Start capturing baseline snapshots for frontend UI components by running the command `npx chromatic --project-token=<token>` within your project directory to initialize automated visual testing.