SkillsGrove
SkillsGrove/문서 작업/drtranquanghung91-vn/grand-rounds/pptx-deck-building

pptx-deck-building

설치

$npx skills add https://github.com/drtranquanghung91-vn/grand-rounds --skill pptx-deck-building
$git clone --depth 1 https://github.com/drtranquanghung91-vn/grand-rounds.git /tmp/grand-rounds && mkdir -p ~/.claude/skills && cp -r /tmp/grand-rounds/skills/pptx-deck-building ~/.claude/skills/pptx-deck-building
이 Agent Skill을 설치해 주세요: https://github.com/drtranquanghung91-vn/grand-rounds/tree/91df8f3c6cf86b4d593dc64266272343fdf60290/skills/pptx-deck-building — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITUse 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.
아래 SKILL.md는 drtranquanghung91-vn/grand-rounds(커밋 91df8f3)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Trần Quang Hưng. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

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 visual Spec type
    Trial schema, CONSORT, timeline, algorithm diagram (native shapes)
    Bar, column, line comparisons chart (native chart)
    Lifted KM curve, forest plot, illustration figure or figure-text (PNG at 300 dpi)
    One to three headline numbers big-number
    Recommendations, criteria table

    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

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
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Trần Quang Hưng

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
NOTICE 보기
# Third-party material

The MIT licence in `LICENSE` covers this repository's code and text. These files are under
their own licences:

| Files | Source | Licence |
|-------|--------|---------|
| `examples/fictional-trial/figures/icons/t-lymphocyte.svg`, `cancerous-cell-1.svg` and the copies inlined in `figures/s02-checkpoint.svg`, `out/nova1-journal-club.html`, `skills/medical-figures/examples/checkpoint-blockade.html` and `assets/screenshots/mechanism.*` | Servier Medical Art via Bioicons (https://bioicons.com) | [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/) |
| `examples/fictional-trial/figures/icons/immuneglobuline_igG_blue.svg` and its inlined copies (same files as above) | Helicase_11 via Bioicons | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |
| `examples/heart-anatomy/figures/servier/*`, the illustrations embedded in `examples/heart-anatomy/figures/four-chambers.labelled.svg` and `examples/heart-anatomy/out/heart-anatomy.html`, and the heart frames in `assets/screenshots/` | Servier Medical Art (https://smart.servier.com), exported from the "Heart physiology" kit; labels added | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) |

`examples/heart-anatomy/figures/ai/heart-chatgpt.jpg` was generated with ChatGPT (OpenAI) by
the repository author and is released under MIT with the rest of the repository.