kobogithub/knowledge/uiux-pixelmatch
Claude Code and agent skill by kobogithub/knowledge
- community
Checking that the SKILL.md file is still in the repository.
Visual regression testing with pixel-level comparison against Penpot design exports
Install
npx vskill@latest install kobogithub/knowledge/uiux-pixelmatchSKILL.md
The same SKILL.md was published earlier as kobogithub/knowledge/uiux-pixelmatch.
uiux-pixelmatch
Comparacion visual pixel-a-pixel entre screenshots del sitio web y exports de Penpot usando Pixelmatch para detectar regresiones visuales y desviaciones del diseno.
Overview
Pixelmatch es una libreria minimalista de comparacion de imagenes que:
- Compara dos imagenes PNG pixel a pixel
- Genera una imagen diff resaltando las diferencias
- Retorna el numero de pixeles diferentes
- Soporta tolerancia anti-aliasing y thresholds configurables
- Es extremadamente rapida (~150ms para imagenes 1920x1080)
El workflow principal es: Penpot Export → Screenshot Web → Pixelmatch Diff → Reporte.
Instalacion
Script de Comparacion Visual
Script basico: scripts/visual-compare.js
Script avanzado: scripts/visual-compare-batch.js
Thresholds Recomendados
Por tipo de componente
| Componente | Threshold | Razon | |
|---|---|---|---|
| Iconos/Logos | 0.5% | Deben ser pixel-perfect | |
| Tipografia | 1.0% | Font rendering varia entre OS | |
| Layout completo | 2.0% | Variaciones menores aceptables | |
| Imagenes/Fotos | 3.0% | Compresion puede variar | |
| Animaciones (frame) | 5.0% | Timing de captura variable |
Por viewport
| Viewport | Threshold | Razon | |
|---|---|---|---|
| Desktop 1440px | 1.5% | Mas espacio, menos variacion | |
| Tablet 768px | 2.0% | Layouts intermedios | |
| Mobile 375px | 2.5% | Mas variacion por espacio reducido |
Opciones de pixelmatch por caso
Workflow con Penpot MCP
Paso 1: Exportar referencia desde Penpot
Paso 2: Capturar screenshot con Playwright MCP
Paso 3: Comparar con Pixelmatch
Paso 4: Batch comparison (todas las paginas)
Normalizacion de Imagenes
Redimensionar imagenes para que coincidan
Recortar areas especificas
Reporte para Beads
Formato de reporte estandar
Formato de reporte para bugs
Design Tokens Validation
Comparar tokens de Penpot con CSS
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/uiux-pixelmatch/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kobogithub/knowledge/uiux-pixelmatch)