Skip to content

aipoch/open-science / resources/skills/pptx-generation

pptx-generation

Verified

Use 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.

FileKindSize
README.mdmarkdown1.2 KB
SKILL.mdskill md14.1 KB
kernel.pyscript13.5 KB
open-science.jsonconfig359 B
# 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.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall