baoyu-diagram
Create professional diagrams with configurable dark/light theme via CSS custom properties.
Normal demand
What the author says it does
Create professional diagrams with configurable dark/light theme via CSS custom properties. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system, process flow, data flow, component relationship, network topology, decision tree, org chart, state machine, or any visual representation of structure/logic/process. Also trigger when the user says "画个图" "画一个架构图" "diagram" "flowchart" "sequence diagram" "draw me a ..." or uploads content and asks to visualize it. Outputs a dark-theme SVG, a light-theme SVG, and a @2x PNG of each.
Install baoyu-diagram
# Mac or Linux
unzip baoyu-diagram.zip -d ~/.claude/skills
# Windows PowerShell
Expand-Archive baoyu-diagram.zip "$env:USERPROFILE\.claude\skills"
Start a new Claude Code session and the skill is ready. In the Claude app, upload the zip under Settings, Capabilities, Skills.
Scripts and network
The zip holds 5 scripts, such as scripts/flatten-vars.ts, scripts/main.ts, scripts/theme-switch.ts. None of them reach the internet.
What is in the zip
- LICENSE
- SKILL.md
- references/
- scripts/
- themes/