ppt-design-slider
Installation
SKILL.md
PPT Design Slider
Turn raw slide content into a designed PowerPoint deck. The user provides text and optional images, picks a template from the 36-design catalog (or defines a custom style in 5 questions), and you always produce two files: deck.pdf (lossless vector) and deck.pptx (native PowerPoint, double-click-editable text).
Architecture (read this first)
This skill ships with deterministic harness scripts that do the orchestration. The agent does NOT manage paths, file copying, or dependency installs in prose — it calls the scripts and works with their structured output. This avoids the classic LLM failure mode of skipping steps or inventing paths.
| Script | Purpose | When to run |
|---|---|---|
assets/scripts/show-catalog.mjs |
List all 36 templates grouped by mood/style | Step 1 — always, before any questions |
assets/scripts/init-deck.mjs |
Clone a picked template + scripts into the user's workspace | Step 3 — after user picks a slug |
assets/scripts/verify-deck.mjs |
Layout sanity: no overflow, no overlap, line-breaks preserved, declared CSS vars | Step 7 — before exporting |
assets/scripts/export-pdf.mjs |
Render deck HTML to PDF | Step 8 — default output 1 |
assets/scripts/export-pptx-editable.mjs |
Auto HTML→PPTX (only if pptx_editable: true) |
Step 8 — default output 2 (path a) |
assets/scripts/build-editable-pptx-skeleton.mjs |
Skeleton for native pptxgenjs builds — required when auto editable export isn't available | Step 8 — default output 2 (path b, copy + customize per-deck) |
assets/scripts/export-pptx-image.mjs |
Render deck HTML to image-based PPTX (opt-in only — pixels, not editable) | Optional — only if the user explicitly asks |
assets/scripts/validate-deck.mjs |
Lint a Swiss-template deck against the 22 locked layouts | Step 6 — QA, swiss only |
assets/scripts/build-index.mjs |
Rebuild index.json from per-template template.json files |
Dev-only |