Back to list
albertsikkema

excalidraw-diagram

by albertsikkema

Website hosted on github, based on Jekyll and markdown

0🍴 0📅 Jan 23, 2026

SKILL.md


name: excalidraw-diagram description: Create an Excalidraw diagram from a text description. Use when the user wants to create a diagram, flowchart, architecture diagram, or visual explanation for their blog post.

Create Excalidraw Diagram

Generate an Excalidraw diagram from a text description that the user can import into Excalidraw.

Instructions

  1. Understand what the user wants to visualize:

    • Ask clarifying questions if needed
    • Identify the type of diagram (flowchart, architecture, comparison, timeline, etc.)
    • Note key elements, relationships, and groupings
  2. Generate Excalidraw JSON:

    • Create valid Excalidraw JSON format
    • Use appropriate shapes (rectangles, arrows, text, etc.)
    • Apply sensible positioning and sizing
    • Use colors that work well together
  3. Provide the output:

    • Save the JSON to a .excalidraw file in a sensible location
    • Give instructions on how to use it

Excalidraw JSON Structure

{
  "type": "excalidraw",
  "version": 2,
  "source": "https://excalidraw.com",
  "elements": [
    {
      "type": "rectangle",
      "id": "unique-id",
      "x": 100,
      "y": 100,
      "width": 200,
      "height": 60,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "#a5d8ff",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "roundness": { "type": 3 },
      "seed": 12345
    },
    {
      "type": "text",
      "id": "unique-id-2",
      "x": 120,
      "y": 120,
      "text": "Label",
      "fontSize": 20,
      "fontFamily": 1,
      "textAlign": "center"
    },
    {
      "type": "arrow",
      "id": "unique-id-3",
      "x": 300,
      "y": 130,
      "width": 100,
      "height": 0,
      "points": [[0, 0], [100, 0]]
    }
  ],
  "appState": {
    "viewBackgroundColor": "#ffffff"
  }
}

Color Palette (Hand-drawn friendly)

Use these Excalidraw default colors:

PurposeColor CodeName
Safe/Good#b2f2bbLight green
Warning/Caution#ffec99Light yellow
Danger/Avoid#ffc9c9Light red
Info/Neutral#a5d8ffLight blue
Highlight#d0bfffLight purple
Stroke#1e1e1eDark gray

Common Element Types

  • rectangle - Boxes, containers
  • ellipse - Circles, ovals
  • diamond - Decision points
  • arrow - Connections, flow
  • line - Simple connections
  • text - Labels, descriptions
  • freedraw - Hand-drawn elements

Output

  1. Save the file to assets/excalidraw/[descriptive-name].excalidraw

  2. Tell the user how to open and export:

To use this diagram:
1. Go to https://excalidraw.com
2. Click the menu (hamburger icon) → Open
3. Select the .excalidraw file
4. Edit as needed, then export as PNG/SVG to assets/images/

Example

User: "Create a diagram showing the three port ranges"

Output: An Excalidraw file with:

  • Three colored rectangles (green for safe range, yellow for system, red for ephemeral)
  • Labels for each range (0-1023, 1024-49151, 49152-65535)
  • Text descriptions below each
  • Arrow pointing to the recommended range

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon