design-dna
Skill4 starsChanged 8 months agoMITView on GitHub
Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure/schema, (2) a user provides images, screenshots, or URLs of reference designs and wants them analyzed into a structured JSON profile covering all three dimensions, (3) a user has a Design DNA JSON and content and wants a design generated from it, or (4) any combination of these phases. Triggers on "design DNA", "extract design style", "analyze design", "design tokens from reference", "generate design from JSON", "design system from screenshot", "design profile", "style guide JSON", "visual effects analysis", "design with effects", "3d design analysis".
7 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- davidanthonyn/claude-skillsword for word, first seen Oct 20, 2026
- benmix/skillsedited, first seen Oct 13, 2026
- Harikrish0406/claude-skillsword for word, first seen Sep 23, 2026
- mjcreations123/design-dnatheir own version, first seen Sep 6, 2026
- zanwei/design-dnaedited, first seen Aug 28, 2026
- yazilimcursor-del/GAME_STUDIOtheir own version, first seen Aug 13, 2026
Other versions7 projects use a version of this.
Word for word · 2
- davidanthonyn/claude-skills★ 0100% same
- Harikrish0406/claude-skills★ 0100% same
Edited · 2
- zanwei/design-dna★ 1.7k69% same
- benmix/skills★ 169% same
Wrote their own version · 3
- augchan42/inkstone★ 5same name
- mjcreations123/design-dna★ 2same name
- yazilimcursor-del/GAME_STUDIO★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
When the user asks for the structural dimensions or schema:
- Distinctive: line 37
Ask if the user wants to customize or extend any dimensions
- Distinctive: line 41
When the user provides images, screenshots, or links representing a target design style:
- Distinctive: line 43
Read references/schema.md for the full field list
- Distinctive: line 45
If image/screenshot: analyze visual properties directly
- Distinctive: line 46
If URL: fetch and analyze the page's visual design
- Distinctive: line 48
When multiple references conflict, note the dominant pattern and mention variants
- Distinctive: line 50
After output, ask: "Want to adjust any values before using this for generation?"
- Distinctive: line 61
motion: If observable (video/interactive), note easing curves and duration feel.
- Distinctive: line 77
When the user provides DNA JSON + content to design:
- Distinctive: line 83
When the design needs assets or source materials, fetch them from the original source whenever possible.
- Distinctive: line 89
Run quality checks from the generation guide
- Distinctive: line 93
Use a described style (extract DNA from description, then generate)
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design DNA
A 3-phase workflow for extracting, structuring, and applying design identity across three dimensions:
- Design System — measurable tokens (color, typography, spacing, layout, shape, elevation, motion, components)
- Design Style — qualitative perception (mood, visual language, composition, imagery, interaction feel, brand voice)
- Visual Effects — special rendering (Canvas, WebGL, 3D, particles, shaders, scroll effects, cursor effects, SVG animations, glassmorphism, etc.)
Phases
Phase 1: Structure — Output the Schema
When the user asks for the structural dimensions or schema:
- Read references/schema.md
- Present the full schema with field descriptions
- Explain the three dimensions and their roles:
- design_system: What you can measure — exact hex values, pixel sizes, rem scales
- design_style: What you can feel — mood, personality, composition strategy
- visual_effects: What you can see but can't express in CSS alone — WebGL scenes, particle systems, shader distortions, scroll-driven animations
- Ask if the user wants to customize or extend any dimensions
Phase 2: Analyze — Extract DNA from References
When the user provides images, screenshots, or links representing a target design style:
- Read references/schema.md for the full field list
- For each reference provided:
- If image/screenshot: analyze visual properties directly
- If URL: fetch and analyze the page's visual design
- For every field in the schema, extract or infer a value from the references
- When multiple references conflict, note the dominant pattern and mention variants
- Output a complete Design DNA JSON — every field populated, no empty strings
- After output, ask: "Want to adjust any values before using this for generation?"
Analysis approach per dimension:
Dimension 1: design_system
- color: Extract dominant palette via visual sampling. Primary by area dominance, secondary by supporting role, accent by CTA usage. Map neutral scale from lightest background to darkest text.
- typography: Identify font families by visual characteristics (geometric, humanist, serif class). Estimate scale ratios from heading/body size relationships.
- spacing: Assess density by element proximity. Measure rhythm by section gap consistency.
- layout: Identify grid by content alignment patterns. Note max-width, column count, asymmetry.
- shape: Measure border-radius by comparing to element height. Note border and divider presence.
- elevation: Classify shadow softness, spread, and layering approach.
- motion: If observable (video/interactive), note easing curves and duration feel.
Dimension 2: design_style
- Synthesize holistic impressions — mood, personality, composition strategy
- Compare against genre archetypes (SaaS, editorial, brutalist, etc.)
- Note ornamentation level and whitespace philosophy
Dimension 3: visual_effects
- From code: Scan for
<canvas>, WebGL contexts, Three.js/Pixi.js imports, GSAP/Lottie usage, custom shaders, IntersectionObserver scroll triggers, SVG<animate>elements - From screenshots: Describe visible effects that go beyond standard CSS — glowing particles, 3D object renders, noise textures, gradient animations, parallax depth, cursor trails, text distortions, glassmorphic surfaces. Note these in
composite_noteswhen exact implementation can't be determined. - From video/interaction demos: Note scroll behaviors, hover distortions, transition choreography, loading sequences
- Set
enabled: falsefor any effect category not present in the reference - Rate
overview.effect_intensityandoverview.performance_tierbased on what's observed
Phase 3: Generate — Apply DNA to Content
When the user provides DNA JSON + content to design:
- Read references/generation-guide.md
- Parse the DNA JSON and extract all tokens across three dimensions
- Build CSS custom properties from
design_systemvalues - Apply
design_stylequalitative fields to guide subjective design decisions - When the design needs assets or source materials, fetch them from the original source whenever possible. If the user provided a URL, retrieve the real asset from that URL instead of recreating, approximating, or substituting it.
- Implement
visual_effectsusing appropriate technologies:- Lightweight effects → CSS animations, SVG, vanilla JS
- Medium effects → Canvas 2D, GSAP, Lottie
- Heavy effects → Three.js, custom GLSL shaders, Pixi.js
- Generate the design output (default: self-contained HTML with inline CSS/JS)
- Run quality checks from the generation guide
If the user provides only content without DNA JSON, ask whether to:
- Analyze a reference first (go to Phase 2)
- Use a described style (extract DNA from description, then generate)
Phase Combinations
Users may invoke any combination:
- Phase 1 only: "Show me the design structure/schema"
- Phase 2 only: "Analyze this design" (with images/links)
- Phase 2 → 3: "Analyze this design and build me a landing page in the same style"
- Phase 1 → 2 → 3: Full pipeline
- Phase 3 only: User already has DNA JSON
Detect which phase(s) are needed from context and execute accordingly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

