幻灯匠
原名:pptx
当涉及 .pptx 或 .potx 文件时(如创建、读取、编辑、合并或拆分幻灯片、模板、备注等),无论后续用途如何,均触发此技能。
- 分类
- 内容创作
- 版本
- v1.0.0
- 作者
- 弈韬(@ra1nzzz)
- 下载
- 0
- 收藏
- 0
- 发布
- 2026-08-17
- 更新
- 2026-08-18
- TRACE 评分
- 3.4 / 5
内容概览
A .pptx is a ZIP archive of XML files. Choose your approach by task: Task Approach --- --- Create a new deck Write a pptxgenjs script — see gotchas below Edit an existing deck, or build from a template unzip → edit ppt/slides/slideN.xml → zip Read content markitdown deck.pptx (one block per slide under <!-- Slide number: N -- markers); visual grid: python scripts/thumbnail.py deck.pptx Paths are relative to this skill's directory. Everything else is plain Python, node, or shell. Script What it does --- --- scripts/thumbnail.py deck.pptx [prefix] Labeled grid of every slide, for picking template layouts. .pptx only. Pass prefix — it defaults to thumbnails, which overwrites the grids of any other deck done in the same directory scripts/add slide.py unpacked/ slide2.xml [--after slideN.xml] Duplicate a slide (or a slideLayoutN.xml) with all the package bookkeeping. Also takes a .pptx direct…