Chuyển đến nội dung
Skillpedia
Hình ảnh và biểu tượng5.4k · #14975

diagram-maker

Skill này làm gì

Skill này tạo sơ đồ cho khái niệm, quy trình, kiến trúc hệ thống và bản phác thảo bảng trắng. Nó dành cho bất kỳ ai cần một hình ảnh để giải thích một ý tưởng hoặc một hệ thống.

Khi nào nên dùng

  • ✓Khi bạn cần sơ đồ một quy trình, luồng hoặc khái niệm để chia sẻ dưới dạng file.
  • ✓Khi bạn muốn một bản phác thảo bảng trắng có thể chỉnh sửa sau này.
  • ✓Khi bạn cần hình ảnh kiến trúc của các dịch vụ, cơ sở dữ liệu và hàng đợi.

Liên kết skill

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

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/iflytek/skillhub/blob/main/builtin-skills/skills/diagram-maker/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể tạo một sơ đồ Excalidraw có thể chỉnh sửa về luồng đơn hàng của chúng tôi, từ thanh toán đến giao hàng không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chọn định dạng tốt nhất, lấy các bước chính và mối quan hệ, bố trí chúng rồi tạo file. Nó kiểm tra đầu ra có mở hoặc phân tích đúng không.

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.

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.

Câu hỏi thường gặp

Nó có thể tạo những loại file nào?

Nó có thể tạo file SVG hoặc HTML độc lập, và file Excalidraw có thể chỉnh sửa.

Nó có ghi đè file hiện có không?

Không. Skill mặc định không ghi đè file hiện có và chọn một tên mới.

Một sơ đồ nên có bao nhiêu mục?

Skill gợi ý giữ khoảng năm đến chín phần tử chính để sơ đồ dễ đọc.

Chi tiết

Mô tả gốc của tác giả

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

repo: iflytek/skillhub

Độ phổ biến

Sao GitHub
5.4k
Vị trí xếp hạng
#14975
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự