design-dna

Extract visual design identity into machine-readable Design DNA JSON profiles.

1.3k|62|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/zanwei/design-dna --skill design-dna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-dna
Source: https://github.com/zanwei/design-dna/tree/main
Command: npx skills add https://github.com/zanwei/design-dna --skill design-dna

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the inconsistency of subjective design replication by turning visual design identities from reference designs (screenshots, live URLs, or images) into precise, machine-readable "Design DNA" specifications that any AI agent can use to generate consistent, faithful UI implementations without guesswork.

Core Features & Use Cases

  • 3-Dimension Design Profiling: Captures design system (measurable tokens like color, typography, spacing), design style (qualitative feel like mood, composition, brand voice), and visual effects (Canvas, WebGL, 3D, particles, shaders, etc.) from any reference design.
  • 3-Phase Flexible Workflow: Use standalone phases to output the full design schema, analyze references into complete JSON profiles, or generate production-ready UI from existing DNA JSON, or chain phases end-to-end for full workflow execution.
  • Use Case: If you admire the design of a reference website, use this Skill to extract its full Design DNA, then apply that DNA to your own project's content to get a matching, production-ready interface in minutes without manually recreating every design detail.

Quick Start

Use the design-dna skill to analyze the visual design of the reference site https://example.com and generate a matching landing page for your new SaaS product using the extracted Design DNA.

Frequently Asked Questions about design-dna

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

FAQPage Schema
How do I extract a design system from a reference website?

You can extract a design system from a reference website by profiling its visual identity across design tokens, style, and visual effects to output structured JSON profiles. This captures measurable attributes like color and typography into machine-readable specifications.

What is the best way to replicate visual effects from an existing UI?

Replicating visual effects from an existing UI involves extracting Canvas, WebGL, 3D, and shader parameters into a structured design DNA profile. This profile then generates self-contained HTML, CSS, and JS implementations with built-in fallbacks.

Can I generate production-ready HTML from a design screenshot?

You can generate production-ready HTML from a design screenshot by applying the extracted design DNA JSON profile. The workflow converts the visual reference into self-contained HTML, CSS, and JS code without manual recreation of design details.

Does design DNA extraction work for qualitative design styles like mood and brand voice?

Design DNA extraction explicitly captures qualitative design style attributes including mood, composition, and brand voice alongside measurable tokens. This ensures the generated UI matches the exact feel of the original reference design.

How do I document design tokens from an image reference?

Documenting design tokens from an image reference involves analyzing the visual input to structure color, typography, and spacing into a machine-readable JSON schema. This eliminates subjective guesswork by providing precise specifications for AI agents.

What are the limitations of using design DNA for UI generation?

A key limitation of using design DNA for UI generation is that complex visual effects like WebGL and shaders require built-in fallbacks. While it generates self-contained HTML, CSS, and JS, highly custom interactions may still need manual refinement.