Design DNA
DesignTurns reference screenshots or URLs into a reusable Design DNA JSON, then generates matching UI from it.
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
$ 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:
- Structure: show the schema.
- Analyze: feed screenshots, images or URLs; get a complete JSON covering design system tokens, design style and visual effects.
- 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
> Extract the design DNA from these three screenshots and build a hero section in that style