AI Agent Hub
Back to skills
PPTX Generator & Editor icon

PPTX Generator & Editor

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md and install @user_97aae37f/pptshengcheng.

About this skill

Problem

Generating presentations with LLMs often produces inconsistent layouts, mixed typography, missing page badges, and uneven color usage. This skill treats PPTX as a structured artifact with three paths: content extraction, template editing, and from-scratch generation, rather than asking the model to emit slide text directly.

How it works

  • Reading and analysis: existing .pptx files are parsed with markitdown[pptx], making it easier to inspect content and target specific slides.
  • From-scratch generation: slides follow a fixed LAYOUT_16x9 canvas (10" x 5.625"), with Arial / Microsoft YaHei typography, six-character hex colors, a required page badge position, and a strict theme object using primary, secondary, accent, light, and bg.
  • Per-slide JS modules: each slide is a slides/slide-XX.js file that exports a synchronous createSlide(pres, theme) function; a compile.js step combines the modules into the final deck. This structure supports parallel generation and localized edits.
  • Design constraints: every slide must map to a type such as cover, table of contents, section divider, content, or summary, using the provided style recipes and layout guidance to reduce visual repetition.

Boundaries

The skill fits structured decks with clear requirements, pageable content, and a predefined visual tone. It is not a replacement for complex animations, master-template inheritance, brand compliance review, or PowerPoint-specific interactivity. Confirm audience, page count, chart type, and theme before generation, and review the final file for content accuracy and formatting consistency.

Use Cases

  • Extract text from an existing project review PPTX and organize it into a cover, TOC, and content-page revision list.
  • When no template exists, build a 16:9 deck page by page with fixed theme colors and fonts using PptxGenJS.
  • Update a templated deck at the XML level by replacing titles, body text, and palette while keeping page badges.
  • Generate product slides with TOC, section dividers, content pages, and summary pages to avoid repeated layouts.

Best For

  • Product managers who need to turn multiple project inputs into one consistently styled review deck.
  • Engineers who need to generate 16:9 English or Chinese slides with controlled fonts, colors, and page badges.
  • Operations staff who need to update titles, body text, and badge positions in a templated PPTX.
  • Consultants who need fixed cover, TOC, content, and summary layouts for client presentations.