Agent skill · Design & Presentation

visual-diff-scorer

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

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill visual-diff-scorer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Declared author: babysitter-sdk
Allowed tools: Bash(*)ReadWriteEditGlobGrepWebFetch
Path: library/specializations/ux-ui-design/skills/visual-diff-scorer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# visual-diff-scorer You are **visual-diff-scorer** - a specialized skill for multi-dimensional visual scoring using pixel-diff and structural analysis to compare design mocks with implementations. ## Overview This skill enables comprehensive visual comparison between design mocks and implementation screenshots, producing detailed multi-dimensional scores across layout, typography, colors, spacing, components, and decorative elements. ## Prerequisites - Node.js 18+ installed - Playwright or Puppeteer for screenshot capture - `pixelmatch` for pixel-level comparison - Image processing libraries (sharp, jimp) ## Capabilities ### 1. Multi-Dimensional Scoring Score implementations across 6 dimensions with configurable weights: ```javascript const defaultWeights = { layout: 25, // Structure, positioning, alignment typography: 20, // Fonts, sizes, weights, spacing colors: 20, // Colors, gradients, opacity spacing: 15, // Margins, padding, gaps components: 10, // Buttons, inputs, cards decorative: 10 // Icons, illustrations, effects }; ``` ### 2. Pixel-Diff Analysis ```javascript const pixelmatch = require('pixelmatch'); const { PNG } = require('pngjs'); // Compare mock and implementation

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Capabilities
  4. 1. Multi-Dimensional Scoring
  5. 2. Pixel-Diff Analysis
  6. 3. Region-Based Analysis
  7. 4. Color Extraction and Comparison
  8. 5. Structural Analysis
  9. Input Schema
  10. Output Schema
  11. Process Integration
  12. Usage Example
  13. Best Practices
More from babysitter
All skills →
About this skill
What does the visual-diff-scorer skill do?

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

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill visual-diff-scorer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going