exporting-presentations-to-pptxlisted
Install: claude install-skill pgoell/pgoell-claude-tools
# Exporting Presentations to PPTX
Convert an HTML deck into a fully native, editable PowerPoint: real text boxes and autoshapes, exact design-token colors, embedded images, and speaker notes carried over. Not screenshots on slides. Consultants edit the result in PowerPoint, so every element must be a real PowerPoint object.
## Inputs to gather
1. The deck HTML. Every `<section>` is one slide; `data-screen-label` names it. The `<script type="application/json" id="speaker-notes">` island holds notes keyed by 1-based slide number.
2. The design tokens (`:root` CSS custom properties) and per-slide layout rules. Resolve each token to its effective value in the deck HTML: the last `:root` declaration in document order wins (in decks from the `creating-presentations` skill, preset values are inlined after the deck defaults and win). Never lift token values from the plugin's `presets/` directory alone; that recolors the deck wrongly.
3. Image assets the deck references (wordmarks, photos, illustrations).
Output path: for a single-file deck, write next to the HTML with the same basename and a `.pptx` extension. For a multi-file deck, write `<deck-dir-basename>.pptx` into the deck directory root, never `index.pptx`.
## Dependencies
Two tools cover every step; check for them before starting.
- `uv` carries all Python work, nothing is pre-installed:
```bash
uv venv /tmp/pptx-venv
uv pip install --python /tmp/pptx-venv/bin/python python-pptx pillow pymupdf
```
PyMuPDF c