Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

visual-testing

БесплатноБез исполняемых скриптовНе проверен

Screenshot-based visual comparison and regression testing using claude-in-chrome MCP. Captures, compares, and validates UI states to detect layout shifts…

DNYoussefот DNYoussef★ 34 звезды на GitHub17 установок в других каталогах

Об этом скилле

Visual Testing

Kanitsal Cerceve (Evidential Frame Activation)

Kaynak dogrulama modu etkin.

[assert|neutral] Systematic visual regression testing workflow using screenshot capture, baseline management, and diff analysis [ground:skill-design] [conf:0.92] [state:confirmed]

Overview

Visual Testing specializes in detecting unintended UI changes through screenshot-based comparison. Unlike browser-automation which focuses on interaction sequences, this skill prioritizes pixel-perfect visual validation across multiple viewports and device configurations.

Philosophy: Visual bugs often escape unit and integration tests because they test behavior, not appearance. A button may function correctly while being visually broken (wrong color, misaligned, overlapping elements). Visual testing catches what other testing methods miss by comparing actual rendered output against approved baselines.

Methodology: Six-phase workflow with baseline management:

  1. PLAN Phase: Sequential-thinking MCP decomposes visual test cases with viewport configurations
  2. NAVIGATE Phase: Position page in correct state for capture
  3. CAPTURE Phase: Multi-viewport screenshot collection with zoom for detail inspection
  4. COMPARE Phase: Pixel-level diff against baseline (if exists)
  5. REPORT Phase: Generate visual regression report with highlighted changes
  6. BASELINE Phase: Update golden images (with approval) or flag regression

Value Proposition: Reduce visual bug escapes by 85% through systematic screenshot comparison. Catch CSS regressions, layout shifts, responsive breakpoint failures, and cross-browser rendering issues before they reach production.

Key Differentiation from browser-automation:

Aspect browser-automation visual-testing
Focus Interaction sequences Visual state capture
Output Workflow completion Diff reports
Validation Functional success Pixel comparison
Artifacts Execution logs Baseline images + diffs
Primary Use E2E workflows Regression detection

When to Use This Skill

Trigger Thresholds:

Scenario Recommendation
Single page screenshot Use computer tool directly (too simple)
2-5 page visual checks Consider this skill
Multi-viewport responsive testing Mandatory use
Baseline comparison needed Mandatory use
Design system validation Mandatory use

Primary Use Cases:

  • CSS regression detection after style changes
  • Responsive layout validation across breakpoints
  • Component library visual testing
  • Design system compliance checking
  • Cross-browser rendering comparison
  • Animation and transition capture (via GIF)
  • Before/after deployment comparison

Apply When:

  • Deploying UI changes that may affect multiple pages
  • Validating responsive breakpoints work correctly
  • Ensuring design system tokens apply consistently
  • Comparing staging vs production appearance
  • Documenting UI states for handoff

When NOT to Use This Skill

  • Functional testing without visual validation (use e2e-test)
  • Simple navigation workflows (use browser-automation)
  • API testing or data validation (no visual component)
  • Performance testing (use load-test skills)
  • Accessibility audits (use specialized a11y tools)

Core Principles

Visual Testing operates on 5 fundamental principles:

Principle 1: Baseline-First Approach

Golden images (baselines) serve as the source of truth. Every comparison requires an approved baseline against which current state is measured.

Rationale: Without baselines, visual testing becomes subjective screenshot collection. Baselines make quality objective and measurable.

In Practice:

  • Capture initial baselines for all critical pages/viewports
  • Store baselines in Memory MCP with project/page/viewport keys
  • Version baselines (ISO8601 timestamps) for rollback capability
  • Require explicit approval before baseline updates

Principle 2: Multi-Viewport Coverage

Test across multiple viewport configurations to catch responsive regressions that only appear at specific breakpoints.

Rationale: Most visual bugs manifest at edge cases - unusual screen widths, portrait vs landscape, mobile vs desktop. Single-viewport testing misses these.

In Practice:

  • Always test at minimum 3 viewports (mobile, tablet, desktop)
  • Include both portrait and landscape orientations
  • Use standardized viewport presets for consistency
  • Document viewport matrix in test plan

Principle 3: Threshold-Based Comparison

Not every pixel difference is a regression. Configure tolerance thresholds to distinguish intentional changes from bugs.

Rationale: Anti-aliasing, font rendering, and timing-dependent animations create non-deterministic pixel variations. Zero-tolerance comparison produces false positives.

In Practice:

  • Set default threshold at 0.1% pixel difference (99.9% match required)
  • Use highe
Полный SKILL.md на GitHub

Установить visual-testing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл visual-testing?

Screenshot-based visual comparison and regression testing using claude-in-chrome MCP. Captures, compares, and validates UI states to detect layout shifts, visual bugs, and design regressions across viewports.

Как установить скилл visual-testing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл visual-testing запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить visual-testing с