使用 beautiful-mermaid 项目将 Mermaid 图表渲染为 ASCII 艺术。提供解析、布局算法和渲染操作的完整实现指南,支持流程图、状态图、序列图、类图和 ER 图表。当用户请求涉及以下场景时使用:(1)beautiful-mermaid 的 ASCII 渲染系统实现;(2)在终端/控制台输出...
Security Analysis
high confidenceThis is an instruction-only skill that documents how to render Mermaid diagrams as ASCII/Unicode using the beautiful-mermaid project; its requirements, instructions, and references are coherent with that purpose and it does not request credentials or install arbitrary software itself.
The name/description match the included SKILL.md and reference files: everything is focused on rendering Mermaid diagrams to ASCII/Unicode and on implementation details for beautiful-mermaid. The npm/bun/pnpm install instructions and Node/Bun/TypeScript version notes are appropriate for a library-focused skill. There are no unrelated credential or binary requirements.
The SKILL.md contains usage examples, API surface, algorithm explanations, and troubleshooting guidance. It does not instruct reading unrelated system files, harvesting environment variables, or sending data to unexpected endpoints. It does include guidance that developers may edit project files (e.g., pathfinder.ts heuristic), which is within the stated scope of modifying rendering/layout logic.
This is instruction-only and has no install spec. It recommends installing the upstream beautiful-mermaid package via normal package managers or using a CDN (unpkg) in browser examples. No downloads from untrusted personal servers or archive extraction steps are present in the skill itself.
The skill declares no required environment variables, no credentials, and no config paths. That aligns with the documented purpose (library usage and implementation guidance). References to external resources (GitHub repo, unpkg CDN) are appropriate for a library documentation skill.
The skill does not request persistent presence (always: false) and follows the normal model-invocation defaults. There is no indication it modifies other skills or global agent configuration.
Guidance
This skill appears coherent and documentation-only: it teaches how to use and modify the beautiful-mermaid ASCII renderer and does not request secrets. Before installing/using the upstream package, verify you trust the referenced project (check the GitHub repo, version, and license), prefer installing from the official package registry or pinned versions, and avoid running unreviewed code in production. Note the documentation shows edits to library source files (e.g., pathfinder.ts) — if you allow an agent to modify your codebase, that capability is broader than the skill itself and should be restricted or reviewed. Finally, the browser example uses unpkg (a CDN); if you rely on CDN-delivered JS, ensure you trust that source or use pinned artifacts from a verified registry.
Latest Release
v1.1.0
- 新增完整实现指南,详细介绍 Mermaid 图表 ASCII 渲染在 beautiful-mermaid 项目中的使用与拓展场景 - 明确支持流程图、状态图、序列图、类图、ER 图的ASCII/Unicode渲染,不支持甘特图等类型 - 说明边界条件(如长标签、密集节点、复杂路由、终端兼容性等)及性能建议 - 提供快速安装与基础用例(renderMermaidAscii 函数)、核心 API 说明和参数表 - 划分核心模块结构,详细列举 ascii 渲染相关的源码文件 - 丰富参考文档索引,便于深入理解渲染逻辑、主题系统和排障流程
Popular Skills
Published by @joe-rq on ClawHub