design-compare

Solid

Compare Figma designs against implementation screenshots, identifying layout, typography, color, and sizing discrepancies. Generates a structured visual review table and an interactive HTML comparison page with swipe and side-by-side modes. Use when the user asks to compare design with preview, compare Figma with screenshot, check design implementation, or provides a Figma URL alongside a screenshot.

Web & Frontend 36 stars 3 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Design Compare Compare Figma design screenshots against local preview screenshots, producing a structured visual review and an interactive HTML comparison page. Supports multiple screens in a single report. ## Setup `$SKILL_DIR` refers to the directory containing this SKILL.md file. Resolve it based on where the skill is installed (e.g. `.claude/skills/design-compare`, `.agents/skills/design-compare`, etc.). ## Prerequisites The export script requires a `FIGMA_ACCESS_TOKEN` env var. Store it in `.env` at the repo root: ``` FIGMA_ACCESS_TOKEN=figd_... ``` The script auto-loads `.env` from the repo root. Get a token from https://www.figma.com/developers/api#access-tokens **Important:** Ensure `.env` is listed in `.gitignore` to avoid committing tokens. ## Workflow ### Step 1: Obtain Images for Each Screen Repeat for each screen being compared. Use a slug (e.g. `empty-state`, `list-view`) to name files. Derive the report folder from the project or context name, e.g. `design-compare-reports/LayoutCheckExample/`. Within this folder, store images in per-view subfolders named after the source file (without extension), e.g. `ContentView/`, `SliderView/`. The report folder holds a single shared `config.js` and `report.html`. **Figma design image:** - Extract `fileKey` and `nodeId` from the Figma URL. - Call `mcp__figma__get_screenshot` with the extracted parameters. The screenshot is returned inline for visual comparison in Step 2. - To save it as a file for the HTML page...

Details

Author
artemnovichkov
Repository
artemnovichkov/skills
Created
10 months ago
Last Updated
4 days ago
Language
HTML
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

figma-generate-design

Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code', 'convert this modal/dialog/drawer/panel to Figma'. This is the preferred workflow skill whenever the user wants to build or update a full page, modal, dialog, drawer, sidebar, panel, or any composed multi-section view in Figma from code or a description. Discovers design system components, variables, and styles from Code Connect files, existing screens, and library search, then imports them and assembles views incrementally section-by-section using design system tokens instead of hardcoded values.

0 Updated 1 months ago
Moliboy5000
Web & Frontend Solid

figma-generate-design

Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code', 'convert this modal/dialog/drawer/panel to Figma'. This is the preferred workflow skill whenever the user wants to build or update a full page, modal, dialog, drawer, sidebar, panel, or any composed multi-section view in Figma from code or a description. Discovers design system components, variables, and styles from Code Connect files, existing screens, and library search, then imports them and assembles views incrementally section-by-section using design system tokens instead of hardcoded values.

5,775 Updated today
Devin-AXIS
Web & Frontend Listed

figma-implement-design

Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes (Plugin API), see the opt-in `figma-use` pack documented in `docs/SKILLS.md`.

16 Updated today
ulises-jeremias