til/applied-sciences/design/design-system-transfer
design-system-transfer.mdupdated 2026-07-165132 words
ダブルクリックで英日反転
Applied Sciences · Design

A DESIGN.md-based design-transfer playbook

EN

DesignMD (designmd.me, by Crowdlinker) scrapes any public URL and returns a 9-section Stitch-format DESIGN.md file for free. Committing that file next to CLAUDE.md steers AI agents away from generic "AI slop" and toward a real brand.

What DesignMD captures — and what it can't

  • Strong: color tokens, radius scale, shadow recipe, spacing steps, Do's & Don'ts
  • Missing: motion (Three.js orb), paid fonts (Waldenburg, PP NeueBit), a11y states
  • Fundamentally out of scope: illustrations, brand voice, page-level layout patterns
  • DESIGN.md is the skeleton of a design language, not the design itself

Transfer playbook (fixed flow)

  • Pick 1–2 reference URLs → run `npx designmdme --website <url> --out DESIGN-<domain>.md`
  • Commit to repo root; declare priority order in CLAUDE.md with `@DESIGN-<domain>.md` refs
  • Build components one at a time; screenshot with Playwright → fix implementation, not the spec
  • Treat spec as ground truth for hex/radius/spacing; override for paid fonts and Japanese typography

Critical watch-outs

  • Paid fonts must be remapped: Waldenburg → Manrope/Geist/Inter Display (all OFL)
  • Japanese body text needs line-height 1.7–1.9 and ~0.02em letter-spacing (spec assumes English)
  • Contrast risk: secondary text #777169 on white may fall below WCAG AA 4.5:1 — put lint in CI
  • Layout patterns (sidebar SaaS, marketing LP) are not in the 9 sections — extract a separate reference

Visual assets beyond the spec

  • Icons: Phosphor (thin/regular) + Lucide for the ElevenLabs aesthetic; Lucide alone for business dashboards
  • Illustrations: unDraw/Storyset (free); Recraft V4 for brand-consistent AI-generated SVG vectors
  • Motion: fork the MIT-licensed ElevenLabs UI Orb (Three.js + React Three Fiber) rather than rolling your own
  • Replace assets when brand stabilises; if you expect to replace in 3 months, go free/AI-generated now
DESIGN.md extracts tokens in seconds — use it as a branded guardrail for AI agents, then fill the gaps (fonts, motion, a11y, Japanese type) manually.
Applied Sciences · Design

DESIGN.md ベースの​デザイン移植プレイブック

JP

DesignMD​(designmd.me、​Crowdlinker製)は​公開URLを​渡すだけで​Stitchフォーマット​(=Googleが​標準化した​デザイントークン仕様)の​9セクションDESIGN.mdを​無料で​生成する。​この​ファイルを​CLAUDE.mdの​隣に​コミットすると、​AIエージェントの​出力が​「AIスラップ​(紫グラデ・絵文字過多)」から​実ブランドへ​近づく。

DesignMDが​取れる​もの​・取れない​もの

  • 強み:カラートークン・radius・シャドウレシピ・スペーシング・Do's and Don'ts
  • 欠落:モーション​(Three.js製Orb)​・​有償フォント​(Waldenburg、​PP NeueBit)​・a11y​(アクセシビリティ)​状態
  • 構造的に​不可能:イラスト・ブランドボイス・ページレベルの​レイアウトパターン
  • DESIGN.mdは​デザイン言語の​「骨格」であって​デザインその​ものではない

移植フロー​(固定手順)

  • 参照URL1〜2本を​選び `npx designmdme --website <url> --out DESIGN-<domain>.md` で​生成
  • リポジトリルートに​コミット。​CLAUDE.mdに​ `@DESIGN-<domain>.md` 参照と​優先順位を​明記
  • コンポーネントを​1つずつ​実装 → Playwright で​スクリーンショット比較 → 実装を​修正​(仕様は​変えない)
  • hex値・radius・スペーシングは​仕様を​正典と​して​採用。​有償フォントと​日本語組版は​別途上​書き

重要な​注意点

  • 有償フォントは​必ず無償代替へ​:Waldenburg → Manrope / Geist / Inter Display​(すべて​OFLライセンス)
  • 日本語本文は​line-height 1.7〜1.9・letter-spacing 約0.02em​(仕様は​英語テキスト前提の​ため)
  • コントラスト:セカンダリテキスト #777169 on white は​WCAG AA基準4.5:1を​割る​リスク → CIで​lintを​実行
  • レイアウトパターン​(サイドバーSaaS・マーケティングLP)は​9セクションに​含まれない。​用途別に​別参照を​抽出

仕様の​外側に​ある​ビジュアル資産

  • アイコン:ElevenLabs風なら​Phosphor​(thin/regular)​+Lucideで​補完。​ビジネス系ダッシュボードは​Lucide単体で​十分
  • イラスト:unDraw / Storyset​(無償)​;ブランド統一ベクターは​Recraft V4で​AI生成
  • モーション:ElevenLabs UI Orbコンポーネントは​MITで​公開済み​(Three.js+React Three Fiber)。​自作より​移植が​速い
  • 「3ヶ月後に​差し替える​見込みが​あるか」で​判断:差し替え前提なら​無償・AI生成を​使い捨て
DESIGN.mdで​トークンを​数秒で​抽出し、​AIエージェントへの​ブランドガイドレールと​して​使う。​フォント・モーション・a11y・​日本語組版の​空白は​手動で​埋める。
148 notestil