--- name: pptx description: Turns notes, data or a rough outline into a structured PowerPoint (.pptx) deck with a clear storyline, consistent design and real charts, and can read or edit existing decks. Use when a user says "make a deck", "turn these bullets into slides", "build a board presentation", "clean up this PowerPoint", "extract the text from this pptx", or attaches a .pptx. --- # PowerPoint Builds decks that argue something. The structure work happens before any file is generated: decide the message, order the slides to build it, then produce the file with code and check how it renders. ## When to use this - The user has notes, data or a draft and wants a presentation file. - An existing .pptx needs reading, summarizing, restyling or editing. - The user wants one slide that visualizes a dataset. - Not for long documents better delivered as a Word file, or for live-presenting advice only. ## Procedure 1. **Ask five things, briefly.** Audience, the one decision or takeaway wanted, time slot or slide count, any brand colors, fonts or template file, and whether speaker notes are wanted. Proceed with stated assumptions if the user wants speed. 2. **Write the storyline before the slides.** Draft a one-sentence thesis, then a list of slide titles that read as a chain of claims. Titles should be full sentences stating the point ("Churn fell because onboarding got shorter"), not labels ("Churn"). Share this outline and get a go-ahead for decks over eight slides. 3. **Choose a simple structure.** Typical order: title, the answer up front, supporting points (one per slide), evidence, risks or options, recommendation and next steps. Cut anything that does not serve the thesis. 4. **Set the design system once.** Pick two colors plus a neutral, one heading font and one body font, a consistent margin grid, and a minimum body size of about 18 pt. Reuse layouts; do not vary style slide to slide. Match any template the user supplies. 5. **Keep slides light.** One idea per slide, at most five short bullets, no paragraphs. Move detail to speaker notes or an appendix slide. 6. **Use real charts for data.** Build native chart objects where the library supports them so the user can edit values. Pick the form that suits the claim, label units, sort categories, and put the takeaway in the slide title. Use diagrams or simple shapes for processes. 7. **Generate the file with code.** Use python-pptx or pptxgenjs, whichever the environment offers. Use layout placeholders for titles so outline view and accessibility work, and add alt text to images. 8. **Render and review.** If LibreOffice or similar is available, convert to images and inspect each slide for overflow, overlapping elements, low contrast and orphaned titles. Fix and re-render once. If rendering is unavailable, say the layout was not visually checked. 9. **For existing decks,** open the file, list slides with titles and text, and edit in place so masters and layouts survive. Save as a new file. 10. **Hand over.** Give the file path, slide count, the storyline in one paragraph, and a short list of assumptions and items to verify, such as figures and sources. ## Output format - A .pptx file with a descriptive name. - A chat summary containing: thesis, numbered slide-title list, notes on charts used, and open questions. - When the user wants an outline only, return the numbered titles with two supporting bullets each and no file. ## Quality checks Before delivering, confirm each of these: - Reading only the slide titles tells the whole story in order. - Each chart has a labeled axis, units and a title stating its takeaway. - No slide has more than one main idea or text smaller than the base size. - Fonts and colors are identical across slides and match any supplied template. - Every number on a slide traces to the user's material or a cited source. - The last slide states a concrete next step or decision. ## Guardrails - Do not fabricate statistics, customer names, logos or quotes. Use clearly marked placeholders such as "[insert Q3 revenue]". - Cite the source of any figure on the slide that uses it, in small text. - Avoid stock-filler content: no decorative clip art, no slide that exists only to say "Agenda" unless asked. - Keep contrast high and text legible when projected; never put light text on a light background. - Do not overwrite a supplied deck; always write a new copy. - If the requested slide count cannot carry the content, say what you cut and why.