Agent Skill

PowerPoint Processing
Comprehensive PowerPoint manipulation skill for creating, editing, parsing, and transforming .pptx and .potx presentation files
What is PowerPoint Processing?
This skill provides agents with comprehensive capabilities for working with PowerPoint presentations programmatically using the python-pptx library. It covers creating new slide decks from scratch, reading and extracting content from existing presentations, editing slides by adding or modifying text and images, applying themes and layouts, working with speaker notes, managing slide masters and templates, combining multiple presentations, and converting extracted content to other formats. The agent learns to navigate the hierarchical structure of PowerPoint files—presentations contain slides, slides contain shapes, shapes contain text runs and paragraphs—enabling precise content manipulation. The skill establishes boundaries between simple content extraction and complex layout preservation, particularly when converting to other formats where visual fidelity may be challenging. Trade-offs include choosing between template-based creation for consistency versus programmatic generation for flexibility, and balancing between preserving original formatting versus restructuring content for different contexts. The skill emphasizes understanding PowerPoint's object model and working within its constraints regarding layout, placeholder types, and formatting inheritance.
