home / skills / feiwanghub / playground / pptx-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-skillReview the files below or copy the command above to add this skill to your agents.
---
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"
```
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.
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.
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.