visual-diff-scorer
Multi-dimensional visual scoring using pixel-diff and structural analysis for design-to-implementation comparison
npx skills add a5c-ai/babysitter --skill visual-diff-scorer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Overview
- Prerequisites
- Capabilities
- 1. Multi-Dimensional Scoring
- 2. Pixel-Diff Analysis
- 3. Region-Based Analysis
- 4. Color Extraction and Comparison
- 5. Structural Analysis
- Input Schema
- Output Schema
- Process Integration
- Usage Example
- Best Practices
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.
