visual_test

Capture baseline and current screenshots to detect visual regressions across breakpoints.

Updated May 27, 2026
One-click install
npx skills add https://github.com/ormastes/Spipe --skill visual-test-ormastes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visual_test
Source: https://github.com/ormastes/Spipe/tree/main/doc/00_llm_process/skill_command/skills/gemini/visual_test
Command: npx skills add https://github.com/ormastes/Spipe --skill visual-test-ormastes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Visual regression testing prevents unnoticed UI breakages by comparing known-good screenshots against newly rendered output across responsive states.

Core Features & Use Cases

  • Baseline capture: Store reference screenshots and terminal output at agreed breakpoints (including TUI dimensions).
  • Current state capture: Re-render the same UI feature and capture comparable screenshots and terminal output.
  • Automated comparison: Compute pixel/layout differences and classify results by severity (CRITICAL/WARN/INFO) with a generated report.
  • Layout and responsive validation: Verify alignment, spacing, overflow/clipping, reflow, stacking order, and expected scrollbar behavior; validate touch target sizing on mobile breakpoints for GUI.
  • Accessibility checks: Validate WCAG contrast ratios, focus indicator visibility, screen-reader landmark structure, and keyboard-only navigation completeness.

Quick Start

Run the Gemini visual_test skill to capture baseline and current screenshots for the target UI feature, then generate a report that highlights regressions by severity.

Frequently Asked Questions about visual_test

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

FAQPage Schema
What is visual regression testing and how does it catch UI breakages?

Visual regression testing captures baseline and current screenshots of a UI feature across fixed breakpoints, then diffs them to detect layout and styling changes. It flags regressions by categorized severity to prevent unnoticed UI breakages.

How do I perform visual regression testing on a terminal UI?

To perform visual regression testing on a terminal UI, capture baseline and current terminal output at fixed sizes like 80x24 and 120x40. The Skill then diffs these captures to detect layout and styling changes in your TUI workflows.

Does visual regression testing work with Chrome MCP for responsive UI validation?

Yes, visual regression testing works with Chrome MCP to capture GUI screenshots at fixed breakpoints like 320, 768, 1024, and 1440px. It validates responsive reflow, alignment, overflow, and touch target sizing across these states.

Can visual regression testing check WCAG contrast ratios and keyboard navigation?

Visual regression testing includes accessibility checks that validate WCAG contrast ratios, focus indicator visibility, screen-reader landmark structure, and keyboard-only navigation completeness alongside standard screenshot diff comparisons.

What are the limitations of screenshot diffing for layout validation?

Screenshot diffing requires deterministic capture parameters across fixed breakpoints and terminal sizes to function correctly. Without structured storage of baseline and current assets, the generated report cannot accurately flag regressions or validate layout results.

Best way to automate UI behavior validation across multiple breakpoints?

The best way to automate UI behavior validation is to capture screenshots at fixed breakpoints like 320/768/1024/1440px, compute pixel differences, and generate a report that classifies regressions by severity from CRITICAL to INFO.