aipoch/open-science / resources/skills/pptx-generation
pptx-generation
VerifiedUse when creating a PowerPoint .pptx slide deck or presentation, turning analysis results, figures, or a literature review into slides, or reading, editing, or filling a template for an existing .pptx/.potx. Covers python-pptx in the Notebook, slide design rules, native charts, speaker notes, CJK fonts, layout QA without an Office engine, preview limits, and Artifact delivery.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 1.2 KB |
| SKILL.md | skill md | 14.1 KB |
| kernel.py | script | 13.5 KB |
| open-science.json | config | 359 B |
README.md
View on GitHub# PPTX generation skill
On-demand skill for creating and editing PowerPoint decks with python-pptx in the
Open Science Notebook.
## Execution boundary
Run-time code is in `kernel.py`, registered in `open-science.json` and injected
with `kernelSkillIds: ["pptx-generation"]`. Third-party imports are lazy, so
injection succeeds before python-pptx is installed with `manage_packages`.
No Office engine is bundled. `render_pptx_pages` uses a user-installed
LibreOffice when one exists and otherwise reports `available: False`;
`lint_pptx` provides layout QA without a renderer.
## Attribution
Design guidance, template-filling rules, and the QA checklist are adapted from the
`pptx` skill in [anthropics/skills](https://github.com/anthropics/skills)
(Apache-2.0). Changes: python-pptx instead of pptxgenjs, Open Science execution,
preview limits, and Artifact delivery, programmatic layout lint, CJK font helper.
## Validation
```sh
python3 -m unittest discover -s test/pptx-generation -v
npx vitest run src/main/skills/pptx-generation.test.ts
```
The Python suite skips when python-pptx or Pillow is missing from the test
interpreter; set `OPEN_SCIENCE_TEST_PYTHON` to one that has them.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |