terryhillliu-code/clawdbot-docker/diagram-gen

Claude Code and agent skill by terryhillliu-code/clawdbot-docker

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

生成架构图、拓扑图、流程图(Mermaid语法)

Install

npx vskill@latest install terryhillliu-code/clawdbot-docker/diagram-gen

SKILL.md

The same SKILL.md was published earlier as terryhillliu-code/clawdbot-docker/diagram-gen.

架构图生成

当用户需要画架构图、网络拓扑图、流程图时使用此技能。

触发方式

  • "画一个xxx的架构图"
  • "网络拓扑图"
  • "流程图"

使用方法

AI 生成 Mermaid 代码后保存

python3 /root/workspace/skills/diagram-gen/diagram.py save \ --title "系统架构" \ --code "graph TD; A[用户] --> B[负载均衡]; B --> C[服务器1]; B --> D[服务器2];"

##查看已保存的图 python3 /root/workspace/skills/diagram-gen/diagram.py list

##工作流程 用户描述需要什么图 AI 用 Mermaid 语法生成图的代码 调用 save 命令保存为 .md 文件(内嵌 mermaid 代码块) 用户可在任何支持 Mermaid 的工具中查看(GitHub、Typora、VS Code 等) Mermaid 常用图类型 graph TD/LR — 流程图(上下/左右) sequenceDiagram — 时序图 classDiagram — 类图 flowchart — 流程图 C4Context — C4架构图 服务器架构常用模板 AI 可参考以下模式生成:

三层架构 mermaid

graph TD LB[负载均衡] --> App1[应用服务器1] LB --> App2[应用服务器2] App1 --> DB[(数据库主)] App2 --> DB DB --> DBR[(数据库从)] 网络拓扑 mermaid

graph TD INET[互联网] --> FW[防火墙] FW --> CORE[核心交换机] CORE --> TOR1[TOR交换机1] CORE --> TOR2[TOR交换机2] TOR1 --> S1[服务器1-12] TOR2 --> S2[服务器13-24]

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/terryhillliu-code/clawdbot-docker/diagram-gen/badge)](https://verified-skill.com/skills/terryhillliu-code/clawdbot-docker/diagram-gen)

Something wrong with this skill or its page? Tell us.