Agent skill
Percy Visual Testing
Percy visual testing platform integration for visual regression detection
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/skills/other/percy-visual
SKILL.md
Percy Visual Testing Skill
Overview
This skill provides expert-level capabilities for Percy-based visual testing, enabling snapshot capture, visual diff analysis, and seamless CI/CD integration.
Capabilities
Snapshot Capture
- Capture visual snapshots across viewports
- Configure responsive testing breakpoints
- Handle dynamic content masking
- Full-page and element snapshots
Visual Diff Analysis
- Analyze visual diffs between builds
- Identify intentional vs unintentional changes
- Configure diff sensitivity
Baseline Management
- Manage Percy baseline approvals
- Handle baseline branching
- Configure auto-approval rules
CI/CD Integration
- Configure Percy with CI/CD pipelines
- GitHub/GitLab integration
- Pull request visual reviews
Framework Integration
- Integrate with Playwright
- Integrate with Cypress
- Integrate with Selenium
- Storybook integration
Target Processes
visual-regression.js- Visual regression testinge2e-test-suite.js- E2E with visual validationcross-browser-testing.js- Cross-browser visual testing
Dependencies
@percy/cli- Percy CLI@percy/playwright/@percy/cypress- Framework SDKs- Percy account and token
Usage Example
javascript
{
kind: 'skill',
skill: {
name: 'percy-visual',
context: {
action: 'capture-snapshots',
testSuite: 'e2e',
widths: [375, 768, 1280],
branch: 'feature/new-design'
}
}
}
Configuration
The skill requires a Percy token and can be configured to work with various testing frameworks.
Didn't find tool you were looking for?