Skip to content

Huc91/pixel-perfect-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pixel-perfect

A visual QA skill for Claude Code that compares your live UI against a Figma design and reports every defect — colors, spacing, typography, alignment, missing elements.

Works with web pages, iOS Simulator, and Android Emulator.


Requirements

All targets

Web pages

npx @playwright/mcp@latest

Add it to Claude Code:

claude mcp add playwright -- npx @playwright/mcp@latest

iOS Simulator

  • Xcode installed with command-line tools
  • iOS Simulator running with your app open at the target screen
xcode-select --install

Android Emulator

  • Android SDK platform-tools installed (adb in PATH)
  • Emulator running with your app open at the target screen
brew install android-platform-tools

Installation

Copy the skill into your Claude Code skills directory:

cp -r . ~/.claude/skills/pixel-perfect

Or clone directly:

git clone https://github.com/Huc91/pixel-perfect-skill ~/.claude/skills/pixel-perfect

Usage

In any Claude Code session, run:

/pixel-perfect <figma-url-or-image> <target>

Examples

Web page:

/pixel-perfect https://figma.com/design/abc123/MyApp?node-id=1:2 http://localhost:3000/dashboard

iOS Simulator (navigate to the screen first, then run):

/pixel-perfect https://figma.com/design/abc123/MyApp?node-id=1:2 ios-simulator

Android Emulator:

/pixel-perfect https://figma.com/design/abc123/MyApp?node-id=1:2 android-emulator

Local reference image instead of Figma:

/pixel-perfect /path/to/design.png http://localhost:3000

What it checks

  • Layout & structure
  • Spacing (padding, margin, gap)
  • Typography (font family, size, weight, color, alignment)
  • Colors (backgrounds, text, borders, icons, shadows)
  • Borders & border radius
  • Icons & images
  • Components (buttons, inputs, cards, badges, nav)
  • Missing or extra elements

Output

A structured report printed in the conversation:

## Visual QA Report
### Overall verdict: PASS / NEEDS WORK / FAIL

#### CRITICAL
#### MAJOR
#### MINOR
### What matches

No files are written — the report lives in the conversation and any temporary screenshots are deleted immediately after comparison.

About

Visual QA skill for Claude Code — compares Figma designs against web, iOS Simulator, and Android Emulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages