# Generating Slide Decks

> Creates PowerPoint presentations (.pptx) — pitch decks, board updates, summaries as slides. Use when the user asks for a deck, slides, or presentation.

- Skill: `aaravriyer193/generating-slide-decks` (Agent Skill)
- Install (CLI): `npx skillmds@latest add aaravriyer193/generating-slide-decks`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aaravriyer193/generating-slide-decks/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: aaravriyer193 (https://skillmd.com/u/aaravriyer193)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/aaravriyer193/generating-slide-decks

---


# Generating slide decks

Never hand-write .pptx — build it with python-pptx.

```bash
pip install python-pptx
```

```python
from pptx import Presentation
from pptx.util import Inches

prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[1])  # title + content
slide.shapes.title.text = "Q3 Results"
slide.placeholders[1].text_frame.text = "Revenue up 18% QoQ"

# bare content slide
blank = prs.slides.add_slide(prs.slide_layouts[6])
box = blank.shapes.add_textbox(Inches(0.5), Inches(0.5), Inches(9), Inches(1))
box.text_frame.text = "Custom layout"

prs.save("/home/user/deck.pptx")
```

Keep to 1 idea per slide, a real title on every slide, and don't cram paragraphs into a placeholder — bullet points, short. For a chart on a slide, generate it as a PNG first (see visualizing-data) and place it with `slide.shapes.add_picture(path, Inches(1), Inches(2), width=Inches(6))` rather than building a native pptx chart object.

Write the build script with write_file, run it with shell, then present_file the .pptx.

