agentsclimarketplace

Design compare

Skill manashmandal/claude-skills/skills/design-compare

Use when comparing a frontend implementation against a reference design (Figma, mockup, screenshot). Performs pixel-level and structural analysis to identify discrepancies.From its SKILL.md

Install
npx -y skills add manashmandal/claude-skills --skill design-compare

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.1 KB, as published. Nobody here has run it

Design Compare

Overview

Compare your frontend implementation against a reference design to identify visual discrepancies, spacing inconsistencies, and structural mismatches.

Core principle: Every pixel matters. Systematic comparison reveals what eyeballing misses.

When to Use

Use this skill when:

  • Implementing a design from Figma/Sketch/mockup
  • Checking if implementation matches design spec
  • Debugging visual differences between design and code
  • QA review before handoff
  • User says "compare this to the design" or "check against mockup"

Required Inputs

  1. Reference design - Screenshot, Figma export, or mockup image
  2. Implementation - Screenshot of current frontend OR URL to capture

Announce: "I'll compare your implementation against the reference design using design-compare."

Comparison Process

Phase 1: Capture and Prepare

  1. Obtain reference design

    • User provides screenshot/image path
    • Read the image using Read tool
    • Note dimensions, viewport size
  2. Capture implementation

    • User provides screenshot OR
    • Request user to capture current state
    • Match viewport/dimensions to reference

Phase 2: Structural Analysis

Compare these elements systematically:

ElementCheck For
LayoutGrid alignment, container widths, flex/grid structure
SpacingMargins, padding, gaps between elements
TypographyFont family, size, weight, line-height, letter-spacing
ColorsBackground, text, borders, shadows
ComponentsButton styles, inputs, cards, icons
HierarchyVisual weight, heading levels, emphasis
ResponsiveBreakpoint behavior if applicable

Phase 3: Generate Comparison Report

Output format:

## Design Comparison Report

### Match Score: [X/10]

### Critical Discrepancies (Must Fix)
- [ ] Issue description | Location | Reference vs Implementation

### Minor Discrepancies (Should Fix)
- [ ] Issue description | Location | Reference vs Implementation

### Acceptable Variations
- Variation description | Reason acceptable

### Pixel-Perfect Elements
- Element that matches exactly

Evaluation Criteria

Spacing (Weight: High)

  • Measure in pixels or design tokens
  • Flag differences > 4px
  • Check consistency across similar elements

Typography (Weight: High)

  • Font family must match exactly
  • Size tolerance: ±1px
  • Weight must match (400 vs 500 matters)
  • Line-height tolerance: ±2px

Colors (Weight: Medium)

  • Hex values within #02 tolerance per channel
  • Check in multiple states (hover, active, focus)
  • Gradient direction and stops

Layout (Weight: Critical)

  • Container widths must match
  • Alignment (left/center/right)
  • Element ordering
  • White space distribution

Visual Polish (Weight: Medium)

  • Border radius consistency
  • Shadow values
  • Icon sizing and alignment
  • Image aspect ratios

Common Discrepancies

IssueImpactTypical Cause
Inconsistent spacingHighMissing design tokens
Wrong font weightMediumDefault browser styles
Color off by shadeLowColor space conversion
Different line-heightHighFramework defaults
Misaligned iconsMediumBaseline alignment issues
Border radius mismatchLowHardcoded values

Output Actions

After comparison, offer:

  1. Generate CSS fixes - Output corrected values
  2. Create issue list - Checklist format for tickets
  3. Deep dive - Analyze specific element in detail

Red Flags

Stop and clarify if:

  • Reference image is low resolution
  • Implementation uses different viewport size
  • Design has responsive variants not provided
  • Component states differ (hover vs default)

Integration

Related skills:

  • design-audit - For identifying issues without reference
  • design-report - For comprehensive expert analysis

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.