with one click
diagram-to-image
Render Mermaid diagrams to PNG/SVG for sharing.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Render Mermaid diagrams to PNG/SVG for sharing.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Control message formatting and writing style for Lark/Feishu conversations.
Create, query, edit, and manage Feishu Bitable (multidimensional spreadsheets) via lark-cli base — apps, tables, fields, records, views, dashboards, forms, workflows.
Manage Feishu calendar events via lark-cli — create/update/delete events, manage attendees, query free/busy and suggest available time slots, find and book meeting rooms.
List Feishu group chat members and resolve chat metadata via lark-cli.
Create a Feishu cloud document from Lark-flavored Markdown via lark-cli, with optional folder or wiki placement.
Comment management and media (image/file) operations on Feishu cloud documents via lark-cli.
| name | diagram-to-image |
| description | Render Mermaid diagrams to PNG/SVG for sharing. |
| triggers | {"intent_patterns":["mermaid|流程图|架构图|时序图|sequence diagram|flowchart","转成图片|导出图片|render.*(png|svg)|diagram.*(png|图片)","icon block|图标块|图标卡片|信息卡片"],"context_signals":{"keywords":["mermaid","diagram","flowchart","流程图","架构图","时序图","图标","png","svg","render","导出"]},"confidence_threshold":0.6} |
| priority | 7 |
| requires_tools | ["bash"] |
| max_tokens | 200 |
| cooldown | 60 |
| enabled | false |
| disabled_reason | Depends on the external Mermaid CLI (mmdc) in PATH; not self-contained in this workspace. |
Render Mermaid code into PNG or SVG image files.
| Intent | Command | Key Params |
|---|---|---|
| Render PNG | $PYTHON $SKILL_DIR/run.py render --code '...' | --code (required) |
| Render SVG | $PYTHON $SKILL_DIR/run.py render --code '...' --format svg | --format |
| Custom output | $PYTHON $SKILL_DIR/run.py render --code '...' --output /path/to/file.png | --output |
$PYTHON $SKILL_DIR/run.py render --code 'graph LR
A[Client] --> B[API]
B --> C[(DB)]' --format png --theme default --output /tmp/diagram_arch.png
render.code (Mermaid source).png (default), svg./tmp/diagram_<ts>.<format>.mmdc (Mermaid CLI) in PATH. Install: npm install -g @mermaid-js/mermaid-cli.