markdown-viewer
Skill này làm gì
Skill này thêm các hình ảnh như sơ đồ, biểu đồ dữ liệu và infographic vào tài liệu Markdown. Dành cho người viết tài liệu kỹ thuật và muốn có hình minh họa rõ ràng trong đó.
Khi nào nên dùng
- ✓Khi bạn muốn có sơ đồ luồng, sơ đồ kiến trúc hoặc sơ đồ UML trong tài liệu Markdown.
- ✓Khi bạn muốn thêm biểu đồ dữ liệu, thẻ KPI, dòng thời gian hoặc lộ trình vào tài liệu viết.
- ✓Khi bạn muốn đặt sơ đồ tư duy hoặc sơ đồ khái niệm vào ghi chú Markdown.
Liên kết skill
https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/markdown-viewer/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
“Vẽ sơ đồ kiến trúc cho ứng dụng của tôi, gồm các lớp frontend, API và cơ sở dữ liệu, cho README của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn bộ render nhỏ nhất phù hợp với mục tiêu, như một engine biểu đồ, một engine sơ đồ hoặc một canvas tự do, rồi viết mã sơ đồ vào Markdown. Gói skill phải được cài trước.
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.
Markdown Viewer
Use this skill when the user wants a diagram, visualization, architecture view, data chart, technical documentation graphic, infographic, mind map, or editorial-quality content card directly inside Markdown.
Markdown Viewer Agent Skills is an opinionated skill pack for AI coding agents. It covers diagram generation, data visualization, and technical documentation using multiple Markdown-rendered engines, including PlantUML, Vega/Vega-Lite, JSON Canvas, infographic blocks, and direct HTML/CSS embeds.
Setup
If the upstream skill pack is not installed, install it first:
npx skills add markdown-viewer/skills
After installation, prefer reading the specific upstream skill for the requested output type before writing complex diagrams. The pack includes detailed syntax rules, examples, and common pitfalls for each renderer.
Skill Selection
Choose the smallest renderer that fits the user's goal:
| User goal | Use |
|---|---|
| Bar, line, scatter, heatmap, area, radar, word cloud, or data-driven chart | vega / vega-lite |
| KPI card, roadmap, timeline, SWOT, funnel, org chart, or structured visual summary | infographic |
| Free-position mind map, concept map, knowledge graph, or planning board | canvas |
| System layers, microservices, app/data/infrastructure layers | architecture |
| Editorial knowledge card, event card, data highlight, or polished content tile | infocard |
| UML class, sequence, activity, state, component, deployment, package, or use-case diagram | uml |
| AWS, Azure, GCP, Alibaba Cloud, Kubernetes, serverless, or multi-cloud diagram | cloud |
| LAN/WAN, data center, enterprise network, or device topology | network |
| Threat model, zero-trust, IAM, firewall, encryption, or compliance view | security |
| Enterprise architecture with business/application/technology layers | archimate |
| BPMN workflow, swim lanes, integration pattern, or value stream map | bpmn |
| ETL/ELT, warehouse, lakehouse, ML pipeline, or analytics workflow | data-analytics |
| Sensors, edge computing, smart factory/home, fleet, or digital twin view | iot |
| Hierarchical brainstorm tree or study outline | mindmap |
Output Rules
- Write the result in Markdown unless the user asks for a separate file.
- Use the correct code fence for the chosen renderer:
vega-liteorvegafor data charts.infographicfor infographic YAML blocks.canvasfor JSON Canvas maps.plantumlorpumlfor UML, cloud, network, security, ArchiMate, BPMN, data analytics, IoT, and PlantUML mind maps.
- For
architectureandinfocard, embed the HTML/CSS directly in Markdown when that renderer expects raw HTML instead of a code fence. - Keep diagrams focused. Prefer a clear, accurate first version over decorative complexity.
- Label nodes and edges with domain language the user already used.
- For technical diagrams, include enough structure to be useful in docs: boundaries, data flow, dependencies, trust zones, layers, or ownership where relevant.
- For data visualizations, include explicit sample data or use the data the user supplied. Do not invent real metrics without marking them as placeholders.
- For security or compliance diagrams, avoid implying guarantees. Show controls, boundaries, and risks factually.
Workflow
- Identify the user's artifact type: chart, diagram, architecture, process, mind map, infographic, or card.
- Select the renderer from the guide above.
- If the pack is installed locally, read the corresponding upstream
SKILL.mdfor exact syntax and pitfalls. - Draft the Markdown artifact with the correct code fence or raw HTML/CSS style.
- Check syntax before delivery: matching fences, valid JSON/YAML where required, PlantUML starts and ends correctly, and labels are readable.
- If the user needs a file, save it as
.mdand include only the final artifact plus concise notes.
Delivery
When finished, tell the user:
- which renderer or sub-skill you used;
- where the Markdown file is, if one was created;
- any placeholder data or assumptions;
- any viewer requirement, such as needing a Markdown Viewer extension or compatible renderer.
Do not use static screenshots when the user asked for Markdown-native visuals. The value of this skill is that the output stays editable, reviewable, and renderable from Markdown.
Câu hỏi thường gặp
Tôi có cần cài gì trước không?
Có. Gói skill được cài bằng npx skills add markdown-viewer/skills trước khi agent dùng nó.
Nó bao quát những loại sơ đồ nào?
Biểu đồ như cột, đường và bản đồ nhiệt, cùng sơ đồ kiến trúc, UML, đám mây, mạng và dữ liệu, và infographic.
Nó chọn định dạng thế nào?
Nó khớp mỗi mục tiêu với một bộ render dựa trên bảng trong skill, ví dụ engine biểu đồ cho dữ liệu và canvas cho sơ đồ tư duy.
Chi tiết
Mô tả gốc của tác giả
Create rich diagrams, data visualizations, technical architecture views, and editorial content cards directly in Markdown using the Markdown Viewer Agent Skills pack. Use for Mermaid-like diagram requests, PlantUML architecture diagrams, Vega charts, JSON Canvas maps, infographics, UML, cloud/network/security/data/IoT diagrams, and polished Markdown documentation visuals.
repo: EKKOLearnAI/ekko-studio
Độ phổ biến
- Sao GitHub
- 12k
- Vị trí xếp hạng
- #11585
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
1password
12kGiúp agent của bạn dùng 1Password CLI để lấy bí mật cho lệnh và file cấu hình mà không hiển thị chúng trong chat, nhật ký hay file đã lưu.
apple-notes
12kGiúp agent của bạn tạo, tìm, đọc, sửa, di chuyển hoặc xóa Apple Notes trên Mac, bằng công cụ dòng lệnh memo.
apple-reminders
12kGiúp agent của bạn liệt kê, tạo, sửa, đánh dấu hoàn thành hoặc xóa Apple Reminders và danh sách nhắc việc trên Mac, bằng công cụ remindctl.
document-to-action-items
12kGiúp agent của bạn biến tài liệu, bản ghi cuộc họp hoặc các ghi chú thành bảng việc cần làm rõ ràng gồm người phụ trách, thời hạn và quyết định.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.