visual-regression-setup
Configure visual regression testing with Percy, Chromatic, or custom screenshot comparison
Best use case
visual-regression-setup is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Configure visual regression testing with Percy, Chromatic, or custom screenshot comparison
Teams using visual-regression-setup should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/visual-regression-setup/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How visual-regression-setup Compares
| Feature / Agent | visual-regression-setup | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Configure visual regression testing with Percy, Chromatic, or custom screenshot comparison
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# visual-regression-setup
Configure visual regression testing for desktop applications to catch unintended UI changes.
## Capabilities
- Configure Percy integration
- Set up Chromatic for Storybook
- Custom screenshot comparison
- Configure threshold settings
- Handle dynamic content masking
- Set up CI/CD integration
## Input Schema
```json
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"provider": { "enum": ["percy", "chromatic", "reg-suit", "custom"] },
"framework": { "enum": ["playwright", "cypress", "puppeteer"] }
},
"required": ["projectPath"]
}
```
## Percy Integration
```javascript
// playwright.config.js
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
screenshot: 'only-on-failure'
}
});
// test.spec.js
import { test } from '@playwright/test';
import percySnapshot from '@percy/playwright';
test('visual test', async ({ page }) => {
await page.goto('/');
await percySnapshot(page, 'Home page');
});
```
## Custom Comparison
```javascript
const { toMatchImageSnapshot } = require('jest-image-snapshot');
expect.extend({ toMatchImageSnapshot });
test('matches screenshot', async () => {
const screenshot = await page.screenshot();
expect(screenshot).toMatchImageSnapshot({
failureThreshold: 0.01,
failureThresholdType: 'percent'
});
});
```
## Related Skills
- `playwright-electron-config`
- `desktop-ui-testing` processRelated Skills
visual-diff-scorer
Multi-dimensional visual scoring using pixel-diff and structural analysis for design-to-implementation comparison
RViz Visualization Skill
RViz configuration and custom visualization for robot development and debugging
Percy Visual Testing
Percy visual testing platform integration for visual regression detection
BackstopJS Visual Testing
BackstopJS visual regression testing for self-hosted visual comparison
Roadmap Visualization
Generate roadmap visualizations and planning artifacts for product planning
regression-analyzer
Skill for comprehensive regression analysis and modeling
network-visualizer
Skill for visualizing network and graph data
paraview-scientific-visualizer
ParaView visualization skill for 3D scientific data rendering and analysis
pymol-visualizer
PyMOL molecular visualization skill for structure rendering and analysis
decision-visualization
Decision-specific visualization skill for creating clear, actionable visual representations of analyses
tauri-project-setup
Initialize Tauri project with Rust backend and frontend framework integration
spectron-test-setup
Set up Spectron (deprecated) tests for legacy Electron application testing