Skillpedia
الواجهات (UI/UX)5.5k · #14840

excalidraw-diagram

ما الذي تفعله

تعلّم هذه المهارة الوكيل كيف يحوّل المحتوى المكتوب إلى مخطط Excalidraw. يمكنها إنتاج نسخة لـ Obsidian، أو ملف قياسي لـ excalidraw.com، أو ملفًا متحركًا.

متى تستخدمها

  • ✓عندما يريد المستخدم مخطط سير أو خريطة ذهنية من ملاحظاته كرسم Excalidraw.
  • ✓عندما يريد المستخدم مخططًا يمكنه فتحه وتعديله في Obsidian.
  • ✓عندما يريد المستخدم مخططًا متحركًا يُظهر الخطوات بالترتيب.

رابط المهارة

https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/excalidraw-diagram/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/excalidraw-diagram/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“حوّل ملاحظات اجتماعاتي إلى مخطط سير Excalidraw أستطيع فتحه في Obsidian.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يختار الوكيل نوع الإخراج من كلمات الطلب، ويجد الأفكار الأساسية والروابط بينها، ثم يكتب ملف الرسم. يحفظ الملف في المجلد الحالي ويشرح كيف تفتحه.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

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

  1. Detect output mode from trigger words (see Output Modes table above)
  2. Analyze content - identify concepts, relationships, hierarchy
  3. Choose diagram type (see Diagram Types below)
  4. Generate Excalidraw JSON (add animation order if Animated mode)
  5. Output in correct format based on mode
  6. Automatically save to current working directory
  7. 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 than excalidraw-plugin: parsed (the tags: [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:

  • source uses https://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 first
  • duration: Drawing duration for the element (milliseconds), default 500
  • Elements with the same order appear simultaneously
  • Recommended order: title → main framework → connection lines → detail text

Usage:

  1. Generate the .excalidraw file
  2. Drag to https://dai-shi.github.io/excalidraw-animate/
  3. 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
الأسئلة الشائعة

ما أنواع الإخراج المتاحة؟

لدى المهارة صيغة ملاحظة Obsidian، وملف Excalidraw قياسي، وملف متحرك.

هل يمكنني فتح الملف القياسي على الإنترنت؟

نعم. تقول المهارة إنه يمكن فتحه وتعديله ومشاركته على excalidraw.com.

أين يُحفظ الملف؟

تحفظه المهارة تلقائيًا في مجلد العمل الحالي.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
5.5k
الترتيب
#14840
الترخيص
MIT
آخر تحديث
17‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة