>- (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 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".
29k tokens
context cost
the whole folder, loaded on every use
12
files
instructions only
0
copies elsewhere
how many repositories repackaged it
1224
stars on the repo
on the repository, not the skill itself
Install
one command, takes just this skill from the repository
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.
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_notes when exact implementation can't be determined.
Set enabled: false for any effect category not present in the reference
Rate overview.effect_intensity and overview.performance_tier based 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_system values
Apply design_style qualitative 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_effects using appropriate technologies: