universal-pptx-generator

Generate styled PowerPoint decks from analyzed PPTX templates using pptxgenjs.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/ajaxhe/universal-pptx-generator-skill --skill universal-pptx-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: universal-pptx-generator
Source: https://github.com/ajaxhe/universal-pptx-generator-skill/tree/main
Command: npx skills add https://github.com/ajaxhe/universal-pptx-generator-skill --skill universal-pptx-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

在需要基于任意 PPT 模板快速产出风格统一的演示文稿时,手动排版成本高且容易出错。本技能能够自动分析模板结构、提取背景图/背景色、解析配色方案与字体规范,并据此结合提供的图文素材生成完整幻灯片演示文稿。

Core Features & Use Cases

  • 模板分析:自动解析 PPTX 模板结构、配色、字体、背景图/背景色、对齐方式。
  • 分页面类型分析:针对封面、目录、章节、内容、结束页分别提取背景和样式。
  • 素材处理:从 DOCX/PDF/图片等素材中提取内容。
  • 智能排版:根据模板风格自动排版生成内容。
  • 图表展示:支持柱状图、折线图、饼图、雷达图等多种数据可视化图表。
  • 批量生成:支持生成多页完整演示文稿。

Quick Start

将 SKILL.md 中描述的模板与素材上传到 CodeBuddy,并激活通用 PPTX 生成技能,以生成与模板风格完全一致的幻灯片。

Frequently Asked Questions about universal-pptx-generator

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

FAQPage Schema
How do I generate a presentation from an existing PPTX template automatically?

To generate a presentation from a PPTX template automatically, this skill analyzes the template's structure, extracts backgrounds, color schemes, fonts, and alignment, then integrates your text and media to produce a unified slide deck. It handles per-slide parameter extraction for precise layout replication.

Can I render dynamic charts like bar and pie charts when generating pptx slides?

Yes, you can render dynamic charts when generating pptx slides. This skill supports data visualization across multiple pages, including bar, line, pie, and radar charts, by utilizing pptxgenjs to populate and render the charts within the unified presentation.

How do I extract content from DOCX, PDF, and images for automated slide generation?

To extract content from DOCX, PDF, and images for automated slide generation, this skill processes the uploaded source materials to extract text and media. The extracted content is then intelligently typeset and mapped to the analyzed template's layout and style parameters.

Does pptxgenjs support replicating complex template backgrounds and alignment for multiple page types?

Yes, pptxgenjs supports replicating template backgrounds and alignment for multiple page types. The skill performs per-slide type analysis for covers, directories, chapters, and content pages, automatically extracting and applying the specific background images, colors, and alignment rules.

What is the best way to extract color and font mappings from a PPTX file for layout replication?

The best way to extract color and font mappings from a PPTX file for layout replication is through template analysis. This skill automatically parses the template structure to identify exact font sizes, colors, and alignment, ensuring the generated slides match the original design precisely.

Why does my automatically generated presentation not match the original template style?

If your generated presentation does not match the template style, it may be due to incomplete template analysis. This skill prevents this by performing per-slide parameter extraction, automatically mapping background colors, fonts, and alignment to ensure precise layout replication across all pages.