Moai Domain Design Dnaのロゴ

Moai Domain Design Dna

組織人気
modu-ai
moai-domain-design-dna

スクリーンショット、画像セット、ライブURLなどの参照デザインをリバースエンジニアリングし、3つの側面(測定可能なトークン、定性的なスタイル、特殊なレンダリング効果)を含む移植可能なDesign DNA JSONに変換して、そのJSONから新しい自己完結型アーティファクトを生成します。優勢度に基づく色の役割、相対的な角丸半径の測定、複数の参照間での競合解決といった抽出ルールに加え、Canvas/WebGL/シェーダー/スクロール効果向けのパフォーマンス階層別技術マップ、コントラスト、モーション低減、アニメーションループの適切な管理を確認する納品前チェックも備えています。

Add to TypingMind

概要

公開者modu-ai
リポジトリmoai-adk
スキル名moai-domain-design-dna
スター
1.2K
フォーク
226
同梱ファイル
3
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    modu-aiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Moai Domain Design Dna」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-domain-design-dna
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでMoai Domain Design Dnaを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMoai Domain Design Dnaを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Moai Domain Design Dnaは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Moai Domain Design Dna」では何ができますか?

スクリーンショット、画像セット、ライブURLなどの参照デザインをリバースエンジニアリングし、3つの側面(測定可能なトークン、定性的なスタイル、特殊なレンダリング効果)を含む移植可能なDesign DNA JSONに変換して、そのJSONから新しい自己完結型アーティファクトを生成します。優勢度に基づく色の役割、相対的な角丸半径の測定、複数の参照間での競合解決といった抽出ルールに加え、Canvas/WebGL/シェーダー/スクロール効果向けのパフォーマンス階層別技術マップ、コントラスト、モーション低減、アニメーションループの適切な管理を確認する納品前チェックも備えています。

TypingMindでMoai Domain Design Dnaを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Moai Domain Design Dnaはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMoai Domain Design Dnaをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-domain-design-dnaを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Moai Domain Design Dnaを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Moai Domain Design Dnaで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMoai Domain Design Dnaを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Moai Domain Design Dna」は無料ですか?

はい。modu-aiがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇