Skillpedia
الصور والأيقونات5.4k · #14975

diagram-maker

ما الذي تفعله

تنشئ هذه المهارة مخططات للمفاهيم والعمليات وبنية الأنظمة وللرسومات على اللوح. وهي موجهة لأي شخص يحتاج إلى صورة توضح فكرة أو نظامًا.

متى تستخدمها

  • ✓عندما تحتاج إلى مخطط لعملية أو تدفق أو مفهوم تشاركه كملف.
  • ✓عندما تريد رسمًا على لوح قابل للتعديل لاحقًا.
  • ✓عندما تحتاج إلى صورة لبنية تضم خدمات وقواعد بيانات وطوابير.

رابط المهارة

https://github.com/iflytek/skillhub/blob/main/builtin-skills/skills/diagram-maker/SKILL.md

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

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

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

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

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

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

“هل يمكنك إنشاء مخطط Excalidraw قابل للتعديل لتدفق طلباتنا من الدفع حتى التوصيل؟”

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

كيف تعمل

يختار الوكيل أنسب صيغة، ويستخرج الخطوات والعلاقات الرئيسية، ثم يرتبها وينشئ الملف. ويتحقق من أن المخرجات تُفتح أو تُقرأ بشكل صحيح.

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

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

Diagram Maker

Create diagrams as artifacts, not prose. Choose one output mode:

  • clean-svg: educational concepts, physical systems, processes, lifecycle, simple data flow.
  • architecture-svg: software/cloud/infra topology, services, databases, queues, trust zones.
  • excalidraw: editable hand-drawn whiteboard, flowchart, sequence, architecture sketch.

Routing

  • User wants editable/collaborative: choose Excalidraw.
  • User wants polished standalone browser output: choose SVG/HTML.
  • Software architecture with infra components: choose architecture SVG.
  • Science, product, process, concept map, physical object: choose clean SVG.
  • Unsure: ask one short question only if output format matters; otherwise choose clean SVG.

Workflow

  1. Extract nodes, groups, labels, and directed relationships.
  2. Pick layout first: left-to-right, top-down, hub-spoke, swimlanes, layered stack, sequence.
  3. Keep labels short. Prefer 5-9 main elements over dense diagrams.
  4. Generate the file at the requested path. If none is provided, use diagram.html or diagram.excalidraw in the current working directory.
  5. Do not overwrite an existing file by default. Choose an unused suffixed name such as diagram-2.html, or ask before replacing the existing file.
  6. Verify syntax by opening or parsing the output when feasible.

SVG/HTML rules

  • Single standalone .html file with inline CSS and inline SVG.
  • No external fonts, JS, images, gradients, glows, decorative blobs, or remote assets.
  • Use semantic colors, not rainbow sequences: neutral, input, process, storage, external, risk.
  • Draw connectors before nodes so arrows sit behind boxes.
  • Every connector path has fill="none" and a marker arrow when directed.
  • Leave 24px text padding inside boxes; do not let text touch borders.
  • Legend only when symbols/colors are not obvious.

SVG template

Use references/svg-template.md as the wrapper and replace <!-- SVG -->.

Excalidraw rules

  • Save .excalidraw JSON with type, version, source, elements, and appState.
  • Use bound text for shape labels. Do not use a nonstandard label property.
  • Keep bound text immediately after its container in the elements array.
  • Minimum labeled shape: 120x60. Minimum body text: 16px.
  • Use roughness 1, fontFamily: 1, and simple fills.

For exact Excalidraw element snippets, read references/excalidraw-patterns.md.

الأسئلة الشائعة

ما أنواع الملفات التي يمكنها إنشاؤها؟

تنشئ ملفات SVG أو HTML مستقلة، وملفات Excalidraw قابلة للتعديل.

هل يستبدل ملفًا موجودًا؟

لا. لا تستبدل المهارة الملفات الموجودة افتراضيًا، بل تختار اسمًا جديدًا.

كم عنصرًا ينبغي أن يحتوي المخطط؟

تقترح المهارة الالتزام بنحو خمسة إلى تسعة عناصر رئيسية حتى يبقى المخطط مقروءًا.

التفاصيل

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

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

repo: iflytek/skillhub

الشعبية

نجوم GitHub
5.4k
الترتيب
#14975
الترخيص
Apache-2.0
آخر تحديث
2‏/11‏/2026

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

0

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

التعليقات

  • …

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

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