ppt-agent
Verified专业 PPT 演示文稿全流程 AI 生成助手。模拟顶级 PPT 设计公司的完整工作流(需求调研 -> 资料搜集 -> 大纲策划 -> 策划稿 -> 设计稿),输出高质量 HTML 格式演示文稿。当用户提到制作 PPT、做演示文稿、做 slides、做幻灯片、做汇报材料、做培训课件、做路演 deck、做产品介绍页面时触发此技能。即使用户只说"帮我做个关于 X 的介绍"或"我要给老板汇报 Y",只要暗示需要结构化的多页演示内容,都应该触发。也适用于用户说"帮我把这篇文档做成 PPT"、"把这个主题做成演示"等需要将内容转化为演示格式的场景。
references/README.md
View on GitHub# References 索引
SKILL.md 的 6 步流程在各步按需读取这里的文件。枚举值、图表注册表等"机器要认"的定义以 `scripts/contracts.py` 为准,这里的文档负责解释怎么用。
## 目录
```
references/
prompts.md 5 套 Prompt 模板(调研 / 大纲 / 策划 / 设计 / 演讲备注)
method.md 核心方法论
bento-grid.md 画布参数、7 种布局、6 种基础卡片
typography.md 排版铁律 14 条
pipeline-compat.md 哪些 CSS 保持矢量、哪些转图层、哪些会丢
strict-mode.md 可选的脚本校验:规则、可选字段、图审清单
styles/ 26 种预置风格(index.md + 5 个板块文件)
charts/ 18 种图表(index.md + basic / advanced / complex)
layouts/ 10 种版式的重力结构与禁忌
blocks/ 7 种组件原型 + card-styles.md
page-templates/ cover / toc / section / end
principles/ 6 条设计原则 + failure-modes.md
design-runtime/ css-weapons / data-type-visual-mapping
```
## 各步读什么
| 步骤 | 必读 | 按需 |
|------|------|------|
| Step 1 需求调研 | `prompts.md` #1 | |
| Step 3 大纲 | `prompts.md` #2 | `principles/narrative-arc.md` |
| Step 4 策划稿 | `prompts.md` #3、`bento-grid.md` | `charts/index.md`、`design-runtime/data-type-visual-mapping.md`、`principles/cognitive-load.md` |
| Step 5a 风格 | `styles/index.md`、选中的板块文件 | `principles/color-psychology.md` |
| Step 5c 设计稿 | `prompts.md` #4、`typography.md`、`pipeline-compat.md` | 资源路由取到的 `layouts/` `blocks/` `page-templates/` `charts/`;`design-runtime/css-weapons.md` |
| 自检 | `principles/failure-modes.md` | `strict-mode.md` |
## 资源路由
`scripts/resource_loader.py` 按策划稿字段取文件:
| 策划稿字段 | 取自 |
|-----------|------|
| `layout_hint` | `layouts/<版式>.md` |
| `page_type` | `page-templates/<类型>.md` |
| `card_type` | `blocks/<组件>.md`(基础卡片在 `bento-grid.md`) |
| `chart_type` | `charts/{basic,advanced,complex}.md` 的对应小节 |
| `card_style` | `blocks/card-styles.md` |
```bash
python3 scripts/resource_loader.py menu # 全部可选项
python3 scripts/resource_loader.py resolve --planning ppt-output/planning.json --page 3
```
## 资源文件的格式约定
`layouts/`、`blocks/`、`page-templates/` 下的每个文件:第一个 `# 标题`,紧跟一段 `> 引用块`(适用数据、卡片数、禁忌——`menu` 只显示它的第一行),之后是正文(`resolve` 输出标题与正文)。新增文件放进对应目录即可被 `menu` 发现;新增版式、卡片类型或图表还要在 `scripts/contracts.py` 登记。
## 维护
```bash
python3 scripts/smoke_test.py # 含 docs 套件:检查文档里引用的路径是否都存在
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |