Create SVG/HTML or Excalidraw diagrams for concepts, architecture, flows, and whiteboards.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-diagram-maker-788efacce1dd ,按照其中的说明把「diagram-maker」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Create diagrams as artifacts, not prose. Choose one output mode:
clean-svg: educational concepts, physical systems, processes, lifecycle, simple data flow.architecture-svg: software/cloud/infra topology, services, databases, queues, trust zones.excalidraw: editable hand-drawn whiteboard, flowchart, sequence, architecture sketch.Routing
Workflow
./diagram.html / ./diagram.excalidraw.SVG/HTML rules
.html file with inline CSS and inline SVG.fill="none" and a marker arrow when directed.SVG template
Use references/svg-template.md as the wrapper and replace <!-- SVG -->.
Excalidraw rules
.excalidraw JSON with type, version, source, elements, and appState.label property.1, fontFamily: 1, and simple fills.For exact Excalidraw element snippets, read references/excalidraw-patterns.md.