Skip to content
Back to skills

Rialto Visual Diff Review

ASecurity

When a visual regression spec fails, triage and resolve.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 22, 2026
developmentbash

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add mattbutlerengineering/mattbutlerengineering --skill rialto-visual-diff-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rialto Visual Diff Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rialto Visual Diff Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattbutlerengineering-rialto-visual-diff-review/badge)](https://www.skillsdirectory.com/skills/mattbutlerengineering-rialto-visual-diff-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Skill: rialto-visual-diff-review

When a visual regression spec fails, triage and resolve.

## Problem Patterns

1. Visual diff shows intentional design change (new component, updated styling)
2. Visual diff shows regression (broken layout, missing element)
3. Screenshot stale (component changed but screenshot not updated)

## Triage Workflow

### Step 1: Review the Diff

```bash
# Open the failing spec
pnpm test:visual

# Review diff PNGs in apps/rialto-web/e2e/screenshots/
# Compare light-*.png vs light-*-diff.png
```

### Step 2: Classify the Change

| Pattern                    | Action                                   |
| -------------------------- | ---------------------------------------- |
| Intentional design change  | Update screenshot, update spec if needed |
| Regression (broken layout) | File issue or fix immediately            |
| Stale screenshot           | Update screenshot                        |

### Step 3: Update Screenshots (if intentional)

```bash
# Update specific screenshot
npx playwright test apps/rialto-web/e2e/visual.spec.ts --update-snapshots

# Verify the updated screenshot looks correct
open apps/rialto-web/e2e/screenshots/<updated>.png
```

### Step 4: File Issue (if regression)

```bash
# Create issue with screenshot attached
gh issue create --repo mattbutlerengineering/mattbutlerengineering \
  --title "Visual regression: <component> <description>" \
  --label "bug,acmm-rialto-web" \
  --body "Visual diff shows <description>. Screenshot attached." \
  --attach apps/rialto-web/e2e/screenshots/<file>-diff.png
```

## Prevention

- Run `pnpm test:visual` before claiming UI work is complete
- New components require a visual spec in `e2e/visual.spec.ts`
- Always review diff PNGs, not just pass/fail status

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.