// Create PowerPoint presentations from markdown documents. Use this skill when users need to transform strategy documents, PRDs, or analysis into professional slide decks for stakeholder presentations.
| name | pptx |
| description | Create PowerPoint presentations from markdown documents. Use this skill when users need to transform strategy documents, PRDs, or analysis into professional slide decks for stakeholder presentations. |
You can create professional PowerPoint presentations (.pptx files) from markdown documents. This skill is designed to help Product Managers transform their written work into executive-ready slide decks.
Use this skill when users need to:
When creating a presentation, follow this workflow:
Read the markdown document and identify:
Plan the presentation structure:
Use Python with the python-pptx library to generate the .pptx file:
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.enum.text import PP_ALIGN
# Create presentation object
prs = Presentation()
prs.slide_width = Inches(10)
prs.slide_height = Inches(7.5)
# Define reusable layouts
def add_title_slide(prs, title, subtitle):
slide = prs.slides.add_slide(prs.slide_layouts[0]) # Title layout
slide.shapes.title.text = title
slide.placeholders[1].text = subtitle
return slide
def add_content_slide(prs, title, content_items):
slide = prs.slides.add_slide(prs.slide_layouts[1]) # Title and Content layout
slide.shapes.title.text = title
# Add content as bullet points
body = slide.placeholders[1].text_frame
for item in content_items:
p = body.add_paragraph()
p.text = item
p.level = 0
return slide
def add_section_slide(prs, section_title):
slide = prs.slides.add_slide(prs.slide_layouts[2]) # Section header layout
slide.shapes.title.text = section_title
return slide
# Example: Create slides
add_title_slide(prs, "Strategy Title", "Presentation Date")
add_section_slide(prs, "Section 1: Diagnosis")
add_content_slide(prs, "Key Findings", [
"Finding 1: Description here",
"Finding 2: Description here",
"Finding 3: Description here"
])
# Save presentation
prs.save('output.pptx')
Apply professional formatting:
Typography:
Layout:
Content Principles:
Special Slide Types:
Strategy Slides:
Roadmap Slides:
Metrics Slides:
After creating the presentation:
This skill requires the python-pptx library. If not installed, guide the user to install it:
pip install python-pptx
User request: "Create a slide deck from my strategy document"
Your workflow: