office-pptx

Automate PowerPoint (.pptx) reading, text extraction, template editing, and repacking.

8|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/ChoshimWy/iOSAgentSkills --skill office-pptx-choshimwy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: office-pptx
Source: https://github.com/ChoshimWy/iOSAgentSkills/tree/main/skills/office-pptx
Command: npx skills add https://github.com/ChoshimWy/iOSAgentSkills --skill office-pptx-choshimwy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

PPTX 工作流常见的问题是手动、耗时且易出错。此 Skill 提供对 PowerPoint 演示文稿 (.pptx) 的读取、提取文本、基于模板的编辑、从零创建、拆分/合并幻灯片、缩略图预览、以及打包回包和基础 QA 的自动化能力。

Core Features & Use Cases

  • 支持读取和提取 PPTX 的文本与结构,分析幻灯片布局与母版,辅助模板驱动的编辑。
  • 实现从 unpack(解包) 到 patch(修改/新增幻灯片) 再到 pack(回包) 的完整工作流,并可生成缩略图、进行视觉 QA、以及保持 content types 与 relationships 的一致性。
  • 使用场景示例:批量更新若干演示文稿模板、对比版本、或在分发前进行统一的 QA 与打包。

Quick Start

Use the office-pptx skill to unpack a PPTX, modify slides with templates, and repack into a final PPTX.

Frequently Asked Questions about office-pptx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PowerPoint pptx processing to extract text and edit templates?

You can automate PowerPoint pptx processing by unpacking the presentation, extracting text, modifying slide layouts, and repacking it. This workflow validates content types and relationships to keep the deck intact while applying deterministic template modifications.

Can I merge or insert slides from different pptx layouts into a single presentation?

Yes, you can insert or merge slides from existing layouts into a target pptx. The unpack, patch, and repack pipeline modifies slide layouts while validating content types and relationships to ensure the merged presentation remains structurally valid.

What is the best way to batch update multiple PowerPoint templates before distribution?

Batch updating PowerPoint templates is best handled by automating the unpack, modify, and repack pipeline. This approach applies deterministic modifications across multiple decks and performs basic QA on slides to ensure structural consistency before distribution.

How do I generate thumbnails from pptx slides for visual QA?

You can generate thumbnails from pptx slides to perform visual QA by unpacking the presentation and rendering slide previews. This allows you to visually inspect layouts and text extraction results before repacking the final deck.

Does this pptx automation workflow require specific Python dependencies like lxml and Pillow?

Yes, the pptx automation workflow requires explicit dependencies including lxml, defusedxml, and Pillow. These libraries handle XML parsing, content type validation, and thumbnail generation to ensure the deterministic pipeline keeps relationships intact.

Why do my pptx files break after modifying slide XML without validating relationships?

PPTX files break after manual XML edits because content types and internal relationships become invalid. Validating these relationships during the patch and repack process ensures the presentation remains intact and correctly structured.