All skills
iflytek avatar

/diagram-maker

@7885cc5
by iflytekiflytek/skillhub5.2k stars
846

Create standalone SVG/HTML or editable Excalidraw diagrams for concepts, architecture, processes, flows, and whiteboards.

Use this Skill: https://skilld.dev/gh/iflytek/skillhub/diagram-maker

This session only. Nothing lands on disk.

referencesexcalidraw-patterns.md

≈349 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Excalidraw Patterns

Envelope:

{
  "type": "excalidraw",
  "version": 2,
  "source": "openclaw/diagram-maker",
  "elements": [],
  "appState": { "viewBackgroundColor": "#ffffff" }
}

Labeled rounded rectangle:

{
  "type": "rectangle",
  "id": "svc",
  "x": 100,
  "y": 100,
  "width": 180,
  "height": 72,
  "roundness": { "type": 3 },
  "backgroundColor": "#a5d8ff",
  "fillStyle": "solid",
  "strokeWidth": 2,
  "roughness": 1,
  "opacity": 100,
  "boundElements": [{ "id": "svc_text", "type": "text" }]
}

Bound text:

{
  "type": "text",
  "id": "svc_text",
  "x": 112,
  "y": 124,
  "width": 156,
  "height": 24,
  "text": "API service",
  "originalText": "API service",
  "fontSize": 20,
  "fontFamily": 1,
  "strokeColor": "#1e1e1e",
  "textAlign": "center",
  "verticalAlign": "middle",
  "containerId": "svc",
  "autoResize": true
}

Bound arrow:

{
  "type": "arrow",
  "id": "a1",
  "x": 280,
  "y": 136,
  "width": 140,
  "height": 0,
  "points": [
    [0, 0],
    [140, 0]
  ],
  "endArrowhead": "arrow",
  "startBinding": { "elementId": "svc", "fixedPoint": [1, 0.5] },
  "endBinding": { "elementId": "db", "fixedPoint": [0, 0.5] }
}

Palette:

  • Primary/input: #a5d8ff
  • Process: #d0bfff
  • Success/output: #b2f2bb
  • Storage/data: #c3fae8
  • External/warning: #ffd8a8
  • Error/risk: #ffc9c9
  • Note/decision: #fff3bf

Source: SKILL.md on GitHub

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill is a diagramming utility that creates SVG, HTML, and Excalidraw files. It follows security best practices by explicitly forbidding external assets and provides a portable, non-destructive file writing mechanism. No security threats or malicious patterns were detected.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 7885cc5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 months ago
version
1.0.0

README badge

README badge for iflytek/skillhub/diagram-maker