Skip to content
skillcellar
All skills

Design DNA

Design

Turns reference screenshots or URLs into a reusable Design DNA JSON, then generates matching UI from it.

Stars2.2k
Forks122
Watchers2
Open issues2
LicenseMIT
Last push3 months ago

Install

install

$ npx skills add zanwei/design-dna

Works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and any other agent that reads SKILL.md.

Update

update

$ npx skills update

Or re-run the install command.

When to use it

  • You like how a site looks and want its palette, type and spacing as data instead of an adjective
  • Reusing one visual identity across several pages or projects
  • Making an agent follow a reference closely, including effects like WebGL, particles or scroll motion
  • Saving a design spec in version control for a team

Commands & flags

npx skills add zanwei/design-dna -a claude-code -g -y
Install for Claude Code only, globally and non-interactively.
Analyze this design and extract its design DNA
Produces a JSON profile of tokens, qualitative style and visual effects from images or URLs.
Generate a landing page from this design DNA JSON and my content
Implements the design from saved DNA, by default as self-contained HTML, CSS and JS.
Show me the design DNA schema
Prints the full structure and field meanings.

How to use it

Install, then run the three phases alone or chained:

  1. Structure: show the schema.
  2. Analyze: feed screenshots, images or URLs; get a complete JSON covering design system tokens, design style and visual effects.
  3. Generate: give the JSON plus your content and get an implementation.
Analyze these screenshots, then build a pricing page with that design DNA

If the first result feels thin, re-attach the same references and ask for an audit of hierarchy, typography rhythm, motion and materiality against them.

It reads a reference you provide; do not use it to copy a brand's identity for a competing product.

Why it earns its place

"Make it look like that site" is vague, and agents drift from it. Extracting a structured profile first gives you a file you can commit, share and refine, so later generations stay consistent instead of regenerating a look from scratch each time.

Try it

claude

> Extract the design DNA from these three screenshots and build a hero section in that style