pptx

defnotwig 的头像作者 defnotwig

创建、编辑和分析演示文稿。当Claude需要处理演示文稿(.pptx文件)时使用:创建新的演示文稿、修改或编辑内容、处理布局、添加注释或演讲者笔记或任何其他演示文稿任务。

📖 中文导读:创建、编辑和分析演示文稿。当Claude需要处理演示文稿(.pptx文件)时使用:创建新的演示文稿、修改或编辑内容、处理布局、添加注释或演讲者笔记或任何其他演示文稿任务。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: pptx description: "Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks" license: Proprietary. LICENSE.txt has complete terms

PPTX creation, editing, and analysis

Overview

A user may ask you to create, edit, or analyze the contents of a .pptx file. A .pptx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.

Reading and analyzing content

Text extraction

If you just need to read the text contents of a presentation, you should convert the document to markdown:

# Convert document to markdown
python -m markitdown path-to-file.pptx

Raw XML access

You need raw XML access for: comments, speaker notes, slide layouts, animations, design elements, and complex formatting. For any of these features, you'll need to unpack a presentation and read its raw XML contents.

Unpacking a file

python ooxml/scripts/unpack.py <office_file> <output_dir>