Open-Source diagram-design Skill Improves Claude Flowchart Styling
Styling rules live in a reusable Skill, so diagram quality stops depending on how well you phrase each prompt. Teams publishing technical posts can point it at their site to keep visuals on-brand without Figma work. It also handles Mermaid and Excalidraw rewrites, making it a practical drop-in for existing Claude Code or Codex workflows.
A developer open-sourced a diagram-design Skill after Claude kept producing plain rounded-box flowcharts that required manual fixes in Figma.
The Skill encodes colour, typography and layout rules, and supports 42 diagram types including architecture diagrams, flowcharts, timelines and Gantt charts.
It works with Claude Code and Codex, can read a website to match its palette and fonts, and can redraw existing Mermaid, draw.
io and Excalidraw diagrams.Output is HTML plus SVG that opens in a browser and can be further edited by the AI in light, dark or magazine styles.
AI 画的流程图太丑?试试这个 Skill
作者每次让 Claude 画图,出来都是普通圆角框,还得自己去 Figma 调半天
后来干脆做了个 diagram-design,把配色、字体、布局的要求写进 Skill,开源了
你可以理解为,给 AI 配了一本画图手册,让它画出来的图像点样子!!
架构图、流程图、时间线、甘特图,支持 42 种图 Claude Code、Codex 都能用
而且可以读取你的网站,照着你的配色和字体来画 放进文章里风格也能对上
但它不光能从头画,你已有的 Mermaid、https://t.co/5twkWLFRil、Excalidraw 图 也能交给它重新画一版
生成的是 HTML + SVG,浏览器打开就能看 后面想改字、调布局,还能继续让 AI 改
浅色、深色、杂志风都有,效果看配图👇https://t.co/CX3Csrviw6
This report is categorized under AITOP's "How-to" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude, Claude Code, Codex, Mermaid.
Source attribution: curated from Lxfater (@lxfater).