Use this skill when the user wants a ready-to-run Python script that creates a PowerPoint presentation with python-pptx.
It focuses on turning a topic brief into a complete slide deck script with real slide content, sensible structure, and a working save step.
.pptx file automaticallypython-pptx
Ask for the topic, audience, tone, and target number of slides if the request does not already include them. If constraints are missing, pick conservative defaults and state them in the generated script comments.
Outline the deck before writing code:
Keep the slide count realistic for the requested audience and avoid filler slides.
Write a complete script that:
Presentation from python-pptx
The final answer should be a Python code block that can run after installing python-pptx.
Avoid pseudocode, placeholders, or missing imports.
User: Create a 5-slide presentation on the basics of machine learning for a high school class.
Output: A complete Python script that creates a title slide, overview, core concepts, examples, and recap.
User: Generate a 7-slide deck for sales leadership on Q2 pipeline risks and mitigation options.
Output: A python-pptx script with executive-friendly slide titles, concise bullets, and a final recommendations slide.
python-pptx layouts unless the user asks for custom positioningoutput.pptx
python-pptx capabilitiespython-pptx only in an environment you control, for example a local virtual environmentProblem: The generated script uses placeholder text instead of real content
Solution: Draft the narrative first, then turn each slide into specific titles and bullets
Problem: The deck uses too many slides for the requested audience
Solution: Compress the outline to the most important 4 to 8 slides unless the user explicitly wants a longer deck
Problem: The script forgets to save or print a completion message
Solution: Always end with prs.save(...) and a short success print
@pptx-official - Use when the task is about inspecting or editing existing PowerPoint files@docx-official - Use when the requested output should be a document instead of a slide deck