
Turn reference UIs into a Design DNA JSON of tokens, style and visual effects, then have your agent build new UI from it.
by zanwei· DesignUnclaimed · Yours? Claim it
4 images
About
Design DNA is an Agent Skill from zanwei that turns reference designs into a portable, quantified spec. Give your agent screenshots, images or URLs of designs you like; it extracts a complete Design DNA JSON across three dimensions, then generates new UI from that DNA and your own content. The three dimensions - Design system: measurable tokens for colour, typography, spacing, layout, shape, elevation, motion and components - Design style: mood, visual language, composition, imagery, interaction feel and brand voice - Visual effects: canvas, WebGL, 3D, particles, shaders, scroll-driven motion, cursor effects, SVG animation and glassmorphism How it works - Structure: shows the full schema and what each field means - Analyze: reads your references and fills every field of the JSON profile, noting conflicts between references - Generate: implements the design from the DNA plus your content, by default as self-contained HTML, CSS and JavaScript - Phases work alone or chained, and the JSON can be saved, versioned and reused across projects - Bundled Node scripts measure colours from images deterministically and verify the result How to install it Run npx skills add zanwei/design-dna. It needs Node.js for npx and the measuring scripts. It works in Claude, ChatGPT, Gemini and more agents that support Agent Skills. Good to know - MIT licensed.
Skills people install alongside Design DNA.
Once it’s added
“Extract the design DNA from these three screenshots into a JSON profile.”
“Analyze this landing page URL and fill in the Design DNA schema.”
“Use this design DNA to build a pricing page with my content.”
“Audit my page against the reference and merge the fixes back in.”
Before you add it
Reads only
Screenshots, images and URLs of reference designs
Makes changes · your agent can ask first
A Design DNA JSON profile · HTML, CSS and JavaScript built from the DNA and your content
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Scanned on every change, and again when our rules improve.
Runs on your machine.
Runs on your machine.
Runs on your machine.
Runs on your machine.
npx -y degit zanwei/design-dna ~/.copilot/skills/design-dna
Runs on your machine.
npx -y degit zanwei/design-dna ~/.cursor/skills/design-dna
Runs on your machine.
npx -y degit zanwei/design-dna ~/.claude/skills/design-dna
Runs on your machine.
npx -y degit zanwei/design-dna ~/.agents/skills/design-dna
Runs on your machine.
Runs on your machine.
npx -y degit zanwei/design-dna ~/.gemini/skills/design-dna
Runs on your machine.
npx -y degit zanwei/design-dna .agents/skills/design-dna
Runs on your machine.
npx -y degit zanwei/design-dna ~/.openclaw/skills/design-dna
Runs on your machine.
npx -y degit zanwei/design-dna ~/.config/opencode/skills/design-dna
Runs on your machine.
npx -y degit zanwei/design-dna ~/.hermes/skills/design-dna
Scanned and passed · checked 48 min ago
No reviews yet. Used Design DNA? Say how it went.
Write a reviewSkills people install alongside Design DNA.
Has your agent explain a technical idea as an interactive isometric figure of a real machine, built from many small shaded parts.
A community skill that turns a description, code, Terraform, SQL or API schemas into editable draw.io diagrams, and keeps them in sync.
Turns your agent into a disciplined logo designer, from the brief to tested SVG concepts, lockups, icons and brand guidelines.
Turns one approved character still into a game-ready sprite set: every action animated, keyed, looped and exported for your engine.
Nobody has shared how they use Design DNA yet.
Security scan
Passed
Safe to install in every agent it supports. Runs in your agent, as instructions.