1---2name: russell-cell-ppt-as-code-ppt-as-code3description: PPTX Export For PPT as Code4---56# PPTX Export For PPT as Code78> Turn a `ppt-as-code` deck into `.pptx` by preserving the HTML result as slide screenshots instead of rebuilding editable PowerPoint layouts.910**Core Pipeline**: `Validate Handoff -> Load Contract -> Enter Export Mode -> Capture Slides -> Place Full-Slide Images -> Save output.pptx`1112---1314## Mandatory Rules1516> [!IMPORTANT]17> ### Screenshot-Only Export18>19> - This skill supports **raster PPTX export only**.20> - Do not attempt native PowerPoint reconstruction.21> - Do not attempt partial-raster or mixed editable rendering.22> - The PPTX is a delivery container for the HTML deck's visual state.2324> [!IMPORTANT]25> ### HTML Is The Design Source26>27> - The browser-rendered HTML deck is the design source of truth.28> - PPTX export preserves that rendered state.29> - Do not reinterpret layout through PowerPoint templates.3031> [!IMPORTANT]32> ### Stable Export State Required33>34> - Every slide must be captured in a stable export state.35> - Hide presentation furniture that should not appear in the final deck:36> - controls37> - progress38> - slide number39> - debug overlays40> - Freeze motion and fragments to one chosen static state before capture.4142> [!IMPORTANT]43> ### Product Boundary44>45> - This skill exports PPTX from `ppt-as-code` outputs.46> - It does not promise support for arbitrary hand-written HTML pages.47> - It is a final-delivery skill, not a deck-authoring skill.4849> [!IMPORTANT]50> ### Fidelity Over Editability51>52> - The goal is visual fidelity, not editability.53> - If the user needs editable slides, that is a separate workflow and should not be implied by this skill.5455> [!IMPORTANT]56> ### Asset Failure Policy57>58> - Do not silently drop missing images.59> - If a slide cannot be captured correctly because an asset is missing, stop with a clear blocker.6061---6263## Resource Manifest6465### UI Metadata6667| File | Path | Purpose |68|------|------|---------|69| skill interface metadata | `${SKILL_DIR}/agents/openai.yaml` | display name, short description, and default prompt |7071### References7273| Resource | Path | Runtime Use |74|----------|------|-------------|75| manifest contract | `${SKILL_DIR}/references/manifest-contract.md` | required for validating the handoff bundle |76| rendering rules | `${SKILL_DIR}/references/rendering-rules.md` | required for screenshot capture rules |7778---7980## Workflow8182### Step 1: Validate Handoff8384`GATE`: The request is to export a `ppt-as-code` deck to PowerPoint.8586`EXECUTION`:87881. Confirm the handoff bundle includes:89 - `index.html`90 - `deck_manifest.json`91 - `assets/` when local images are expected922. Confirm the manifest provides:93 - `deckTitle`94 - `slideSize`95 - `themeTokens`96 - `slides`973. Reject the run early if the request is really about authoring or revising the deck instead of exporting it.9899### Step 2: Load Export Contract100101`GATE`: Step 1 complete.102103`EXECUTION`:1041051. Read `${SKILL_DIR}/references/manifest-contract.md`.1062. Read `${SKILL_DIR}/references/rendering-rules.md`.1073. Default the slide size to `16:9` when the manifest omits a value.108109### Step 3: Enter Export Mode110111`GATE`: Export inputs are valid enough to proceed.112113`EXECUTION`:1141151. Open the deck in export-safe mode.1162. Hide browser and reveal.js furniture that should not appear in PPTX.1173. Select one stable state for each slide.1184. Confirm that no browser chrome, controls, progress bars, or debug layers remain in frame.119120### Step 4: Capture Slides121122`GATE`: Export mode is stable.123124`EXECUTION`:1251261. Capture one screenshot per slide at presentation size.1272. Use the configured slide size from the manifest.1283. Preserve the full visible slide without browser chrome.1294. Store the resulting images in an export folder.130131### Step 5: Build PPTX132133`GATE`: All slide screenshots are available.134135`EXECUTION`:1361371. Create a PPTX deck with the target slide size.1382. Place each screenshot as a full-slide image.1393. Keep slide order identical to the HTML deck.140141### Step 6: Save And Report142143`GATE`: All slide images have been placed successfully.144145`EXECUTION`:1461471. Save the result as `output.pptx`.1482. Report:149 - slide count150 - screenshot count151 - missing-asset blockers if any152153---154155## Output Contract156157Final output should include:158159- `output.pptx`160- the folder of exported slide images161- a short summary of capture success or blockers162163---164> Source: [Russell-cell/PPT-as-code](https://github.com/Russell-cell/PPT-as-code) — distributed by [TomeVault](https://tomevault.io).165<!-- tomevault:4.0:skill_md:2026-06-24 -->
Run npx get-skill add tomevault-io/russell-cell-ppt-as-code-ppt-as-code in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
PPTX Export For PPT as Code It is listed under Docs & Writing on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.