/presentations:building-pptx-decksfrom presentations
Use when the user wants a slide deck as PowerPoint, which is the default when no format is named. Builds a native, editable .pptx from a deck.md, a settled storyline, or their content, styled from a preset or filled into a client template; also edits or extends an existing .pptx in place. A bare deck ask with nothing to build from goes to designing-presentations first. For an HTML deck with a presenter view, see creating-presentations.
Ships in presentations. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
PowerPoint is the default output of this plugin: most decks end up in a client's hands as a file they edit. This skill builds that file natively, so every title sits in a placeholder, every color comes from the theme, and every slide hangs off a layout. A consultant can then restyle it from the Design tab, reset a slide, or add one that matches the rest.
Three routes, by what the deck starts from:
| Starts from | Route | Tool |
|---|---|---|
| A preset (bundled or local) and no client template | Build: a structured deck written from scratch | pptxgenjs (Node) |
A client template (.pptx or .potx) | Fill: copy the template's layouts and fill them in place | assets/pptx_tool.py, slide XML edits |
| An existing deck to change (edit, add, remove, reorder) | Edit: the same in-place route as Fill | assets/pptx_tool.py, slide XML edits |
Never rebuild an existing deck from scratch to change it, and never redraw a client template: both throw away the masters, fonts and layouts the recipient checks first. pptxgenjs writes new files only; it cannot open one.
Check each when its step starts.
pptxgenjs (Build only). Try node -e "require('pptxgenjs')"; when it fails, install into a scratch prefix: npm install --prefix /tmp/pptx-node pptxgenjs and run scripts with NODE_PATH=/tmp/pptx-node/node_modules.python3 <this skill's dir>/assets/pptx_tool.py and assets/pptx_check.py. uv run python3 ... works the same.uv run --with python-pptx python3 script.py.soffice, or a container (for rt in podman docker nerdctl; do command -v "$rt" && break; done, then <rt> run --rm -v "$PWD:/data" --entrypoint soffice docker.io/linuxserver/libreoffice --headless --convert-to pdf --outdir /data /data/deck.pptx). Rasterize the PDF with pdftoppm -r 96 -png deck.pdf slide or PyMuPDF through uv.A deck.md from designing-presentations is the source brief: its header gives deck_mode, governing_idea and preset; each slide block gives slide_type, headline, an optional short title, visual (the proof object), speaker_notes and sources. Without one, compose from the storyline or content the user gave. A bare ask with nothing to compose from ("a deck about our Q3 results") goes to designing-presentations first; build what it writes.
Nothing is invented: every figure, name, date and calculation on a slide or in the notes comes from the material. When a headline needs a number the material lacks, write the claim with what it does have and tell the user what is missing.
Write every surface to the active preset's language.md (fall back to ../../presets/default/language.md).
.pptx the user wants changed: Edit. Skip to Step 3.pptx/template.pptx (or .potx): Fill.deck.md header preset key; .pgoell/presentations/config.md (## Preset, Name: or Path:); the single local preset in .pgoell/presentations/presets/; else the bundled preset that fits the deck's use, stated with its reason (../../presets/README.md, "Bundled presets"; default when nothing points elsewhere). A brand the user names but no preset covers: offer extracting-presets first.Output path: deck.pptx next to the deck.md, or the name the user gives. Never overwrite the user's original when editing: write <name>-edited.pptx unless told otherwise.
pptxgenjs traps that corrupt files.pptx_tool.py commands for adding, copying, dropping and cleaning slides, and the XML rules for editing text without losing formatting.Speaker notes carry the deck.md notes as written; a slide with no notes in the source gets none. Set the document title and author.
Never hand over an unchecked deck. Run all four, fix in the generator (Build) or the slide XML (Fill, Edit), and run them again:
python3 assets/pptx_check.py deck.pptx. Errors are files PowerPoint repairs or refuses even when LibreOffice opens them; fix every one. It also lists every text size in use and warns on text under the floor and on leftover placeholder text.python3 assets/pptx_tool.py text deck.pptx. Compare against the source: every headline verbatim (except obvious typos, which you fix and list at hand-over), slide order, no missing or invented figure, notes carried. Run the copy lint in ../creating-presentations/references/copy-lint.md over that text (title rules, banned characters, the deck mode's word budget), taking rendered title lines from the render.Two fix rounds by default, three at most; then report what is still open. Without LibreOffice or a container engine, deliver the file and say plainly that the layout was not render-checked.
Give the file path, the preset or template used and why, which charts (if any) went in as pictures instead of native charts, every typo fixed in the source text, and anything still open from Step 4. For a deck that must be flawless, offer a per-slide review by fresh subagents, one per slide, each given the source block and the render.
require('pptxgenjs') fails: install into the scratch prefix (Dependencies) and set NODE_PATH.pptx_check.py reports an error in a part the generator wrote: fix the generator option named in references/from-preset.md, "Traps", and rebuild; never patch the zipped file by hand.-env:UserInstallation=file:///tmp/lo-profile).designing-presentations writes the deck.md this skill builds from.creating-presentations builds an HTML deck instead, with a presenter view, when the user asks for HTML or a browser deck.exporting-presentations-to-pptx converts an existing HTML deck to PowerPoint; it shares this skill's Build reference.extracting-presets turns a client template into a preset, keeping the template for the Fill route.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pgoell/pgoell-claude-tools --plugin presentations6 skills in this plugin
/creating-presentationsUse when the user wants the deck as HTML (a browser deck, an .html file, a presenter view), styled from a brand preset and built from a deck.md, a settled storyline, or their content, or an HTML deck reviewed or polished. A deck with no format named is PowerPoint, see building-pptx-decks; a bare ask with nothing to build from goes to designing-presentations. For hand edits see editing-presentations; for a PowerPoint copy of an HTML deck, exporting-presentations-to-pptx./designing-presentationsUse when the user wants to design the content of a slide presentation, from audience brief to critiqued storyboard, before any slide renders. Produces a deck.md with per-slide front-matter. Triggers on a bare ask for a deck with no deck.md, settled storyline or content to build from, such as "I need a deck about our Q3 results", and on requests to plan a storyline, storyboard a deck, work out key messages, or audit a deck.md. Building it is building-pptx-decks or creating-presentations.Other plugins' skills for the same job
/editing-presentationsUse when the user wants to change an existing HTML deck by hand in the browser, or point at slide elements instead of describing them. Starts a local deck editor and reads what the user selected there. Triggers on "open the deck editor", "I selected something, fix it", or pasted deck editor feedback. For building a deck or reviewing it to done, see the creating-presentations skill.