pptx-diagram

仓库创建 2026年7月22日最近提交 3 天前SkillHot 收录 4 小时前
▸ 精选理由

直接输出可编辑幻灯片元素,免去手工摆放,适合技术与架构展示。

这个 Skill 做什么

将 Mermaid 图渲染为可编辑的 PowerPoint 形状与连线,生成结构化 .pptx 幻灯片。

把 Mermaid 图直接变成可编辑的 PowerPoint 形状和连线,输出真正的 .pptx 而不是一张图片。想把架构图、流程图放入 PPT 并且同事能在 PowerPoint 里随手修改时非常好用,借助 officecli 自动生成形状与连接线,省去手工拖放元素的工作。

▸ 展开 SKILL.md 英文原文

Turn a Mermaid diagram into a PowerPoint slide using officecli's native mermaid→shapes synthesizer. Produces real editable PowerPoint shapes and connectors (not a flat image) when the diagram type supports it. Use when the user wants a diagram in a .pptx / PowerPoint deck, wants to export a mermaid diagram to slides, or asks for an architecture/flow/sequence diagram they can edit in PowerPoint.

办公文档PPTXMermaid可编辑图形通用
1
Stars
0
Forks
6
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/thititongumpun/skills/main/skills/pptx-diagram/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/thititongumpun/skills/main/skills/pptx-diagram/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Mermaid → PowerPoint diagram

`officecli` renders Mermaid straight into a slide. Write the Mermaid, run
one command — do not hand-place shapes and connectors.

```bash
officecli create deck.pptx                       # only if it doesn't exist
officecli add deck.pptx / --type slide --prop title="Architecture"
officecli add deck.pptx '/slide[1]' --type diagram --prop render=native \
  --prop mermaid="flowchart TD; A[Producer] --> B[(Topic)]; B --> C[Consumer]"
```

## Pick the render mode — this is the only real decision

| Want | Use | Constraint |
|---|---|---|
| Editable shapes in PowerPoint | `render=native` | **Only `flowchart`/`graph` and `sequenceDiagram`.** Other types are rejected 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有