moai-domain-design-dna

Extract design tokens and effects from reference designs into a JSON profile for artifact generation.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/taewook486/Masters_degree --skill moai-domain-design-dna-taewook486
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: moai-domain-design-dna
Source: https://github.com/taewook486/Masters_degree/tree/main/.claude/skills/moai-domain-design-dna
Command: npx skills add https://github.com/taewook486/Masters_degree --skill moai-domain-design-dna-taewook486

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Recreating an existing design from memory produces vague approximations where colors drift, spacing flattens, and signature effects go missing. This Skill inserts a structured Design DNA JSON between the reference and the output, so every color, radius, and easing curve in the generated artifact traces back to a recorded field. ## Core Features & Use Cases - Reference Deconstruction: Analyze screenshots, image sets, live URLs, or video captures into a three-dimension JSON profile covering measurable design tokens, qualitative style, and special rendering effects. - Artifact Generation: Generate a new self-contained HTML artifact from an existing Design DNA JSON, emitting design tokens as CSS custom properties and implementing effects per the recorded performance tier. - Delivery Gate: Verify contrast ratios, reduced-motion support, animation-loop hygiene, and fallback strategies before handoff. - Use Case: A user shares a screenshot of a landing page and asks for a similar page. The Skill extracts the palette, type scale, spacing rhythm, and scroll effects into a Design DNA JSON, then generates a matching self-contained page from that profile. ## Quick Start Analyze this reference screenshot and extract its design DNA, then generate a landing page in the same style.

Frequently Asked Questions about moai-domain-design-dna

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract design tokens from a website screenshot?▼

Provide the screenshot and the Skill analyzes it into a Design DNA JSON with three dimensions: measurable tokens like color hex values and type scale, qualitative style attributes, and special rendering effects. Colors are assigned roles by dominance, and radius is measured relative to element height.

How to recreate a web page in the same style as a reference design?▼

First deconstruct the reference into a Design DNA JSON, then generate a new self-contained HTML artifact from that profile. Generation follows a fixed order: color and typography, spacing and layout, shape and elevation, style fields, visual effects, and motion last.

Can I extract design tokens from a live URL instead of an image?▼

Yes, URLs are fetched and the page source is inspected directly. Canvas elements, WebGL contexts, animation-library imports, custom shaders, and IntersectionObserver scroll triggers are read as stated facts rather than inferred from pixels.

What rendering technologies are used for visual effects in generated pages?▼

Technology follows the recorded performance tier: lightweight effects use CSS animations and SVG, medium tier uses Canvas 2D or timeline animation libraries, and heavy tier uses WebGL, 3D scene libraries, or custom GLSL shaders loaded from a pinned CDN version.

Does generated output support reduced motion accessibility preferences?▼

Yes, the delivery gate requires prefers-reduced-motion to be honored, not merely detected. The interface must still work and communicate hierarchy with motion removed, and fallback strategies resolve before any effect initializes.

When should I not use design DNA extraction for a page?▼

Do not use it for markdown report rendering, static architecture diagrams, charts and dashboards, or designs authored from first principles rather than deconstructed from a reference. Those belong to dedicated report, infographic, dataviz, and design-system skills.