Documents

Markdown To Slides

Try it

将 Markdown 格式的演讲/汇报文档转化为可编辑的 PPTX 演示文稿。 输出标准 .pptx 文件,可在 PowerPoint / Keynote / WPS 中打开编辑。

What it does

把用户的 Markdown 演讲/汇报文档转化为可编辑的 .pptx 演示文稿。

The skill document

md-to-slides

做什么

把用户的 Markdown 演讲/汇报文档转化为可编辑的 .pptx 演示文稿。

怎么做

Step 0:确认输入

向用户确认要转换的 Markdown 文件路径。

Step 1:扫描结构

读取文件,提取 frontmatter 元数据和所有章节标题,报告给用户确认。

Step 2:逐章解析

对每个章节生成 Slide 数组。超长章节(>8000 tokens)需要按子标题拆分。主 Agent 只读标题行,正文由子 Agent 解析。

子 Agent 解析 Prompt 模板见 references/analysis-prompt.md

Step 3:合并确认

汇总所有 Slide,检查密度和连贯性,向用户报告分页方案。

Step 4:生成 Schema

将完整的 PresentationSchema JSON 写入当前工作目录的临时文件。

Step 5:生成 PPTX

调用生成脚本:

node scripts/generate-pptx.cjs  <输出路径>

生成后提取文本核验内容完整性。

兜底

  • 子 Agent 失败 → 重试一次,仍失败则标记该章需人工处理
  • Mermaid 图表 → 输出占位 slide,提示手动插入
  • 不篡改用户原文内容

Related skills

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván2 installs

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván1 installs

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai21 installs8 stars

More from sopaco

Browse all skills

Track your portfolio, monitor market sentiment, and generate rebalancing suggestions through a local ledger CLI.

by sopaco25 installs

MemClaw — High-performance memory plugin for OpenClaw. Outperforms native and other memory-solutions in complex scenarios with superior AI memory management,...

by sopaco51 installs2 stars

MemClaw Maintenance Guide — Installation, configuration, and maintenance guidance. For daily usage and tool operations, use the [`memclaw` skill](https://cla...

by sopaco24 installs1 stars

Generates .ai-context knowledge base for coding agents. Activate when: (1) setting up a new project for AI-assisted development, (2) user asks to "create pro...

by sopaco15 installs

Personal AI chief-of-staff for technical managers. Use when the user wants a persistent workspace-based system for daily logs, decision support, upward-manag...

by sopaco13 installs

Persistent memory enhancement for AI agents. Store conversations, search memories with semantic retrieval, and recall context across sessions. Use this skill...

by sopaco13 installs