recreate-screenshot

Recreate pixel-perfect UI scaffolds from screenshots with phase-based analysis.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/scikrikci/skills --skill recreate-screenshot-scikrikci
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recreate-screenshot
Source: https://github.com/scikrikci/skills/tree/main/skills/recreate-screenshot
Command: npx skills add https://github.com/scikrikci/skills --skill recreate-screenshot-scikrikci

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Recreate a UI screen from a screenshot or image reference. The goal is pixel-perfect accuracy — the rendered output should be visually indistinguishable from the source image.

Core Features & Use Cases

  • Phase 1: Analyze the Screenshot

  • Layout Analysis: Identify the overall layout structure; map the visual hierarchy; note container structures; identify repeating patterns.

  • Color Extraction: Extract exact colors from the image; record all colors as hex; note if a dark theme is present.

  • Typography Analysis: Determine font classification, heading sizes, body text size, font weights, and letter spacing.

  • Component Inventory: Catalog visible components such as buttons, cards, inputs, navigation, lists, modals, tags, and avatars.

  • Spacing System: Define container padding, section spacing, internal card padding, gaps, and margin multiples.

  • Phase 2: Build

  • Construction Rules: Match layout fidelity, color fidelity, typography fidelity, and component fidelity; reproduce content exactly as shown; ensure correct interaction states.

  • Phase 3: Validate

  • Visual validation: compare layout, colors, typography, spacing, and component details against the source image; iterate until fidelity is achieved.

Quick Start

Paste the reference screenshot and the AI will generate a pixel-perfect UI recreation scaffold.

Frequently Asked Questions about recreate-screenshot

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

FAQPage Schema
How do I recreate a UI from a screenshot with pixel-perfect accuracy?

To recreate a UI from a screenshot, you need a systematic phase-based approach analyzing layout, color, typography, and spacing to build a component scaffold matching exact dimensions and validate visual fidelity against the source image.

What is the best way to extract design tokens from an image reference for UI recreation?

Extracting design tokens from an image reference involves analyzing the screenshot to record exact hex colors, determine font classifications and weights, and define container padding, section spacing, and margin multiples for accurate reproduction.

How does visual QA work when reproducing a UI from a screenshot?

Visual QA during UI reproduction works by validating layout, colors, typography, spacing, and component details against the source image, iterating on the build until the rendered output is visually indistinguishable from the original.

Can I use a screenshot recreation workflow for designer handoff?

Yes, screenshot recreation is ideal for designer handoff as it catalogs visible components like buttons, cards, and inputs, reproduces content exactly as shown, and ensures correct interaction states are built into the scaffold.

How do I map visual hierarchy and layout structure from a screenshot?

Mapping visual hierarchy from a screenshot requires identifying the overall layout structure, noting container structures, cataloging repeating patterns, and defining the spacing system to ensure layout fidelity in the final build.

What are the limitations of pixel-perfect UI recreation from screenshots?

Pixel-perfect UI recreation is limited by the image resolution and requires iterative visual validation to achieve fidelity, meaning complex layouts or low-quality references may need multiple passes to match exact dimensions and content.