pptx-deck-building
Use when building or editing a medical presentation as an editable PowerPoint (.pptx), especially inside a hospital, university or congress template, after…
by drtranquanghung91-vn★ 24 GitHub stars
Install pptx-deck-building in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
PPTX deck building
Before you start
This skill is stage 6 of grand-rounds:medical-deck. Work only inside a talk folder whose
STATUS.md marks the Plan as done, approved and which has evidence/claims.json. If
either is missing, stop and call the Skill tool with grand-rounds:medical-deck instead: it
runs the interview, the plan and the evidence first. This holds for a new deck from a
one-line request too.
Overview
The user chose PowerPoint because someone will edit the deck after you. Every element should therefore be native and editable. Text sits in text boxes, diagrams are shapes and connectors, charts are PowerPoint charts, and pictures are used only for figures lifted from papers and for illustrations. When there is a template, the deck lives inside it: same masters, backgrounds and layouts.
Procedure
Write
<talk>/build/deck.jsonfollowingspec.md. Map each row ofplan.mdto a slide type:Plan visual Spec type Trial schema, CONSORT, timeline, algorithm diagram(native shapes)Bar, column, line comparisons chart(native chart)Lifted KM curve, forest plot, illustration figureorfigure-text(PNG at 300 dpi)One to three headline numbers big-numberRecommendations, criteria tableTitles are the plan's assertions. Numbers come from
claims.json. Presenter cues go innotesand never into slide text.Template: set
"template"to the user's file, and set"layouts"to the layout names fromtheme/scan.json. Don't redraw the header bar or logo: the master has them. Without a template, set"theme"fromtheme/theme.json.Build:
python scripts/pptx_from_spec.py <talk>/build/deck.json <talk>/out/<name>.pptxCheck and render:
python scripts/check_pptx.py <talk>/out/<name>.pptx --render <talk>/build/renderFix every
off-slide,may-overflowandtiny-textissue in the spec (fewer words, or split the slide), rebuild, and re-check. Then look at every PNG. The overflow check is an estimate; the render is the truth. LibreOffice renders can differ from PowerPoint in font metrics; when PowerPoint is available, its export wins.When the spec's slide types can't express a slide (an unusual layout from the template), open the built file with python-pptx, or edit the OOXML. If an Anthropic
pptxskill is installed, follow its guidance for that. Keep the edited slides editable.
Floors
Body text 18 pt or larger (20–24 preferred); figure labels and tables 14 pt; footer and source credit 10–12 pt. 0.5 in margins. If a slide needs smaller text to fit, the slide holds too much: split it.
Common mistakes
| Mistake | Fix |
|---|---|
| A whole slide pasted as one picture | Native text and shapes; pictures only for figures |
| A trial schema drawn as a bullet list | diagram type |
| Template's sample slides left in the deck | The builder removes them; check the slide count |
| Text boxes overflowing into the template footer | Raise footer_reserve_in or cut text |
| SVG inserted directly | python-pptx can't; use PNG (svg_to_png.py) or native shapes |
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- agents/openai.yaml
- scripts/check_pptx.py
- scripts/pptx_from_spec.py
- scripts/svg_to_png.py
- spec.md
FAQ
What does the pptx-deck-building skill do?
Use when building or editing a medical presentation as an editable PowerPoint (.pptx), especially inside a hospital, university or congress template, after the plan is approved and claims and figures exist; or when a generated .pptx has overflowing text, off-slide shapes or missing notes.
How do I install the pptx-deck-building skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pptx-deck-building skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…