excalidraw-diagram
Skill này làm gì
Skill này dạy agent cách biến nội dung viết thành sơ đồ Excalidraw. Skill có thể tạo bản cho Obsidian, một file tiêu chuẩn để mở trên excalidraw.com, hoặc một file có hoạt ảnh.
Khi nào nên dùng
- ✓Khi người dùng muốn một lưu đồ hoặc sơ đồ tư duy từ ghi chú của họ dưới dạng bản vẽ Excalidraw.
- ✓Khi người dùng muốn một sơ đồ mở và chỉnh sửa được trong Obsidian.
- ✓Khi người dùng muốn một sơ đồ có hoạt ảnh thể hiện các bước theo thứ tự.
Liên kết skill
https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/excalidraw-diagram/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Biến ghi chú cuộc họp của tôi thành một lưu đồ Excalidraw mà tôi có thể mở trong Obsidian.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn loại đầu ra từ các từ trong yêu cầu, tìm các ý chính và cách chúng liên kết, rồi viết file bản vẽ. Agent lưu file vào thư mục làm việc hiện tại và giải thích cách mở nó.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Excalidraw Diagram Generator
Create Excalidraw diagrams from text content with multiple output formats.
Output Modes
Select output mode based on the user's trigger words:
| Trigger Words | Output Mode | File Format | Use Case |
|---|---|---|---|
Excalidraw, diagram, flowchart, mind map |
Obsidian (default) | .md |
Open directly in Obsidian |
standard excalidraw |
Standard | .excalidraw |
Open/edit/share on excalidraw.com |
animate, animated excalidraw |
Animated | .excalidraw |
Drag to excalidraw-animate to generate animation |
Workflow
- Detect output mode from trigger words (see Output Modes table above)
- Analyze content - identify concepts, relationships, hierarchy
- Choose diagram type (see Diagram Types below)
- Generate Excalidraw JSON (add animation order if Animated mode)
- Output in correct format based on mode
- Automatically save to current working directory
- Notify user with file path and usage instructions
Output Formats
Mode 1: Obsidian Format (Default)
Output strictly in the following structure, with no modifications:
---
excalidraw-plugin: parsed
tags: [excalidraw]
---
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
# Excalidraw Data
## Text Elements
%%
## Drawing
\`\`\`json
{complete JSON data}
\`\`\`
%%
Key points:
- Frontmatter must include
tags: [excalidraw] - Warning message must be included in full
- JSON must be wrapped in
%%markers - No
excalidraw-*plugin settings in frontmatter other thanexcalidraw-plugin: parsed(thetags: [excalidraw]entry above is separate and still required) - File extension:
.md
Mode 2: Standard Excalidraw Format
Output pure JSON file, openable on excalidraw.com:
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}
Key points:
sourceuseshttps://excalidraw.com(not the Obsidian plugin)- Pure JSON, no Markdown wrapping
- File extension:
.excalidraw
Mode 3: Animated Excalidraw Format
Same as Standard format, but each element adds a customData.animate field to control animation order:
{
"id": "element-1",
"type": "rectangle",
"customData": {
"animate": {
"order": 1,
"duration": 500
}
},
...other standard fields
}
Animation order rules:
order: Playback order (1, 2, 3...) — lower numbers appear firstduration: Drawing duration for the element (milliseconds), default 500- Elements with the same
orderappear simultaneously - Recommended order: title → main framework → connection lines → detail text
Usage:
- Generate the
.excalidrawfile - Drag to https://dai-shi.github.io/excalidraw-animate/
- Click Animate to preview, then export as SVG or WebM
File extension: .excalidraw
Diagram Types & Selection Guide
Choose the appropriate diagram type to maximize clarity and visual impact.
| Type | Use Case | Approach |
|---|---|---|
| Flowchart | Step-by-step processes, workflows, task sequences | Connect steps with arrows, clearly show process flow |
| Mind Map | Concept expansion, topic categorization, brainstorming | Radiate outward from a central core |
| Hierarchy | Org charts, content levels, system decomposition | Build level nodes top-down or left-to-right |
| Relationship | Dependencies, influences, interactions between elements | Use lines between shapes to show relationships, with arrows and labels |
| Comparison | Side-by-side analysis of two or more approaches | Two columns or table format, with comparison dimensions labeled |
| Timeline | Event progression, project milestones, evolution | Use time as axis, mark key dates and events |
| Matrix | Two-dimensional categorization, priority grids, positioning | Establish X and Y dimensions, place items on coordinate plane |
| Freeform | Scattered content, brainstorming, initial information gathering | No structural constraints, freely place blocks and arrows |
Design Rules
Text & Format
- All text elements must use
fontFamily: 5(Excalifont handwriting font
Câu hỏi thường gặp
Có những loại đầu ra nào?
Skill có định dạng ghi chú Obsidian, file Excalidraw tiêu chuẩn và file có hoạt ảnh.
Tôi có thể mở file tiêu chuẩn trên mạng không?
Có. Skill nói có thể mở, chỉnh sửa và chia sẻ nó trên excalidraw.com.
File được lưu ở đâu?
Skill tự động lưu vào thư mục làm việc hiện tại.
Chi tiết
Mô tả gốc của tác giả
Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".
repo: breferrari/obsidian-mind
Độ phổ biến
- Sao GitHub
- 5.5k
- Vị trí xếp hạng
- #14840
- Giấy phép
- MIT
- Cập nhật
- 17/10/2026
Bình luận
- …
Thêm skill từ kho mã này
mermaid-visualizer
5.5kGiúp agent của bạn biến văn bản thành sơ đồ Mermaid gọn gàng, như lưu đồ, kiến trúc hệ thống và bảng so sánh, hiển thị được trong Obsidian và GitHub.
qmd
5.5kGiúp agent của bạn tìm trong kho ghi chú Obsidian theo ý nghĩa trước khi mở file, và trả về các đoạn liên quan để tiết kiệm thời gian và ngữ cảnh.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.