pptx

Performs CRUD-style operations on .pptx filesUTE, including editing and formatting, within a unified TypeScript/JavaScript and Python framework.

Updated Aug 1, 2024
One-click install
npx skills add https://github.com/skkarki/Sanam --skill pptx-skkarki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/skkarki/Sanam/tree/main/skills/pptx
Command: npx skills add https://github.com/skkarki/Sanam --skill pptx-skkarki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, sharp, pptxgenjs, Pillow, python-pptx, defusedxml, six, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines creating, editing, and analyzing PowerPoint presentations (.pptx), reducing repetitive manual work and ensuring consistent slide design.

Core Features & Use Cases

  • Generate new decks from templates or HTML inputs and enforce consistent slide structure.
  • Edit existing slides, extract and reformat content while preserving styling, and manage layouts.
  • Analyze presentations for typography, layout, and accessibility; perform content replacements via inventory-driven workflows.

Quick Start

Create a new presentation from HTML, then save with pptx.writeFile, or update an existing PPTX using replacement scripts to inject content.

Frequently Asked Questions about pptx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert HTML to PPTX slides automatically?

To convert HTML to PPTX, this skill uses Node-based tooling including pptxgenjs, Playwright, and sharp. It renders HTML content and generates a formatted PowerPoint presentation deck directly.

Can I edit existing PowerPoint slides while preserving the original formatting?

Yes, you can edit existing PowerPoint slides while preserving the original formatting. The skill uses python-pptx and defusedxml to modify content, extract text, and manage layouts without breaking existing styling.

Do I need Python and Node.js environments to automate PowerPoint creation?

Yes, automating PowerPoint creation requires both Python and Node.js environments. The skill uses Python tooling like python-pptx and Pillow for analysis, alongside Node-based tooling for HTML-to-PPTX conversion and manipulation.

What is the best way to perform inventory-driven content replacements across a pptx file?

The best way to perform inventory-driven content replacements in a pptx file is using this skill's replacement scripts. It analyzes your presentation structure and injects new content systematically via python-pptx.

How does this approach analyze PowerPoint presentations for typography and layout?

This approach analyzes PowerPoint presentations for typography and layout by parsing the OOXML structure. It inspects slide elements using python-pptx and Pillow to evaluate accessibility and design consistency.