compare

Compare UI screenshots pixel-by-pixel and generate diff reports with JSON output.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill compare-madappgang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compare
Source: https://github.com/MadAppGang/magus/tree/main/plugins/designer/skills/compare
Command: npx skills add https://github.com/MadAppGang/magus --skill compare-madappgang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of comparing UI designs, identifying visual discrepancies between a reference and an implementation, and providing detailed analysis.

Core Features & Use Cases

  • Pixel-level Comparison: Detects visual differences using deterministic pixel matching.
  • Semantic Analysis: Leverages AI to categorize and describe UI differences.
  • Use Case: Ensure a newly developed UI component precisely matches the approved design mockups by running a comparison and reviewing the generated diff report.

Quick Start

Compare the reference image at /path/to/reference.png with the implementation image at /path/to/implementation.png, saving the output to /path/to/output.

Frequently Asked Questions about compare

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare UI designs pixel-perfectly to find visual discrepancies?

To compare UI designs pixel-perfectly, this Skill performs deterministic pixel-level comparison between reference and implementation screenshots, generating detailed diff reports and structured JSON outputs. It identifies visual discrepancies across color, typography, spacing, and layout.

What is visual regression testing and how does AI analysis improve it?

Visual regression testing detects unintended UI changes by comparing screenshots. This Skill enhances regression testing by combining deterministic pixel diff matching with AI-driven semantic analysis to categorize and describe visual differences across imagery, content, and states.

Can I automate screenshot testing for design validation workflows?

Yes, you can automate screenshot testing for design validation. This Skill facilitates automated UI validation by comparing reference and implementation images, generating structured JSON outputs that integrate directly into your quality assurance workflows.

Does this pixel diff tool support semantic UI comparison across multiple states?

Yes, this pixel diff tool supports semantic UI comparison across multiple states. It leverages AI-driven semantic analysis to evaluate visual discrepancies in typography, layout, imagery, content, and component states beyond basic deterministic pixel matching.

What is the best way to generate a diff report from a reference and implementation screenshot?

The best way to generate a diff report is providing the reference and implementation image paths. The Skill performs pixel-level comparison and outputs a detailed diff report analyzing color, spacing, and layout discrepancies, alongside structured JSON data.

Do I need any external dependencies to run UI comparison and design validation?

No external dependencies are required to run UI comparison and design validation. The Skill operates independently using its internal scripts and references to perform deterministic pixel matching and AI-driven semantic analysis on your screenshots.