analysis-screenshot

Analyze UI screenshots to produce design-token catalogs for CSS, Tailwind, and SwiftUI.

35|2|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/deepeshBodh/human-in-loop --skill analysis-screenshot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analysis-screenshot
Source: https://github.com/deepeshBodh/human-in-loop/tree/main/plugins/humaninloop/skills/analysis-screenshot
Command: npx skills add https://github.com/deepeshBodh/human-in-loop --skill analysis-screenshot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract and organize design information from UI screenshots into a structured design-token catalog, enabling rapid design-system work and consistent implementation.

Core Features & Use Cases

  • Color palette extraction: derive primary, secondary, and neutral colors with roles from the screenshot.
  • Typography & spacing inference: identify font families, weights, sizes, and vertical rhythm to build a typographic scale and spacing system.
  • Component inventory: catalog visible components, states, and hierarchy to support UI reconstruction and design QA.
  • Output readiness: produce CSS/Tailwind/SwiftUI-friendly tokens and reference maps for engineering.

Quick Start

Provide a screenshot image to start extracting tokens and components for your design system.

Frequently Asked Questions about analysis-screenshot

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

FAQPage Schema
How do I extract design tokens from a UI screenshot?

To extract design tokens from a UI screenshot, provide the image to the analyzer. It derives a structured catalog of colors, typography, spacing, and components suitable for immediate use in design systems.

What is component inventory extraction from reference interfaces?

Component inventory extraction catalogs visible components, states, and hierarchy from reference interfaces. This process supports UI reconstruction and design QA by identifying structural elements within the provided screenshot.

Can I generate Tailwind or SwiftUI tokens from an image?

Yes, you can generate Tailwind or SwiftUI tokens from an image. The analysis outputs design-ready tokens formatted specifically for CSS, Tailwind, and SwiftUI implementations while identifying visible component gaps.

How do I analyze typography and spacing from a screenshot for a design system?

Analyzing typography and spacing from a screenshot identifies font families, weights, sizes, and vertical rhythm. This builds a structured typographic scale and spacing system to ensure consistent interface implementation.

Does color palette extraction detect primary and secondary roles from screenshots?

Yes, color palette extraction detects primary, secondary, and neutral colors from screenshots. It assigns specific roles to each derived color, organizing them into a structured design-token catalog for rapid system development.

What is the best way to reverse engineer a UI design from an image?

The best way to reverse engineer a UI design from an image is analyzing screenshots to produce structured design tokens. This extracts colors, typography, spacing, and component inventories into code-ready outputs for CSS or SwiftUI.