--- name: creating-presentations description: Processes PowerPoint presentation files (.pptx). Creates slides, rewrites templates, converts HTML to presentations, validates thumbnails, swaps layouts, and performs deep OOXML editing. Use when working with presentation files or slide decks. Do NOT use for Word documents, spreadsheets, or PDF files. user-invocable: false allowed-tools: Bash, Read, Write, Edit, Glob argument-hint: --- # PPTX Processing `.pptx` is a ZIP archive of XML and resources. Choose workflow by intent. ## Workflow Decision | Intent | Workflow | Reference | |--------|----------|-----------| | **Read text** | markitdown → markdown | [thumbnails-and-conversion.md](references/thumbnails-and-conversion.md) | | **Analyze layout / comments / theme** | unpack → raw XML | [thumbnails-and-conversion.md](references/thumbnails-and-conversion.md) | | **Create new from scratch** | html2pptx | [html2pptx.md](html2pptx.md) + [design-patterns.md](references/design-patterns.md) | | **Create using template** | rearrange + inventory + replace | [template-workflow.md](references/template-workflow.md) | | **Edit existing slides** | unpack → OOXML → pack | [ooxml.md](ooxml.md) | | **Visual review** | thumbnail grids | [thumbnails-and-conversion.md](references/thumbnails-and-conversion.md) | ## Iron Rules - **Color choice is design** — see [palettes.md](references/palettes.md), state your approach BEFORE code. - **Web-safe fonts only** — Arial, Helvetica, Times New Roman, Georgia, Courier New, Verdana, Tahoma, Trebuchet MS, Impact. - **Layout matches content count** — 2 items → 2 columns; 3 → 3; never force. - **Validate visually** — always generate thumbnails after creation, inspect for cutoff/overlap/contrast. ## Create New (without template) — html2pptx 1. **MANDATORY — READ ENTIRE FILE**: `html2pptx.md`. NEVER set range limits. 2. Create HTML per slide (e.g., 720pt × 405pt for 16:9) - Use `

`, `

`–`

`, `