home / skills / feiwanghub / playground / pptx-skill

pptx-skill skill

/skills/.trae/skills/pptx-skill

This skill generates PowerPoint slides from markdown or text, applying basic formatting to streamline presentation creation.

npx playbooks add skill feiwanghub/playground --skill pptx-skill

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
525 B
---
name: pptx-skill
description: "Generate PowerPoint presentations from markdown or text descriptions using python-pptx."
---

# PowerPoint Generation Skill

This skill allows you to generate PowerPoint (.pptx) presentations programmatically.

## Capabilities

- Create slides from markdown content
- Generate presentations from structured text
- Apply basic formatting and layouts

## Usage

Generate a presentation:

```bash
python3 .shared/pptx-skill/scripts/generate_pptx.py "presentation_content.md" "output.pptx"
```

Overview

This skill generates PowerPoint (.pptx) presentations programmatically from markdown or plain text descriptions using python-pptx. It converts headings, lists, and paragraphs into slides and applies basic layouts and formatting. The output is a ready-to-use .pptx file that can be edited in PowerPoint or other compatible editors.

How this skill works

You provide markdown files or structured text and the tool parses headings to create slide titles and slide bodies. It maps lists and paragraphs to bullet points and content placeholders, selects simple layouts, and uses python-pptx to assemble the presentation. A command-line script accepts an input content file and an output .pptx path to generate the final file.

When to use it

  • Turn meeting notes or markdown docs into slide decks quickly.
  • Automate report or status update presentation creation.
  • Generate training or tutorial slides from structured outlines.
  • Create draft presentations for rapid review and iteration.
  • Bulk-produce slides from similar templates or repeated content.

Best practices

  • Use clear markdown headings for slide breaks (H1/H2 as slide titles).
  • Keep slide content concise—short paragraphs and bullet lists convert best.
  • Include explicit list items for bullet points rather than long prose.
  • Preview the generated .pptx and adjust layout or styling manually if needed.
  • Test with a small file first to confirm mapping rules and layout choices.

Example use cases

  • Convert a product launch markdown doc into a presentation for stakeholders.
  • Generate weekly sprint reports into slides for team demos.
  • Create onboarding or training slide decks from curriculum outlines.
  • Produce consistent investor update decks from structured notes.
  • Automate creation of conference abstracts into slide templates.

FAQ

What input formats are supported?

The skill accepts markdown and plain text outlines that use headings and lists to denote slides and bullets.

Can I customize styles and layouts?

Yes. The generated file uses basic layouts; you can edit themes, fonts, and slide masters in PowerPoint or modify the generation script to apply custom styles.