Back to list
tenzir

diagramming

by tenzir

Claude plugins for Tenzirians

2🍴 0📅 Jan 23, 2026

SKILL.md


name: diagramming description: Generate Excalidraw diagrams. Use when creating flowcharts, ER diagrams, sequence diagrams, block diagrams, or any .excalidraw files.

Diagramming with Excalidraw

Generate valid .excalidraw JSON files.

File Format

{
  "type": "excalidraw",
  "version": 2,
  "source": "https://excalidraw.com",
  "elements": [],
  "appState": {
    "viewBackgroundColor": "#ffffff"
  },
  "files": {}
}
FieldTypeDescription
typestringAlways "excalidraw"
versionnumberSchema version (currently 2)
sourcestringOrigin URL
elementsarrayAll diagram elements
appStateobjectCanvas settings (background, etc.)
filesobjectBinary files keyed by fileId (images)

Workflow

  1. Plan - Choose diagram type, layout, colors
  2. Generate - Create elements with proper structure
  3. Validate - Check bindings and structure before writing

Validation Checklist

Before writing a diagram, verify:

Bindings

  • Arrows connecting shapes have both startBinding and endBinding set
  • Arrow x,y sits at the source shape's edge, not floating in space
  • Shapes list connected arrows in their boundElements (bidirectional)
  • Text labels have containerId pointing to their container
  • Containers have boundElements referencing their text

Polygons

  • Polygon labels use groupIds (not containerId)
  • Text positioned manually at polygon center
  • Polygons cannot have arrow bindings - bind to grouped text label instead
  • Polygon's boundElements must be null

Layout

  • Elements don't overlap unexpectedly
  • Arrows route around shapes, not through them
  • Minimum 40px between sibling elements
  • All IDs are unique
  • Label text matches actual names (verify spelling)

Text

  • Use standard font sizes: S (16), M (20), L (28), XL (36)
  • Bound text: set containerId, textAlign: "center", verticalAlign: "middle"
  • Position bound text at container center; Excalidraw adjusts automatically

Frames (presentations only)

  • Frames are slides/artboards, not for grouping elements in a single diagram

Reference Index

Load references progressively based on need:

Elements

ReferenceLoad When
shapes.mdUsing rectangles, diamonds, ellipses
text.mdAdding labels, fonts, text styling
linear.mdCreating arrows, lines, bindings
freedraw.mdHand-drawn paths
images.mdEmbedding images
frames.mdSlides/artboards for presentations
polygons.mdCustom polygon shapes

Styling

ReferenceLoad When
fill-stroke.mdFill patterns, strokes
colors.mdColor palette selection
positioning.mdLayout, alignment, spacing
grouping.mdGroups, z-ordering

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

Reviews

💬

Reviews coming soon