Percy Visual Testing

Percy visual testing platform integration for visual regression detection

509 stars

Best use case

Percy Visual Testing is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Percy visual testing platform integration for visual regression detection

Teams using Percy Visual Testing 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

$curl -o ~/.claude/skills/percy-visual/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/qa-testing-automation/skills/percy-visual/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/percy-visual/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Percy Visual Testing Compares

Feature / AgentPercy Visual TestingStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Percy visual testing platform integration for visual regression detection

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

# 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 testing
- `e2e-test-suite.js` - E2E with visual validation
- `cross-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.

Related Skills

react-testing-library

509
from a5c-ai/babysitter

React Testing Library patterns, queries, user events, and accessibility testing.

visual-diff-scorer

509
from a5c-ai/babysitter

Multi-dimensional visual scoring using pixel-diff and structural analysis for design-to-implementation comparison

cloud-security-testing

509
from a5c-ai/babysitter

Multi-cloud security assessment and penetration testing capabilities. Execute Prowler/ScoutSuite assessments, analyze IAM policies, identify cloud misconfigurations, test permissions, and enumerate cloud resources across AWS/GCP/Azure.

RViz Visualization Skill

509
from a5c-ai/babysitter

RViz configuration and custom visualization for robot development and debugging

Stryker Mutation Testing

509
from a5c-ai/babysitter

Stryker mutation testing for assessing test suite quality and effectiveness

pytest Testing

509
from a5c-ai/babysitter

Expert pytest framework for Python unit, integration, and functional testing

Playwright E2E Testing

509
from a5c-ai/babysitter

Deep integration with Playwright for browser automation and end-to-end testing

pact-contract-testing

509
from a5c-ai/babysitter

Consumer-driven contract testing with Pact framework. Generate consumer contracts, configure Pact Broker publishing, execute provider verification, detect breaking changes, and integrate with CI/CD pipelines.

k6 Performance Testing

509
from a5c-ai/babysitter

k6 load testing expertise for performance validation and analysis

JMeter Performance Testing

509
from a5c-ai/babysitter

Apache JMeter expertise for enterprise-grade load and performance testing

Jest Testing

509
from a5c-ai/babysitter

Expert Jest testing framework for JavaScript/TypeScript unit and integration testing

Cypress E2E Testing

509
from a5c-ai/babysitter

Expert Cypress testing framework integration for browser-based end-to-end testing