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.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
“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
- Extract nodes, groups, labels, and directed relationships.
- Pick layout first: left-to-right, top-down, hub-spoke, swimlanes, layered stack, sequence.
- Keep labels short. Prefer 5-9 main elements over dense diagrams.
- Generate the file at the requested path. If none is provided, use
diagram.htmlordiagram.excalidrawin the current working directory. - 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. - Verify syntax by opening or parsing the output when feasible.
SVG/HTML rules
- Single standalone
.htmlfile 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
.excalidrawJSON withtype,version,source,elements, andappState. - Use bound text for shape labels. Do not use a nonstandard
labelproperty. - 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
Bình luận
- …
Thêm skill từ kho mã này
ai-claim-checker
5.4kGiúp agent của bạn kiểm tra các khẳng định thực tế trong một câu trả lời AI, chọn nguồn độc lập và xây dựng thói quen đọc hiểu AI cẩn thận.
cue-omni-reader
5.4kGiúp agent của bạn đọc một trang web, tài liệu, file âm thanh hoặc video qua dịch vụ Cue Omni Reader, rồi dùng nội dung đã phân tích cho việc của bạn.
daily-standup-journal
5.4kGiúp agent của bạn viết một bản standup hằng ngày ngắn, các câu hỏi suy ngẫm hoặc một buổi nhìn lại hằng tuần, chỉ dựa trên những gì bạn chia sẻ trong phiên.
decision-matrix
5.4kGiúp agent của bạn so sánh các lựa chọn bằng phương pháp chấm điểm rõ ràng, liệt kê ưu nhược điểm và các giả định đằng sau mỗi điểm số.
Skill tương tự
gifgrep
394kCho phép agent của bạn tìm thư viện GIF, xem trước kết quả, tải một GIF, và lấy một khung hình tĩnh hoặc bảng ghép nhiều khung hình.
meme-maker
394kCho phép agent của bạn chọn một mẫu meme, thêm chú thích của riêng bạn và tạo meme dưới dạng ảnh SVG hoặc PNG.
ios-icon-gen
280kGiúp agent tạo biểu tượng cho ứng dụng iOS. Dùng biểu tượng của Apple hoặc từ các nguồn khác để tạo đúng định dạng tệp.