Логотип Moai Domain Design Dna

Moai Domain Design Dna

ОрганизацияПопулярный
modu-ai
moai-domain-design-dna

Выполните обратное проектирование дизайна по образцу — скриншоту, набору изображений или действующему URL — и преобразуйте его в переносимый JSON с Design DNA по трём измерениям: измеримые токены, качественные характеристики стиля и эффекты специального рендеринга. Затем создайте на основе этого JSON новый автономный артефакт. Навык включает правила извлечения параметров (роли цветов на основе доминирования, измерение относительного радиуса, разрешение конфликтов между несколькими образцами), карту технологий по уровням производительности для Canvas / WebGL / шейдеров / эффектов прокрутки и контрольный этап перед сдачей: проверка контраста, режима уменьшения анимации и корректности циклов анимации.

Add to TypingMind

Обзор

Издательmodu-ai
Репозиторийmoai-adk
Название навыкаmoai-domain-design-dna
Звёзды
1.2K
Форки
226
Файлы в комплекте
3
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — modu-ai. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Moai Domain Design Dna в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-domain-design-dna
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modu-ai/moai-adk.git /tmp/moai-adk
mkdir -p .claude/skills
cp -r /tmp/moai-adk/.claude/skills/moai-domain-design-dna .claude/skills/moai-domain-design-dna
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Moai Domain Design Dna в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Moai Domain Design Dna, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Moai Domain Design Dna не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Design DNA

Most "make it look like this" requests fail the same way: the reference is looked at once, an impression is formed, and the impression is coded from memory. What survives is a vague resemblance — the palette drifts, the rhythm flattens, and the one effect that gave the reference its character is missing entirely.

This skill inserts an artifact between looking and building. The reference is first deconstructed into a Design DNA JSON, and only that JSON is used to generate. The intermediate step is what makes the result checkable: every colour, radius, and easing curve in the output traces to a recorded field, so a mismatch is a diff rather than an argument about taste.

Provenance: the three-dimension taxonomy and several extraction rules are adapted from the MIT-licensed zanwei/design-dna skill. See .claude/rules/moai/NOTICE.md for the retained copyright notice.

The three dimensions

The split matters because the three are extracted differently and fail differently.

DimensionWhat it holdsHow it is obtained
design_systemWhat can be measured — colour hex values, type scale, spacing base unit, radius, elevation, motion timings, component patternsSampled and measured from the reference; numeric
design_styleWhat can be felt — mood, ornamentation level, composition strategy, whitespace philosophy, interaction personality, microcopy toneJudged holistically; descriptive words, not numbers
visual_effectsWhat cannot be expressed in plain CSS — Canvas scenes, WebGL / 3D, shaders, particle systems, scroll-driven motion, cursor behaviour, glassmorphismRead from source where available, described from screenshots where not

Collapsing them loses information in both directions. A token dump with no style dimension reproduces the colours and none of the character; a mood board with no system dimension reproduces the vibe and no two elements align.

Field-by-field schema and enum vocabularies: references/dna-schema.md.

Phase 1 — Structure

When the request is for the schema itself ("what does a design profile contain?"), read references/dna-schema.md, present the three dimensions and their field groups, and ask whether any dimension should be extended or dropped before extraction begins.

Phase 2 — Analyze (reference → DNA JSON)

Read references/dna-schema.md first, then work reference by reference.

  • Image or screenshot → read it directly and analyse its visual properties.
  • URL → fetch the page. Prefer the source: <canvas> elements, WebGL contexts, animation-library imports, custom shaders, IntersectionObserver scroll triggers, and SVG <animate> are stated facts, where a screenshot only supports inference.
  • Video or interaction capture → the only reliable source for motion timings, scroll choreography, and transition personality.

Extraction rules

  1. Colour roles are assigned by dominance, not by hue. Primary is the colour holding the most area, secondary the supporting surface, accent whatever carries the calls to action. Map the neutral scale as an ordered ramp from the lightest background to the darkest text.
  2. Measure radius relatively. Record it against the element height that carries it — an absolute 12px is meaningless once the button is a different size, while "half the control height" survives rescaling. The concentric-radius rule for nested surfaces is moai-ref-ui-polish's; do not restate it here, apply it there.
  3. Infer type scale from ratios, not from absolute sizes. Heading-to-body ratio and line-height rhythm transfer across viewports; pixel sizes do not.
  4. Density is proximity. Judge spacing from element gaps relative to the base unit, and section rhythm from whether those gaps stay constant or escalate between sections.
  5. When references conflict, record the dominant pattern and name the variant. Averaging two references produces a design neither of them has.
  6. Fill every field. An empty string is indistinguishable from "not looked at". Where the reference genuinely does not exercise a field, say so in the value — an explicit "not observed" is data; a blank is a gap.
  7. Effects absent from the reference get enabled: false. This is the non-invention rule, and it is load-bearing: an unset flag invites the generator to add a particle field nobody asked for.
  8. What cannot be identified goes in composite_notes. A screenshot shows that a surface glows without showing how. Describing the observation beats guessing the implementation and recording the guess as fact.

Output the completed JSON, then ask whether any value should be adjusted before generation.

Phase 3 — Generate (DNA JSON + content → artifact)

Read references/effects-implementation.md before implementing any visual_effects entry.

Order matters, because early decisions constrain later ones. Colour and typography together carry most of a design's identity, so they are settled first; effects are layered onto a design that already works without them.

  1. Colour and typography
  2. Spacing and layout
  3. Shape and elevation
  4. design_style qualitative fields — these guide the judgement calls the token values do not determine
  5. visual_effects
  6. Motion and interaction, last: an interface whose static layout is wrong is not rescued by animating it

Emit design_system as CSS custom properties in a single :root block, so every downstream value has one definition and a token swap is one edit.

Fetch real assets rather than approximating them. When the reference is a URL and the design needs its logo, image, or font, retrieve the actual asset from that source. A recreated approximation is the single most visible difference between a copy and a clone.

Default output is a self-contained file — inline CSS and JS, no build step — unless a framework was specified. The self-contained convention itself is documented once in moai-domain-html-report § output; the difference here is scope: that skill renders a report from markdown, this one generates a designed artifact from a DNA profile.

Profile persistence

Phase 2 can end by saving the completed DNA JSON as a named profile, and Phase 3 can start from the active profile instead of re-extracting the same reference: references/diagram-profiles.md documents the mechanism — the project-root .design-dna/ store, the marker-first active selector, the slug grammar, schema validation with "not observed" backfill on load, and the confirm-before-overwrite / verify-by-re-read save path. A project with no profile marker proceeds exactly as above; persistence adds a save hook and a start-from option, never a routing change.

Delivery gate

Verify before handing over. Each item below has failed in practice.

  • Every colour in the output traces to a DNA palette entry.
  • Font families, spacing rhythm, and radius match their DNA tokens.
  • Body text meets 4.5:1 contrast, large text 3:1.
  • prefers-reduced-motion: reduce is honoured — not merely detected.
  • Nothing renders for an effect whose enabled flag is false.
  • Animation loops use requestAnimationFrame; setInterval is not an animation primitive and drifts against the display refresh.
  • Canvas and WebGL contexts are sized to their container and handle resize.
  • The declared fallback_strategy is actually implemented, not just recorded.

Polish iteration

A first pass that reads thin is usually not a token problem — it is an attention problem, and re-reading the reference beats re-reading the output. Re-attach the same references and audit against them along six axes: hierarchy, ornamentation, typographic rhythm, motion, materiality, and overall interface finish. Merge the conclusions back into the current implementation rather than regenerating from scratch, which discards the parts that were already right.

Boundaries

RequestOwner
Markdown report → HTMLmoai-domain-html-report
Architecture / flow diagrammoai-domain-svg-infographic
Chart, dashboard, or categorical palettedataviz
Component-level finish: concentric radius, optical alignment, hit areas, easing craftmoai-ref-ui-polish
Hosted claude.ai visual-identity pageartifact-design
Design-system sync with the Claude Design productmanager-design

This skill owns one thing the others do not: turning an existing reference into a structured profile, and generating from that profile. Where the design is authored from first principles rather than deconstructed, those skills own it.

References

  • references/dna-schema.md — the three-dimension field list and enum vocabularies
  • references/diagram-profiles.md — named-profile persistence: the .design-dna/ store, marker-first resolution, slug grammar, load-time validation
  • references/effects-implementation.md — performance tiers, technology selection, and per-effect implementation patterns

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Moai Domain Design Dna?

Выполните обратное проектирование дизайна по образцу — скриншоту, набору изображений или действующему URL — и преобразуйте его в переносимый JSON с Design DNA по трём измерениям: измеримые токены, качественные характеристики стиля и эффекты специального рендеринга. Затем создайте на основе этого JSON новый автономный артефакт. Навык включает правила извлечения параметров (роли цветов на основе доминирования, измерение относительного радиуса, разрешение конфликтов между несколькими образцами), карту технологий по уровням производительности для Canvas / WebGL / шейдеров / эффектов прокрутки и...

Зачем использовать Moai Domain Design Dna в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Moai Domain Design Dna — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Moai Domain Design Dna в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-domain-design-dna. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Moai Domain Design Dna?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Moai Domain Design Dna?

С любым количеством. В TypingMind вы можете использовать Moai Domain Design Dna с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Moai Domain Design Dna?

Да. Навык опубликован на GitHub по лицензии Apache-2.0. Издатель — modu-ai. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇