跳到正文
Skillpedia
技术文档12k · #11585

markdown-viewer

它能做什么

这项技能为 Markdown 文档添加示意图、数据图表和信息图等视觉内容。适合撰写技术文档、希望在文中加入清晰图示的人。

适用场景

  • ✓当你想在 Markdown 文档中加入流程图、架构图或 UML 图时。
  • ✓当你想在技术文档中加入数据图表、KPI 卡片、时间线或路线图时。
  • ✓当你想在 Markdown 笔记中放入思维导图或概念图的时候。

技能链接

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/markdown-viewer/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/markdown-viewer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为我的应用画一张架构图,包含前端、API 和数据库三层,放进我的 README 里。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会根据目标选择最简单的合适渲染器,例如图表引擎、图示引擎或自由画布,并把图表代码写入 Markdown。使用前必须先安装技能包。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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-lite or vega for data charts.
    • infographic for infographic YAML blocks.
    • canvas for JSON Canvas maps.
    • plantuml or puml for UML, cloud, network, security, ArchiMate, BPMN, data analytics, IoT, and PlantUML mind maps.
  • For architecture and infocard, 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

  1. Identify the user's artifact type: chart, diagram, architecture, process, mind map, infographic, or card.
  2. Select the renderer from the guide above.
  3. If the pack is installed locally, read the corresponding upstream SKILL.md for exact syntax and pitfalls.
  4. Draft the Markdown artifact with the correct code fence or raw HTML/CSS style.
  5. Check syntax before delivery: matching fences, valid JSON/YAML where required, PlantUML starts and ends correctly, and labels are readable.
  6. If the user needs a file, save it as .md and 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.

常见问题

我需要先安装什么吗?

需要。在智能体使用之前,先通过 npx skills add markdown-viewer/skills 安装技能包。

它支持哪些类型的图?

柱状图、折线图和热力图等图表,以及架构图、UML、云架构图、网络图、数据图和信息图。

它如何选择格式?

它会根据技能中的对照表,为每个目标匹配渲染器,例如用图表引擎处理数据,用画布绘制思维导图。

详情

作者的原始描述

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

热度

GitHub 星标
12k
排名
#11585
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能