# Refreshing Visual Baselines

> Refreshes the visual-regression baselines after an intentional visual change. Use when the snapshot suite reports an intended difference.

- Skill: `brokenrobot-xyz/refreshing-visual-baselines` (Agent Skill)
- Install (CLI): `npx skillmds@latest add brokenrobot-xyz/refreshing-visual-baselines`
- Raw SKILL.md: https://api.skillmd.com/api/skills/brokenrobot-xyz/refreshing-visual-baselines/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: brokenrobot-xyz (https://skillmd.com/u/brokenrobot-xyz)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/brokenrobot-xyz/refreshing-visual-baselines

---


# Refresh the visual baselines

## Steps

1. Run the snapshot suite in the light theme.
2. Run the snapshot suite in the dark theme (delete the stale diff directory first,
   because a stale diff mixes the old run's images into the new report).
3. Review each reported difference.
4. When every difference is intentional, commit the refreshed baselines.

