Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tugoukezhang-pptx-generator
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: presentations, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
pptx-generator- Description
- Generate, edit, and read PowerPoint presentations. Create from scratch with PptxGenJS (cover, TOC, content, section divider, summary slides), edit existing PPTX via XML workflows, or extract text with markitdown. Triggers: PPT, PPTX, PowerPoint, presentation, slide, deck, slides.
- License
- MIT
- Metadata
- version: 1.0 · category: productivity
- Instructions
- 239 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "pptx-generator" does not match folder "PPT 演示文稿"
Files (7)
- SKILL.md
- _skillhub_meta.json
- design-system.md · references/
- editing.md · references/
- pitfalls.md · references/
- pptxgenjs.md · references/
- slide-types.md · references/
SKILL.md (first lines)
# PPTX Generator & Editor
## Overview
This skill handles all PowerPoint tasks: reading/analyzing existing presentations, editing template-based decks via XML manipulation, and creating presentations from scratch using PptxGenJS. It includes a complete design system (color palettes, fonts, style recipes) and detailed guidance for every slide type.
## Quick Reference
| Task | Approach |
|------|----------|
| Read/analyze content | `python -m markitdown presentation.pptx` |
| Edit or create from template | See [Editing Presentations](references/editing.md) |
| Create from scratch | See [Creating from Scratch](#creating-from-scratch-workflow) below |
| Item | Value |
|------|-------|
| **Dimensions** | 10" x 5.625" (LAYOUT_16x9) |
| **Colors** | 6-char hex without # (e.g., `"FF0000"`) |
| **English font** | Arial (default), or approved alternatives |
| **Chinese font** | Microsoft YaHei |
| **Page badge position** | x: 9.3", y: 5.1" |
| **Theme keys** | `primary`, `secondary`, `accent`, `light`, `bg` |
| **Shapes** | RECTANGLE, OVAL, LINE, ROUNDED_RECTANGLE |
| **Charts** | BAR, LINE, PIE, DOUGHNUT, SCATTER, BUBBLE, RADAR |
## Reference Files
| File | Contents |
|------|----------|
| [slide-types.md](references/slide-types.md) | 5 slide page types (Cover, TOC, Section Divider, Content, Summary) + additional layout patterns |
| [design-system.md](references/design-system.md) | Color palettes, font reference, style recipes (Sharp/Soft/Rounded/Pill), typography & spacing |
| [editing.md](references/editing.md) | Template-based editing workflow, XML manipulation, formatting rules, common pitfalls |
| [pitfalls.md](references/pitfalls.md) | QA process, common mistakes, critical PptxGenJS pitfalls |
| [pptxgenjs.md](references/pptxgenjs.md) | Complete PptxGenJS API reference |
---
## Reading Content
```bash
# Text extraction
python -m markitdown presentation.pptx
```
---
## Creating from Scratch — Workflow
**Use when no template or reference presentation is available.**
### Step 1: Research & Requirements
Search to understand user requirements — topic, audience, purpose, tone, content depth.
### Step 2: Select Color Palette & Fonts
Use the [Color Palette Reference](references/design-system.md#color-palette-reference) to select a palette matching the topic and audience. Use the [Font Reference](references/design-system.md#font-reference) to choose a font pairing.
### Step 3: Select Design Style
Use the [Style Recipes](references/design-system.md#style-recipes) to choose a visual style (Sharp, Soft, Rounded, or Pill) matching the presentation tone.
### Step 4: Plan Slide Outline
Classify **every slide** as exactly one of the [5 page types](references/slide-types.md). Plan the content and layout for each slide. Ensure visual variety — do NOT repeat the same layout across slides.
### Step 5: Generate Slide JS Files
Create one JS file per slide in `slides/` directory. Each file must export a synchronous `createSlide(pres, theme)` function. Follow the [Slide Output Format](#slide-output-format) and the type-specific guidance in [slide-types.md](references/slide-types.md). Generate up to 5 slides concurrently using subagents if available.
**Tell each subagent:**
1. File naming: `slides/slide-01.js`, `slides/slide-02.js`, etc.
2. Images go in: `slides/imgs/`
3. Final PPTX goes in: `slides/output/`
4. Dimensions: 10" x 5.625" (LAYOUT_16x9)
5. Fonts: Chinese = Microsoft YaHei, English = Arial (or approved alternative)
6. Colors: 6-char hex without # (e.g. `"FF0000"`)
7. Must use the theme object contract (see [Theme Object Contract](#theme-object-contract))
8. Must follow the [PptxGenJS API reference](references/pptxgenjs.md)
### Step 6: Compile into Final PPTX
Create `slides/compile.js` to combine all slide modules:
```javascript
// slides/compile.js
const pptxgen = require('pptxgenjs');
const pres = new pptxgen();
pres.layout = 'LAYOUT_16x9';
const theme = {
primary: "22223b", // dark color for backgrounds/text
secondary: "4a4e69", // secondary accent
accent: "9a8c98", // highlight color
light: "c9ada7", // light accent
bg: "f2e9e4" // background color
};
for (let i = 1; i <= 12; i++) { // adjust count as needed
const num = String(i).padStart(2, '0');
const slideModule = require(`./slide-${num}.js`);
slideModule.createSlide(pres, theme);
}
pres.writeFile({ fileName: './output/presentation.pptx' });
```
Run with: `cd slides && node compile.js`
### Step 7: QA (Required)
See [QA Process](references/pitfalls.md#qa-process).
### Output Structure
```
slides/
├── slide-01.js # Slide modules
├── slide-02.jsFrom Tugoukezhang/workbuddy-skills, MIT.
More from Tugoukezhang/workbuddy-skills
- 0.551score
cos-vectors
Tugoukezhang
Manage Tencent Cloud COS vector buckets via cos-python-sdk-v5 CosVectorsClient.
SkillCFreshness: C★ 17Claude Code +9 - 0.547score
tdesign-miniprogram
Tugoukezhang
TDesign WeChat Mini Program UI component library by Tencent.
SkillCFreshness: C★ 17Claude Code +9 - 0.543score
market-researcher
Tugoukezhang
Market research specialist focused on comprehensive market analysis, consumer behavior insights, and market opportunity identification.
SkillCFreshness: C★ 17Claude Code +9 - 0.543score
zenstudio
Tugoukezhang
ZenStudio 官方 AI 内容创作 CLI 工具 (zencli)。支持 AI 生图、AI 生视频、项目管理、资产库、媒资管理、无限画布、文件上传下载等。Use when user asks to generate images, generate videos, manage projects…
SkillCFreshness: C★ 17Claude Code +9 - 0.539score
cli-hub-meta-skill
Tugoukezhang
Discover agent-native CLIs for professional software.
SkillCFreshness: C★ 17Claude Code +9 - 0.533score
2d-games
Tugoukezhang
2D游戏开发 - 精灵系统、瓦片地图、物理、摄像机。适用于平台跳跃、俯视角、卷轴等2D游戏开发。
SkillCFreshness: C★ 17Claude Code +9 - 0.533score
web-games
Tugoukezhang
Web浏览器游戏开发 - 框架选择与浏览器特定原则,包括Phaser、PixiJS、WebGPU、优化、PWA。
SkillCFreshness: C★ 17Claude Code +9 - 0.521score
find-skills
Tugoukezhang
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillCFreshness: C★ 17Claude Code +9 - 0.518score
github
Tugoukezhang
Interact with GitHub using the `gh` CLI.
SkillCFreshness: C★ 17Claude Code +9
Signals
- Stars
- 17
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Jun 18, 2026 (4 months ago)
- Last release
- Jul 8, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- MIT
- Repository
- github.com/Tugoukezhang/workbuddy-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.682score
pptx-generator
MiniMax-AI
Generate, edit, and read PowerPoint presentations.
SkillDFreshness: D★ 13.7KClaude Code +9 - 0.348score
pptx-generator
laborany
Generate, edit, and read PowerPoint presentations.
SkillCFreshness: C★ 86Claude Code +9 - 0.340score
pptx-generator
lanyuanzhe1
Generate, edit, and read PowerPoint presentations.
SkillAFreshness: AClaude Code +9 - 0.306score
pptx-generator
bighardperson
Generate, edit, and read PowerPoint presentations.
SkillDFreshness: D★ 62Claude Code +9 - 0.297score
pptx-generator
modoro-digital
Generate, edit, and read PowerPoint presentations.
SkillCFreshness: C★ 1Claude Code +9 - 0.293score
pptx-generator
AlekseiUL
Generate, edit, and read PowerPoint presentations.
SkillDFreshness: D★ 17Claude Code +9 - 0.285score
pptx-generator
AlekseiUL
Generate, edit, and read PowerPoint presentations.
SkillDFreshness: D★ 9Claude Code +9 - 0.245score
pptx-generator
vibeeval
Generate, edit, and read PowerPoint presentations.
SkillDFreshness: D★ 540Claude Code +9
More from Tugoukezhang
- 0.551score
cos-vectors
Tugoukezhang
Manage Tencent Cloud COS vector buckets via cos-python-sdk-v5 CosVectorsClient.
SkillCFreshness: C★ 17Claude Code +9 - 0.547score
tdesign-miniprogram
Tugoukezhang
TDesign WeChat Mini Program UI component library by Tencent.
SkillCFreshness: C★ 17Claude Code +9 - 0.543score
market-researcher
Tugoukezhang
Market research specialist focused on comprehensive market analysis, consumer behavior insights, and market opportunity identification.
SkillCFreshness: C★ 17Claude Code +9 - 0.543score
zenstudio
Tugoukezhang
ZenStudio 官方 AI 内容创作 CLI 工具 (zencli)。支持 AI 生图、AI 生视频、项目管理、资产库、媒资管理、无限画布、文件上传下载等。Use when user asks to generate images, generate videos, manage projects…
SkillCFreshness: C★ 17Claude Code +9 - 0.539score
cli-hub-meta-skill
Tugoukezhang
Discover agent-native CLIs for professional software.
SkillCFreshness: C★ 17Claude Code +9 - 0.533score
2d-games
Tugoukezhang
2D游戏开发 - 精灵系统、瓦片地图、物理、摄像机。适用于平台跳跃、俯视角、卷轴等2D游戏开发。
SkillCFreshness: C★ 17Claude Code +9
Cite this page
pptx-generator skill. Agent Mart. https://agentmart.dev/skills/tugoukezhang-pptx-generator (last updated 2026-10-24)