Agent SkillsOpenBMB/PilotDeck › diagram-maker

diagram-maker

GitHub

生成SVG或Excalidraw图表。支持教育概念、系统流程及软件架构等场景,提供干净SVG、架构SVG及可编辑白板三种模式。遵循简洁布局与语义化配色规范,确保输出独立可用且结构清晰。

skills/diagram-maker/SKILL.md OpenBMB/PilotDeck

Trigger Scenarios

用户需要创建架构图、流程图或概念图 用户要求将复杂概念可视化 用户希望生成可编辑的白板草图

Install

npx skills add OpenBMB/PilotDeck --skill diagram-maker -g -y
More Options

Use without installing

npx skills use OpenBMB/PilotDeck@diagram-maker

指定 Agent (Claude Code)

npx skills add OpenBMB/PilotDeck --skill diagram-maker -a claude-code -g -y

安装 repo 全部 skill

npx skills add OpenBMB/PilotDeck --all -g -y

预览 repo 内 skill

npx skills add OpenBMB/PilotDeck --list

SKILL.md

Frontmatter
{
    "name": "diagram-maker",
    "description": "Create SVG\/HTML or Excalidraw diagrams for concepts, architecture, flows, and whiteboards."
}

Diagram Maker

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

  • User wants editable/collaborative: choose Excalidraw.
  • User wants polished standalone browser output: choose SVG/HTML.
  • Software architecture with infra components: choose architecture SVG.
  • Science, product, process, concept map, physical object: choose clean SVG.
  • Unsure: ask one short question only if output format matters; otherwise choose clean SVG.

Workflow

  1. Extract nodes, groups, labels, and directed relationships.
  2. Pick layout first: left-to-right, top-down, hub-spoke, swimlanes, layered stack, sequence.
  3. Keep labels short. Prefer 5-9 main elements over dense diagrams.
  4. Generate the file at the requested path, or ./diagram.html / ./diagram.excalidraw.
  5. Verify syntax by opening/parsing when feasible.

SVG/HTML rules

  • Single standalone .html file with inline CSS and inline SVG.
  • No external fonts, JS, images, gradients, glows, decorative blobs, or remote assets.
  • Use semantic colors, not rainbow sequences: neutral, input, process, storage, external, risk.
  • Draw connectors before nodes so arrows sit behind boxes.
  • Every connector path has fill="none" and a marker arrow when directed.
  • Leave 24px text padding inside boxes; do not let text touch borders.
  • Legend only when symbols/colors are not obvious.

SVG template

Use references/svg-template.md as the wrapper and replace <!-- SVG -->.

Excalidraw rules

  • Save .excalidraw JSON with type, version, source, elements, and appState.
  • Use bound text for shape labels. Do not use a nonstandard label property.
  • Keep bound text immediately after its container in the elements array.
  • Minimum labeled shape: 120x60. Minimum body text: 16px.
  • Use roughness 1, fontFamily: 1, and simple fills.

For exact Excalidraw element snippets, read references/excalidraw-patterns.md.

PilotDeck Migration Note

  • Source: /var/folders/27/xyyzc_n172l3jjmnxgqmhhzh0000gn/T/tmp.AyWDWGKoS4/openclaw/skills/diagram-maker
  • Review status: candidate for PilotDeck native skills pack.
  • Platform-specific OpenClaw/Hermes metadata was removed or should be ignored during review.

Version History

  • 1730cb4 Current 2026-07-05 20:07

Same Skill Collection

skills/1password/SKILL.md
skills/apple-notes/SKILL.md
skills/apple-reminders/SKILL.md
skills/bear-notes/SKILL.md
skills/blogwatcher/SKILL.md
skills/frontend-slides/SKILL.md
skills/github/SKILL.md
skills/gog/SKILL.md
skills/himalaya/SKILL.md
skills/karpathy-guidelines/SKILL.md
skills/meeting-recorder-assistant/SKILL.md
skills/notion/SKILL.md
skills/obsidian/SKILL.md
skills/pilotdeck-skills-migration/SKILL.md
skills/react-next-best-practices/SKILL.md
skills/skill-creator/SKILL.md
skills/spike/SKILL.md
skills/summarize/SKILL.md
skills/tmux/SKILL.md
skills/trello/SKILL.md
skills/weather/SKILL.md
skills/find-skills/SKILL.md
skills/frontend-design/SKILL.md
skills/minimax-pdf/SKILL.md
skills/web-design-guidelines/SKILL.md

Metadata

Files
0
Version
1730cb4
Hash
2e79d238
Indexed
2026-07-05 20:07

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 20:18
浙ICP备14020137号-1 $Гость$