An Agent Skill that generates real .pptx files — not HTML. Built on PptxGenJS with 9 pre-built design themes (5 magazine + 4 Swiss) and 32 layout templates with production-ready coordinates.
$ npx -y skills add billLiao/PPT-Design-Skill --agent claude-code
What's inside
An Agent Skill that generates real .pptx files — not HTML. Built on PptxGenJS with 9 pre-built design themes (5 magazine + 4 Swiss) and 32 layout templates with production-ready coordinates.

.pptx output — editable in PowerPoint / WPS / Keynote, no HTML intermediatex/y/w/h coordinatesnpx skills add billLiao/PPT-Design-Skill --skill ppt-design-skill
| Theme | Ink | Paper | Accent | Best for | Preview |
|---|---|---|---|---|---|
| Ink Classic 墨水经典 | 0a0a0b | f1efea | d4a574 | General default, business, editorial | PNG |
| Indigo Porcelain 靛蓝瓷 | 0a1f3d | f1f3f5 | 4a90a4 | Tech, research, data, AI launch | PNG |
| Forest Ink 森林墨 | 1a2e1f | f5f1e8 | 6b8e5a | Nature, culture, non-fiction | PNG |
| Kraft Paper 牛皮纸 | 2a1e13 | eedfc7 | b87333 | Humanities, nostalgia, literature | PNG |
| Dune 沙丘 | 1f1a14 | f0e6d2 | c4a265 | Art, design, creative, gallery | PNG |
| Theme | Ink | Paper | Accent | Best for | Preview |
|---|---|---|---|---|---|
| Klein Blue 克莱因蓝 | 1a1a1a | f5f5f5 | 002FA7 | Tech launch, data-driven decks | PNG |
| Lemon Yellow 柠檬黄 | 1a1a1a | f5f5f5 | FFD700 | Creative pitches, youthful brands | PNG |
| Lime Green 柠檬绿 | 1a1a1a | f5f5f5 | CCFF00 | Growth, energy, new tech | PNG |
| Safety Orange 安全橙 | 1a1a1a | f5f5f5 | FF5F00 | Calls to action, key alerts | PNG |
Rule of thumb: one theme per deck — never switch themes mid-deck. Colors are locked to the presets above; don't invent custom hex values.
Runnable demo scripts for three representative themes:
cd skills/ppt-design-skill/examples
npm install
node demo-dune.mjs # → demo-dune.pptx
node demo-magazine.mjs # → demo-magazine.pptx
node demo-swiss.mjs # → demo-swiss.pptx
| Document | Content |
|---|---|
| SKILL.md | Skill entry point: 规划 → 生成 → QA workflow |
| references/design-playbook.md | 设计决策手册: narrative arcs, page planning, theme rhythm, layout decision tree, adaptive rules, Chinese typography, density control |
| design-system.md | 9 themes + layout coordinate quick-reference + Office-safe font pairings |
| pptxgenjs.md | PptxGenJS API tutorial & corruption gotchas |
| editing.md | Editing existing .pptx files (unpack → edit → pack) |
| templates/layouts/ | Complete PptxGenJS layout code: 10 magazine + 22 Swiss (S01-S22) + analysis models (SWOT/PEST/canvas/double-diamond/positioning) |
| templates/components.md | Component cookbook (stat cards, callouts, icon rows, charts) |
| references/checklist.md | P0–P3 QA checklist (.pptx specific, with no-LibreOffice fallback) |
This repository contains materials derived from anthropics/skills (PPTX skill) — those parts remain © Anthropic, PBC under the included LICENSE.txt. Original design-system content (themes, layouts, components) is provided under the same terms for consistency.
一个 Agent Skill:直接生成可编辑的 .pptx 文件,而不是 HTML。基于 PptxGenJS,内置 9 套预置主题(5 套电子杂志风 + 4 套瑞士国际主义风)与 32 种页面版式模板(全部提供完整可运行代码)。
规划(叙事弧 + 页面规划表 + 明暗节奏) → 生成(版式代码 + 自适应规则) → QA(P0-P3 检查清单)
详见 设计决策手册。
npx skills add billLiao/PPT-Design-Skill --skill ppt-design-skill
对 Agent 说:「帮我做一份 PPT」「把这份大纲做成 .pptx」「用沙丘主题做演示稿」等。
使用原则:一份 deck 只用一套主题,色彩锁定预设值,不自定义 hex。
cd skills/ppt-design-skill/examples
npm install
node demo-dune.mjs # 生成 demo-dune.pptx
内置 P0–P3 视觉检查清单(文字溢出、元素重叠、主题一致性、字号下限等)、缩略图生成脚本与 OOXML schema 校验,详见 SKILL.md。
python3 docs/generate_previews.py # 需要 Pillow + 中文字体
FAQ
ppt-design-skill is a Claude Code plugin with 1 hand-picked skill for content work, indexed on Flowy. Install it with the command on its page. It includes ppt-design-skill. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it