AI Skills.

AI Skills › Design设计設計デザイン › diagram-design

diagram-design

by cathrynlavery · Design skill作者:cathrynlavery · 设计技能作者:cathrynlavery · 設計技能作者:cathrynlavery · デザインスキル

diagram-design is an agent skill that draws editorial diagrams as one self-contained HTML + SVG file, in your brand. 52 diagram types — architecture, flowchart, sequence, ER, timeline, quadrant, radar, Sankey, Wardley map, Git graph, and more — each in minimal-light, minimal-dark, and full-editorial variants. No shadows, no Mermaid slop: one accent color for the one or two things that matter, 1px hairlines, every coordinate on a 4px grid. Ask in plain words and the agent picks the type, states its plan, and writes one .html file you can open by double-clicking. Onboarding pulls your palette and fonts from your website and applies them across every diagram, with WCAG AA contrast checks and a fidelity receipt. It also redraws existing draw.io, Mermaid, Excalidraw, and PlantUML diagrams into the same design system, and exports to SVG or PNG. MIT licensed. Stars checked 2026-11-26.diagram-design 是让 agent 按编辑级设计规范画图的技能,输出单个自包含 HTML + SVG 文件,配色与字体跟你的品牌走。52 种图型——架构图、流程图、时序图、ER 图、时间线、四象限、雷达图、桑基图、Wardley 图、Git 图等——每种有极简亮色、极简暗色、完整编辑版三种变体。没有阴影、没有 Mermaid 味:一个强调色只留给一两处重点,1px 细线,所有坐标落在 4px 网格上。用自然语言提需求,agent 选图型、说明方案、写出一个双击即开的 .html 文件。上手引导会从你的网站抓取配色与字体、套用到每张图,并做 WCAG AA 对比度检查、给出保真回执。它还能把现有的 draw.io、Mermaid、Excalidraw、PlantUML 图重绘成同一套设计,并导出 SVG 或 PNG。MIT 许可。星数 2026-11-26 核查。diagram-design 是讓 agent 按編輯級設計規範畫圖的技能,輸出單個自包含 HTML + SVG 檔案,配色與字體跟你的品牌走。52 種圖型——架構圖、流程圖、時序圖、ER 圖、時間線、四象限、雷達圖、桑基圖、Wardley 圖、Git 圖等——每種有極簡亮色、極簡暗色、完整編輯版三種變體。沒有陰影、沒有 Mermaid 味:一個強調色只留給一兩處重點,1px 細線,所有座標落在 4px 網格上。用自然語言提需求,agent 選圖型、說明方案、寫出一個雙擊即開的 .html 檔案。上手引導會從你的網站抓取配色與字體、套用到每張圖,並做 WCAG AA 對比度檢查、給出保真回執。它還能把現有的 draw.io、Mermaid、Excalidraw、PlantUML 圖重繪成同一套設計,並匯出 SVG 或 PNG。MIT 授權。星數 2026-11-26 核查。diagram-design は、編集レベルのデザイン規範に沿って図を描くエージェントスキルで、ブランドに合わせた自己完結型の HTML + SVG ファイルを 1 つ出す。52 種の図形タイプ——アーキテクチャ、フローチャート、シーケンス、ER、タイムライン、クアドラント、レーダーチャート、サンキー、ワードリーマップ、Git グラフなど——がそれぞれミニマルライト、ミニマルダーク、フルエディトリアルの 3 バリアントを持つ。影なし、Mermaid 臭なし。アクセントカラーは読者が最初に見る 1〜2 箇所だけに使い、1px のヘアライン、すべての座標は 4px グリッド上に置く。自然な言葉で頼めば、エージェントがタイプを選び、計画を示し、ダブルクリックで開ける .html ファイルを 1 つ書く。オンボーディングはあなたのサイトからパレットとフォントを抜き出し、すべての図に適用する。WCAG AA のコントラスト検査とフィデリティレシート付きだ。既存の draw.io、Mermaid、Excalidraw、PlantUML の図も同じデザインシステムに描き直し、SVG や PNG に書き出せる。MIT ライセンス。スター数は 2026-11-26 確認。

Quick start快速上手快速上手クイックスタート

What it does

diagram-design is an agent skill that draws editorial diagrams as one self-contained HTML + SVG file, in your brand. 52 diagram types — architecture, flowchart, sequence, state machine, ER, timeline, swimlane, quadrant, radar, loop, tree, org chart, Venn, pyramid, bar, treemap, line, Gantt, scatter, Kanban, user journey, deployment, dependency graph, UML class, story map, database schema, Sankey, fishbone, Wardley map, heatmap, service blueprint, Git graph, and more — each in three static variants: minimal light, minimal dark, and full-editorial. Open any of them directly in a browser. There is no build step, JavaScript, or external image dependency. The highest-quality move is usually deletion: every node earns its place, the accent color is reserved for the 1 or 2 things the reader should look at first, target density 4/10.

How it works

Progressive disclosure: at startup the agent sees only the skill name and description. When a request matches, it loads SKILL.md plus only the one type reference the diagram needs; semantic, type, and animation references load only when relevant. Before drawing, the agent states the chosen type, pattern, size, and planned cuts, then renders. Brand onboarding fetches your homepage, extracts the dominant palette and font stack, maps them to semantic roles (paper, ink, muted, accent, link), shows a proposed diff, and writes your tokens to references/style-guide.md — with WCAG AA contrast checks (text roles clear 4.5:1, essential marks 3:1) and a fidelity receipt naming each sampled URL, color role, font family, and fallback. On first use in a new project the skill pauses and asks whether to onboard, paste tokens manually, or proceed with the default. Import redraws an existing draw.io, Mermaid, Excalidraw, or PlantUML source with four dials — format (html / svg / png / html+png), size (doc-inline, doc-wide, slide-16x9, slide-4x3, social-og, social-square, print sizes, fit), detail (faithful up to 24 nodes, balanced up to 12, simplified up to 7), audience (engineer / mixed / executive) — and ends with a fidelity ledger listing what got merged, collapsed, or dropped.

How to use it

  • Skill install (not executed here — unverified):
    npx skills add cathrynlavery/diagram-design
    update with
    npx skills update diagram-design
    . Plugin marketplaces: Claude Code
    /plugin marketplace add cathrynlavery/diagram-design
    then
    /plugin install diagram-design@diagram-design
    Codex and GitHub Copilot use the same marketplace commands with their own CLIs; Factory Droid:
    droid plugin marketplace add https://github.com/cathrynlavery/diagram-design
    then
    droid plugin install diagram-design@diagram-design --scope user
    Pi:
    pi install https://github.com/cathrynlavery/diagram-design
  • Then ask in plain words, for example:
    Make me an architecture diagram of my app: frontend, backend, database, Redis cache.
    Or onboard your brand:
    onboard diagram-design to https://yoursite.com
    then answer yes to apply the proposed tokens.
  • Start from a template directly:
    cp skills/diagram-design/assets/template.html my-diagram.html
    (minimal light), template-full.html (editorial with summary cards), or template-motion.html (optional accessible motion). Browse every type in the gallery: open skills/diagram-design/assets/index.html or visit the live gallery.
  • Redraw an existing diagram:
    /diagram-design:import-drawio platform.drawio
    /diagram-design:import-mermaid README.md --diagram=all
    /diagram-design:import-excalidraw whiteboard.excalidraw
    or
    /diagram-design:import-plantuml sequence.puml
    — or just ask, for example:
    redraw this drawio file for my deck
  • Export:
    /diagram-design:export-diagram path/to/diagram.html
    (Pi:
    /export-diagram path/to/diagram.html
    ), with --svg-only,
    --png-only --scale=3
    or --registry. PNG rasterizes via Playwright at 2x by default (one-time setup:
    pip install playwright && playwright install chromium
    ).
  • Verify a generated file:
    python3 skills/diagram-design/scripts/self_check.py <file>
    prints OK (add --offline to also fail on the Google Fonts link).

Key points

  • The design system, in one paragraph: one accent color, 1 or 2 focal elements per diagram; three font families — Instrument Serif (titles and italic callouts), Geist sans (node names), Geist Mono (technical sublabels); 1px hairline borders, no shadows, max border-radius 10px; every coordinate, width, and gap divisible by 4. That rule is non-negotiable; it is what keeps the diagrams from feeling AI-generated.
  • When not to use it: diagrams that live in Git and change every sprint — use Mermaid, it diffs and GitHub renders it; quick unicode diagrams for tweets or terminal output; lists of anything — use a table or bullets; before/after comparisons — use a table; one-shape diagrams — just write the sentence. Before drawing, ask: would a reader learn more from this than from a well-written paragraph? If no, don't draw.
  • Output quality depends on the model you run it with, and the same prompt can lay out differently twice. The result is not an editable source format: there is no text to diff in a pull request and no canvas to drag a box on. For docs that live in Git and change every sprint, Mermaid is still the better fit. Diagram Design is for the diagram you are going to publish.
  • Fonts: by default a diagram loads Instrument Serif, Geist, and Geist Mono from Google Fonts, the only network request it makes. Ask for system fonts (or set the font source to system in your style guide) and the file makes no network requests at all.
  • Accessible by default: every diagram template gives the inline SVG an accessible name and description (role="img", resolving aria-labelledby, first-child title and desc slots); decorative icons are hidden from assistive technology. Motion is optional and defaults to none; reduced-motion output shows the complete static frame.
  • 87 monochrome IT/cloud icons for architecture and sequence diagrams (Tabler Icons, MIT; brand silhouettes from Simple Icons, CC0). Named client profiles live in ~/.diagram-design/profiles/; a .diagram-design marker in a project pins a profile. Official builds come only from this repository; LittleMight, Cathryn Lavery's company, publishes the plugin directory listings. Made by Cathryn Lavery (littlemight.com).
  • Install commands quoted from the repo README; not executed in this run (unverified).

它是做什么的

diagram-design 是让 agent 按编辑级设计规范画图的技能,输出单个自包含 HTML + SVG 文件,配色与字体跟你的品牌走。52 种图型——架构图、流程图、时序图、状态机、ER 图、时间线、泳道图、四象限、雷达图、循环、树形图、组织架构图、维恩图、金字塔、柱状图、树形图(面积)、折线图、甘特图、散点图、看板、用户旅程、部署图、依赖图、UML 类图、故事地图、数据库结构图、桑基图、鱼骨图、Wardley 图、热力图、服务蓝图、Git 图等——每种有三种静态变体:极简亮色、极简暗色、完整编辑版。直接用浏览器打开即可,没有构建步骤、JavaScript 或外部图片依赖。最高质量的动作通常是删减:每个节点都要配得上它的位置,强调色只留给读者最先看的一两处,目标密度 4/10。

它怎么工作

渐进披露:启动时 agent 只看到技能名称与描述。请求匹配后,它加载 SKILL.md 与本次图型唯一需要的那份类型参考;语义、类型与动画参考只在相关时加载。动笔前,agent 先说明选定的图型、模式、尺寸与计划删减,再渲染。品牌上手引导会抓取你的首页,提取主导配色与字体栈,映射到语义角色(paper、ink、muted、accent、link),展示拟议 diff,写入 references/style-guide.md——附带 WCAG AA 对比度检查(文字角色 4.5:1、关键标记 3:1)与保真回执(列出每个采样 URL、颜色角色、字体与回退)。在新项目首次使用时,技能会停下来问:要上手引导、手动粘贴 token,还是用默认皮肤继续。导入会按四个旋钮重绘已有的 draw.io、Mermaid、Excalidraw 或 PlantUML 源文件——格式(html / svg / png / html+png)、尺寸(doc-inline、doc-wide、slide-16x9、slide-4x3、social-og、social-square、打印尺寸、fit)、细节(faithful 至多 24 节点、balanced 至多 12、simplified 至多 7)、受众(engineer / mixed / executive)——最后给出保真清单,列出哪些被合并、折叠或丢弃。

怎么用

  • 技能安装(未执行,unverified):
    npx skills add cathrynlavery/diagram-design
    更新用
    npx skills update diagram-design
    。插件市场:Claude Code
    /plugin marketplace add cathrynlavery/diagram-design
    再
    /plugin install diagram-design@diagram-design
    Codex 与 GitHub Copilot 用各自 CLI 走同样的市场命令;Factory Droid:
    droid plugin marketplace add https://github.com/cathrynlavery/diagram-design
    再
    droid plugin install diagram-design@diagram-design --scope user
    Pi:
    pi install https://github.com/cathrynlavery/diagram-design
  • 然后用自然语言提需求,例如:
    Make me an architecture diagram of my app: frontend, backend, database, Redis cache.
    或给品牌做上手引导:
    onboard diagram-design to https://yoursite.com
    确认后应用拟议 token。
  • 直接从模板开始:
    cp skills/diagram-design/assets/template.html my-diagram.html
    (极简亮色)、template-full.html(带摘要卡片的编辑版)或 template-motion.html(可选无障碍动效)。在图库里浏览全部图型:打开 skills/diagram-design/assets/index.html 或访问在线图库。
  • 重绘已有图:
    /diagram-design:import-drawio platform.drawio
    /diagram-design:import-mermaid README.md --diagram=all
    /diagram-design:import-excalidraw whiteboard.excalidraw
    或
    /diagram-design:import-plantuml sequence.puml
    ——或直接说,例如:
    redraw this drawio file for my deck
  • 导出:
    /diagram-design:export-diagram path/to/diagram.html
    (Pi:
    /export-diagram path/to/diagram.html
    ),可加 --svg-only、
    --png-only --scale=3
    或 --registry。PNG 默认经 Playwright 2 倍光栅化(一次性安装:
    pip install playwright && playwright install chromium
    )。
  • 校验生成的文件:
    python3 skills/diagram-design/scripts/self_check.py <file>
    输出 OK(加 --offline 还会因 Google Fonts 链接而失败)。

关键要点

  • 设计系统一句话:一个强调色、每张图 1–2 个焦点;三种字体——Instrument Serif(标题与斜体旁注)、Geist sans(节点名)、Geist Mono(技术子标签);1px 细线边框、无阴影、最大圆角 10px;每个坐标、宽度与间距都能被 4 整除。这条规则不可协商,正是它让图不像 AI 生成的。
  • 什么时候不要用:随 sprint 变化、活在 Git 里的图——用 Mermaid,它能 diff、GitHub 能渲染;推文或终端输出的快速 unicode 图;任何列表——用表格或项目符号;前后对比——用表格;只有一个形状的“图”——直接写句子。动笔前先问:读者从这张图里学到的,会比一段写好的文字更多吗?如果不会,就别画。
  • 输出质量取决于所用模型,同一提示两次布局可能不同。结果不是可编辑的源格式:没有可 diff 的文本、没有可拖拽的画布。随 sprint 变化的 Git 内文档,Mermaid 仍是更合适的选择。Diagram Design 是给要发布的那张图用的。
  • 字体:默认每张图从 Google Fonts 加载 Instrument Serif、Geist 与 Geist Mono,这是它唯一的网络请求。改用系统字体(或在 style guide 里把字体源设为 system),文件就完全不发网络请求。
  • 默认无障碍:每个图模板都给内联 SVG 一个无障碍名称与描述(role="img"、可解析的 aria-labelledby、首位 title 与 desc 槽);装饰性图标对辅助技术隐藏。动效可选、默认关闭;减弱动效时输出完整静态帧。
  • 87 个单色 IT/云图标,用于架构图与时序图(Tabler Icons,MIT;品牌剪影来自 Simple Icons,CC0)。具名客户档案存在 ~/.diagram-design/profiles/;项目里的 .diagram-design 标记可固定一个档案。官方构建只出自本仓库;插件目录由作者 Cathryn Lavery 的公司 LittleMight 发布。作者 Cathryn Lavery(littlemight.com)。
  • 安装命令引自仓库 README 原文,未执行(unverified)。

它是做什麼的

diagram-design 是讓 agent 按編輯級設計規範畫圖的技能,輸出單個自包含 HTML + SVG 檔案,配色與字體跟你的品牌走。52 種圖型——架構圖、流程圖、時序圖、狀態機、ER 圖、時間線、泳道圖、四象限、雷達圖、循環、樹形圖、組織架構圖、維恩圖、金字塔、柱狀圖、樹形圖(面積)、折線圖、甘特圖、散點圖、看板、使用者旅程、部署圖、依賴圖、UML 類別圖、故事地圖、資料庫結構圖、桑基圖、魚骨圖、Wardley 圖、熱力圖、服務藍圖、Git 圖等——每種有三種靜態變體:極簡亮色、極簡暗色、完整編輯版。直接用瀏覽器開啟即可,沒有建置步驟、JavaScript 或外部圖片依賴。最高品質的動作通常是刪減:每個節點都要配得上它的位置,強調色只留給讀者最先看的一兩處,目標密度 4/10。

它怎麼運作

漸進揭露:啟動時 agent 只看到技能名稱與描述。請求符合後,它載入 SKILL.md 與本次圖型唯一需要的那份類型參考;語義、類型與動畫參考只在相關時載入。動筆前,agent 先說明選定的圖型、模式、尺寸與計畫刪減,再渲染。品牌上手引導會抓取你的首頁,提取主導配色與字體堆疊,對應到語義角色(paper、ink、muted、accent、link),展示擬議 diff,寫入 references/style-guide.md——附帶 WCAG AA 對比度檢查(文字角色 4.5:1、關鍵標記 3:1)與保真回執(列出每個取樣 URL、顏色角色、字體與後備)。在新專案首次使用時,技能會停下來問:要上手引導、手動貼上 token,還是用預設外觀繼續。匯入會按四個旋鈕重繪已有的 draw.io、Mermaid、Excalidraw 或 PlantUML 來源檔案——格式(html / svg / png / html+png)、尺寸(doc-inline、doc-wide、slide-16x9、slide-4x3、social-og、social-square、列印尺寸、fit)、細節(faithful 最多 24 節點、balanced 最多 12、simplified 最多 7)、受眾(engineer / mixed / executive)——最後給出保真清單,列出哪些被合併、摺疊或丟棄。

怎麼用

  • 技能安裝(未執行,unverified):
    npx skills add cathrynlavery/diagram-design
    更新用
    npx skills update diagram-design
    。外掛市集:Claude Code
    /plugin marketplace add cathrynlavery/diagram-design
    再
    /plugin install diagram-design@diagram-design
    Codex 與 GitHub Copilot 用各自 CLI 走同樣的市集指令;Factory Droid:
    droid plugin marketplace add https://github.com/cathrynlavery/diagram-design
    再
    droid plugin install diagram-design@diagram-design --scope user
    Pi:
    pi install https://github.com/cathrynlavery/diagram-design
  • 然後用自然語言提需求,例如:
    Make me an architecture diagram of my app: frontend, backend, database, Redis cache.
    或給品牌做上手引導:
    onboard diagram-design to https://yoursite.com
    確認後套用擬議 token。
  • 直接從範本開始:
    cp skills/diagram-design/assets/template.html my-diagram.html
    (極簡亮色)、template-full.html(帶摘要卡片的編輯版)或 template-motion.html(可選無障礙動效)。在圖庫裡瀏覽全部圖型:開啟 skills/diagram-design/assets/index.html 或造訪線上圖庫。
  • 重繪已有圖:
    /diagram-design:import-drawio platform.drawio
    /diagram-design:import-mermaid README.md --diagram=all
    /diagram-design:import-excalidraw whiteboard.excalidraw
    或
    /diagram-design:import-plantuml sequence.puml
    ——或直接說,例如:
    redraw this drawio file for my deck
  • 匯出:
    /diagram-design:export-diagram path/to/diagram.html
    (Pi:
    /export-diagram path/to/diagram.html
    ),可加 --svg-only、
    --png-only --scale=3
    或 --registry。PNG 預設經 Playwright 2 倍光柵化(一次性安裝:
    pip install playwright && playwright install chromium
    )。
  • 校驗產生的檔案:
    python3 skills/diagram-design/scripts/self_check.py <file>
    輸出 OK(加 --offline 還會因 Google Fonts 連結而失敗)。

關鍵要點

  • 設計系統一句話:一個強調色、每張圖 1–2 個焦點;三種字體——Instrument Serif(標題與斜體旁註)、Geist sans(節點名)、Geist Mono(技術子標籤);1px 細線邊框、無陰影、最大圓角 10px;每個座標、寬度與間距都能被 4 整除。這條規則不可協商,正是它讓圖不像 AI 產生的。
  • 什麼時候不要用:隨 sprint 變化、活在 Git 裡的圖——用 Mermaid,它能 diff、GitHub 能渲染;推文或終端輸出的快速 unicode 圖;任何清單——用表格或項目符號;前後對比——用表格;只有一個形狀的「圖」——直接寫句子。動筆前先問:讀者從這張圖裡學到的,會比一段寫好的文字更多嗎?如果不會,就別畫。
  • 輸出品質取決於所用模型,同一提示兩次版面可能不同。結果不是可編輯的來源格式:沒有可 diff 的文字、沒有可拖曳的畫布。隨 sprint 變化的 Git 內文件,Mermaid 仍是更合適的選擇。Diagram Design 是給要發佈的那張圖用的。
  • 字體:預設每張圖從 Google Fonts 載入 Instrument Serif、Geist 與 Geist Mono,這是它唯一的網路請求。改用系統字體(或在 style guide 裡把字體來源設為 system),檔案就完全不發網路請求。
  • 預設無障礙:每個圖範本都給內嵌 SVG 一個無障礙名稱與描述(role="img"、可解析的 aria-labelledby、首位 title 與 desc 槽);裝飾性圖示對輔助技術隱藏。動效可選、預設關閉;減弱動效時輸出完整靜態影格。
  • 87 個單色 IT/雲圖示,用於架構圖與時序圖(Tabler Icons,MIT;品牌剪影來自 Simple Icons,CC0)。具名客戶檔案存在 ~/.diagram-design/profiles/;專案裡的 .diagram-design 標記可固定一個檔案。官方建置只出自本倉庫;外掛目錄由作者 Cathryn Lavery 的公司 LittleMight 發佈。作者 Cathryn Lavery(littlemight.com)。
  • 安裝指令引自倉庫 README 原文,未執行(unverified)。

何をするのか

diagram-design は、編集レベルのデザイン規範に沿って図を描くエージェントスキルで、ブランドに合わせた自己完結型の HTML + SVG ファイルを 1 つ出す。52 種の図形タイプ——アーキテクチャ、フローチャート、シーケンス、ステートマシン、ER、タイムライン、スイムレーン、クアドラント、レーダーチャート、ループ、ツリー、組織図、ベン図、ピラミッド、棒グラフ、ツリーマップ、折れ線グラフ、ガントチャート、散布図、カンバン、ユーザージャーニー、デプロイメント、依存グラフ、UML クラス図、ストーリーマップ、データベーススキーマ、サンキー、フィッシュボーン、ワードリーマップ、ヒートマップ、サービスブループリント、Git グラフなど——がそれぞれ 3 つの静的バリアントを持つ。ミニマルライト、ミニマルダーク、フルエディトリアルだ。ブラウザで直接開ける。ビルド手順も JavaScript も外部画像の依存もない。最も質の高い一手はたいてい削除だ。すべてのノードは自分の居場所に値しなければならず、アクセントカラーは読者が最初に見る 1〜2 箇所のためだけに取っておく。目標の密度は 4/10 だ。

仕組み

プログレッシブディスクロージャー。起動時にエージェントが見るのはスキル名と説明だけだ。リクエストが一致すると、SKILL.md と、その図に必要な 1 つのタイプ参照だけを読み込む。セマンティック、タイプ、アニメーションの参照は関連するときだけ読み込まれる。描く前に、エージェントは選んだタイプ、パターン、サイズ、削減予定を示してから描く。ブランドのオンボーディングはホームページを取得し、支配的なパレットとフォントスタックを抽出して、意味的役割(paper、ink、muted、accent、link)に割り当て、提案する差分を示し、トークンを references/style-guide.md に書き込む。WCAG AA のコントラスト検査(テキスト役割は 4.5:1、必須マークは 3:1)と、サンプリングした URL、色の役割、フォントファミリー、フォールバックを列挙するフィデリティレシート付きだ。新しいプロジェクトで初めて使うとき、スキルは止まって聞く。オンボーディングをするか、トークンを手で貼るか、既定のまま進むか。インポートは、既存の draw.io、Mermaid、Excalidraw、PlantUML ソースを 4 つのダイヤル——形式(html / svg / png / html+png)、サイズ(doc-inline、doc-wide、slide-16x9、slide-4x3、social-og、social-square、印刷サイズ、fit)、詳細(faithful は最大 24 ノード、balanced は最大 12、simplified は最大 7)、対象(engineer / mixed / executive)——で描き直し、最後に何が統合・折りたたみ・削除されたかのフィデリティ台帳を出す。

使い方

  • スキルインストール(未実行、unverified):
    npx skills add cathrynlavery/diagram-design
    。更新は
    npx skills update diagram-design
    。プラグインマーケットプレイス:Claude Code は
    /plugin marketplace add cathrynlavery/diagram-design
    次に
    /plugin install diagram-design@diagram-design
    。Codex と GitHub Copilot は各自の CLI で同じマーケットプレイスのコマンドを使う。Factory Droid:
    droid plugin marketplace add https://github.com/cathrynlavery/diagram-design
    次に
    droid plugin install diagram-design@diagram-design --scope user
    。Pi:
    pi install https://github.com/cathrynlavery/diagram-design
  • あとは自然な言葉で頼むだけだ。例:
    Make me an architecture diagram of my app: frontend, backend, database, Redis cache.
    ブランドのオンボーディング:
    onboard diagram-design to https://yoursite.com
    提案されたトークンに yes と答えて適用する。
  • テンプレートから直接始める:
    cp skills/diagram-design/assets/template.html my-diagram.html
    (ミニマルライト)、template-full.html(要約カード付きエディトリアル)、template-motion.html(任意のアクセシブルなモーション)。ギャラリーで全タイプを見るには skills/diagram-design/assets/index.html を開くか、ライブギャラリーを訪れる。
  • 既存の図を描き直す:
    /diagram-design:import-drawio platform.drawio
    /diagram-design:import-mermaid README.md --diagram=all
    /diagram-design:import-excalidraw whiteboard.excalidraw
    /diagram-design:import-plantuml sequence.puml
    。あるいは言葉で頼むだけだ。例:
    redraw this drawio file for my deck
  • 書き出し:
    /diagram-design:export-diagram path/to/diagram.html
    (Pi では
    /export-diagram path/to/diagram.html
    )。--svg-only、
    --png-only --scale=3
    --registry が使える。PNG は既定で Playwright により 2 倍でラスタライズされる(初回セットアップ:
    pip install playwright && playwright install chromium
    )。
  • 生成したファイルを検証する:
    python3 skills/diagram-design/scripts/self_check.py <file>
    が OK を出す(--offline を付けると Google Fonts のリンクでも失敗する)。

押さえておきたい点

  • デザインシステムを一文で。アクセントカラーは 1 つ、1 つの図の焦点は 1〜2 箇所。3 つのフォントファミリー——Instrument Serif(タイトルと斜体の注釈)、Geist sans(ノード名)、Geist Mono(技術的なサブラベル)。1px のヘアライン罫、影なし、角丸は最大 10px。すべての座標、幅、間隔は 4 で割り切れる。この規則は譲れない。図が AI 生成に見えないのはこの規則のおかげだ。
  • 使わない方がいい場合。Git にあってスプリントごとに変わる図——Mermaid を使うこと。diff が取れ、GitHub が描画する。ツイートやターミナル出力用の簡単な unicode 図。あらゆるリスト——表か箇条書きを使うこと。前後比較——表を使うこと。1 つの形だけの「図」——文を書くだけでよい。描く前に問うこと。読者はこの図から、よく書かれた段落よりも多く学ぶだろうか。答えが no なら描かないこと。
  • 出力の質は、使うモデルに依存する。同じプロンプトでも 2 回のレイアウトが異なることがある。結果は編集可能なソース形式ではない。プルリクエストで diff を取れるテキストも、ボックスをドラッグできるキャンバスもない。Git にあってスプリントごとに変わる文書には、Mermaid の方が今も適している。Diagram Design は、公開する図のためのものだ。
  • フォント。既定では、図は Google Fonts から Instrument Serif、Geist、Geist Mono を読み込む。これが唯一のネットワークリクエストだ。システムフォントを頼むか(または style guide でフォントソースを system にするか)、ファイルはネットワークリクエストを一切出さない。
  • 既定でアクセシブル。すべての図テンプレートは、インライン SVG にアクセシブルな名前と説明を付ける(role="img"、解決される aria-labelledby、先頭の title と desc スロット)。装飾アイコンは支援技術から隠される。モーションは任意で、既定は none。 reduced-motion の出力は完全な静止フレームを示す。
  • アーキテクチャ図とシーケンス図のための 87 個の単色 IT/クラウドアイコン(Tabler Icons、MIT。ブランドシルエットは Simple Icons、CC0)。名前付きクライアントプロファイルは ~/.diagram-design/profiles/ にある。プロジェクトの .diagram-design マーカーでプロファイルを固定できる。公式ビルドはこのリポジトリからのみ出る。プラグインディレクトリの掲載は、作者 Cathryn Lavery の会社 LittleMight が行っている。作者は Cathryn Lavery(littlemight.com)。
  • インストールコマンドはリポジトリの README からの引用で、実行は未検証(unverified)。

Supported platforms支持的平台支援的平台対応プラットフォーム

Claude CodeCodexGitHub CopilotCursorFactory DroidQoderPi

More Design skills更多设计技能更多設計技能その他のデザインスキル

View all →查看全部 →查看全部 →すべて見る →

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms. Its v2.0 Design System Generator draws on 79 searchable UI styles, 192 palettes, 74 font pairings, and 192 industry reasoning rules to produce polished interfaces instead of generic layouts. It works with Claude Code and other major coding agents.为多平台构建专业 UI/UX 提供设计智能的 AI 技能。其 v2.0 设计系统生成器基于 79 种可检索 UI 风格、192 套配色、74 组字体搭配和 192 条行业推理规则,产出精致的界面而不是通用布局。支持 Claude Code 及其他主流编码智能体。為多平台建構專業 UI/UX 提供設計智慧的 AI 技能。其 v2.0 設計系統產生器基於 79 種可檢索 UI 風格、192 套配色、74 組字體搭配和 192 條產業推理規則,產出精緻的介面而不是通用版面。支援 Claude Code 及其他主流編碼智慧體。複数プラットフォームでプロ仕様の UI/UX を構築するためのデザインインテリジェンスを提供する AI スキル。v2.0 Design System Generator は、検索可能な UI スタイル 79 種、パレット 192 種、フォントの組み合わせ 74 組、業界推論ルール 192 件を活用し、汎用的なレイアウトではなく磨き上げたインターフェースを生み出す。Claude Code やその他の主要なコーディングエージェントで使える。

Design设计設計デザインClaude CodeCursorWindsurfAntigravity+19 more+19 个更多+19 個更多+19 件
npm install -g ui-ux-pro-max-cli && uipro init --ai <agent>

A curated collection of DESIGN.md analyses of popular brand design systems — 70+ real-brand systems including Claude, Apple, Stripe, and Linear. Drop one file into your project and let your coding agent generate a UI that matches that brand's look. The DESIGN.md concept comes from Google Stitch, and the collection keeps growing.知名品牌设计系统的 DESIGN.md 分析合集,已收录 70 多个真实品牌系统,包括 Claude、Apple、Stripe、Linear 等。把其中一个文件放进项目,编码智能体就能生成与该品牌风格一致的界面。DESIGN.md 这个概念来自 Google Stitch,合集还在持续增长。知名品牌設計系統的 DESIGN.md 分析合集,已收錄 70 多個真實品牌系統,包括 Claude、Apple、Stripe、Linear 等。把其中一個檔案放進專案,編碼智慧體就能生成與該品牌風格一致的介面。DESIGN.md 這個概念來自 Google Stitch,合集還在持續增長。人気ブランドのデザインシステムを DESIGN.md として分析したキュレーション集。Claude、Apple、Stripe、Linear など 70 以上の実在ブランドのシステムを収録する。ファイルを 1 つプロジェクトに置くだけで、コーディングエージェントがそのブランドの見た目に合った UI を生成する。DESIGN.md の概念は Google Stitch 由来で、コレクションは増え続けている。

Design设计設計デザインGeneric
Copy a DESIGN.md file into your project root (no installer; file-drop usage)

Agent skills that give coding agents taste: art direction, reference images, and a browser check instead of generic AI pages. Rather than accepting the first generic layout, the skill pushes the agent to pick a direction, ground it in references, and verify the result in a real browser. Version 2 holds a single skill, design-taste-frontend; older skills moved to taste-skill-classics and imagegen-skills.给编码智能体品味的智能体技能:艺术指导、参考图和浏览器检查,而不是千篇一律的 AI 页面。它不让智能体接受第一个通用布局,而是推动智能体选定方向、用参考图 grounding,并在真实浏览器里验证结果。v2 只有一个技能 design-taste-frontend,旧技能已移到 taste-skill-classics 和 imagegen-skills。給編碼智慧體品味的智慧體技能:藝術指導、參考圖和瀏覽器檢查,而不是千篇一律的 AI 頁面。它不讓智慧體接受第一個通用版面,而是推動智慧體選定方向、用參考圖 grounding,並在真實瀏覽器裡驗證結果。v2 只有一個技能 design-taste-frontend,舊技能已移到 taste-skill-classics 和 imagegen-skills。コーディングエージェントにセンスを与えるスキル。アートディレクション、リファレンス画像、ブラウザチェックによって、汎用的な AI ページを避ける。最初に出た汎用レイアウトを受け入れるのではなく、方向を選び、リファレンスに根付かせ、実際のブラウザで結果を検証するようエージェントを促す。バージョン 2 は design-taste-frontend の 1 件のみで、旧スキルは taste-skill-classics と imagegen-skills に移った。

Design设计設計デザインClaude CodeCodexGeneric
npx skills add https://github.com/Leonxlnx/taste-skill --skill "design-taste-frontend"
Related article相关文章相關文章関連記事

Spotted something outdated or wrong? Tell us发现信息过时或有错?告诉我们發現資訊過時或有誤?告訴我們古い情報や誤りを見つけましたか?教えてください

A short email is enough — it helps keep this listing accurate for everyone.一封简短的邮件就够了,也能帮其他读者看到更准确的信息。一封簡短的郵件就夠了,也能幫其他讀者看到更準確的資訊。短いメールで十分です。他の読者のためにもなります。

Email feedback发邮件反馈寄信回饋メールでフィードバック