Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)394k · #52

diagram-maker

Skill này làm gì

Skill hướng dẫn một agent AI vẽ sơ đồ các khái niệm, hệ thống, luồng và bảng trắng, đồng thời chọn định dạng phù hợp nhất cho từng loại. Dành cho người cần một hình dung rõ ràng về cách một việc gì đó hoạt động.

Khi nào nên dùng

  • ✓Khi bạn muốn có sơ đồ của một quy trình, một luồng hoặc cách một việc vận hành.
  • ✓Khi bạn cần hình ảnh của một hệ thống phần mềm với các dịch vụ và cơ sở dữ liệu.
  • ✓Khi bạn muốn một bản phác bảng trắng có thể chỉnh sửa sau này.

Liên kết skill

https://github.com/openclaw/openclaw/blob/main/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/openclaw/openclaw/blob/main/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

“Vẽ một sơ đồ đơn giản cho quy trình đơn hàng của chúng tôi, từ thanh toán đến giao hàng, dưới dạng tệp HTML.”

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

Cách hoạt động

Skill trước tiên liệt kê các thành phần và cách chúng kết nối, rồi chọn bố cục. Nó tạo ra một tệp độc lập như SVG, HTML hoặc Excalidraw và kiểm tra tệp có hợp lệ 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, or ./diagram.html / ./diagram.excalidraw.
  5. Verify syntax by opening/parsing 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

Tôi nên chọn định dạng nào?

Bản phác có thể chỉnh sửa hoặc cộng tác phù hợp với Excalidraw, trang độc lập được trau chuốt phù hợp với SVG hoặc HTML, còn kiến trúc phần mềm phù hợp với kiểu SVG kiến trúc.

Sơ đồ có cần kết nối internet để xem không?

Không. Các tệp HTML và SVG dùng kiểu nội tuyến và không tải phông chữ, script hay hình ảnh bên ngoài.

Sơ đồ có thể phức tạp đến mức nào?

Skill nhắm tới khoảng năm đến chín phần tử chính với nhãn ngắn, vì sơ đồ dày đặc khó đọc hơn.

Chi tiết

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

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

repo: openclaw/openclaw

Độ phổ biến

Sao GitHub
394k
Vị trí xếp hạng
#52
Giấy phép
MIT
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ự