agentleFS
drtranquanghung91-vndrtranquanghung91-vn/grand-rounds/skills/pptx-deck-building/SKILL.md

pptx-deck-building

Skill19 starsChanged 15 days agoMITView on GitHub

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.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write <talk>/build/deck.json following spec.md.

    line 26
  2. Very specific:

    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 …

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Write <talk>/build/deck.json following spec.md. Map each row of plan.md to a slide type:

    Plan visualSpec type
    Trial schema, CONSORT, timeline, algorithmdiagram (native shapes)
    Bar, column, line comparisonschart (native chart)
    Lifted KM curve, forest plot, illustrationfigure or figure-text (PNG at 300 dpi)
    One to three headline numbersbig-number
    Recommendations, criteriatable

    Titles are the plan's assertions. Numbers come from claims.json. Presenter cues go in notes and never into slide text.

  2. Template: set "template" to the user's file, and set "layouts" to the layout names from theme/scan.json. Don't redraw the header bar or logo: the master has them. Without a template, set "theme" from theme/theme.json.
  3. Build:

    python scripts/pptx_from_spec.py <talk>/build/deck.json <talk>/out/<name>.pptx
  4. Check and render:

    python scripts/check_pptx.py <talk>/out/<name>.pptx --render <talk>/build/render

    Fix every off-slide, may-overflow and tiny-text issue 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.

  5. 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 pptx skill 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

MistakeFix
A whole slide pasted as one pictureNative text and shapes; pictures only for figures
A trial schema drawn as a bullet listdiagram type
Template's sample slides left in the deckThe builder removes them; check the slide count
Text boxes overflowing into the template footerRaise footer_reserve_in or cut text
SVG inserted directlypython-pptx can't; use PNG (svg_to_png.py) or native shapes

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.