ppt-agent
Verified专业 PPT 演示文稿全流程 AI 生成助手。模拟顶级 PPT 设计公司的完整工作流(需求调研 -> 资料搜集 -> 大纲策划 -> 策划稿 -> 设计稿),输出高质量 HTML 格式演示文稿。当用户提到制作 PPT、做演示文稿、做 slides、做幻灯片、做汇报材料、做培训课件、做路演 deck、做产品介绍页面时触发此技能。即使用户只说"帮我做个关于 X 的介绍"或"我要给老板汇报 Y",只要暗示需要结构化的多页演示内容,都应该触发。也适用于用户说"帮我把这篇文档做成 PPT"、"把这个主题做成演示"等需要将内容转化为演示格式的场景。
references/layouts/README.md
View on GitHub# 版式系统 -- PPTX 演讲空间设计语言
## 画布:你的舞台物理约束
```
固定画布: width=1280px, height=720px(16:9 投影比例)
标题区: 左上 40px 起,高度 50px(cover/section/end 页可自由处理,不受此约束)
内容区: 可用空间 1200x580px
```
> 这些是物理边界,不是设计边界。真正的 PPTX 设计应当让内容**与边界发生对话** -- 有时拥抱它,有时挑衅它,有时故意让元素与边界暧昧地擦身而过。
## 核心哲学:版式是重力场,不是牢笼
每个布局文件定义的是一种**视觉重力的分布倾向**,而非像素级的铁栅栏。
当你读到"主次结合(2fr : 1fr)"时,获取的信息应该是:
- "左侧区域有更强的视觉引力,右侧更轻"
- "信息的核心主体应该被吸引到左侧的引力场"
而**绝不应该是**:
- "左边 790px 放一个方块,右边 390px 放两个方块"
### 版式文件提供什么
每个版式文件描述的是:
1. **重力场哲学** -- 这种版式的视觉重力如何分布、信息如何流动
2. **灵魂表达** -- 多种完全不同的变体(同一版式可以呈现截然不同的视觉面貌)
3. **灵动构图指引** -- 如何在保持版式内核的前提下制造视觉惊喜
版式文件**不提供** HTML Grid 骨架代码。LLM 应基于重力场哲学自主构建 Grid 结构。
### card_style 让卡片"活"过来
骨架只管空间分布,card_style 决定每张卡片的存在感(详见 `blocks/card-styles.md`)。**每页至少 2 种 card_style** -- 这是灵动的最低门槛。
## 非 content 页的自由度
| 页面类型 | 架构严密性 | 核心要求 |
|----------|------------|----------|
| 封面页 (cover) | 顶格张力 -- 禁止散乱,在绝对稳固的 Flex 框架上施放视觉冲击 | 巨大的标题冲击力 + 配图/氛围 + 品牌印记 |
| 目录页 (toc) | 极高 -- 严格的 Grid 或 Flex 对齐(各章不必等大,见 `page-templates/toc.md`) | 章节标题清晰可辨,层次递进 |
| 结束页 (end) | 顶格张力 -- 在强主轴上组织重点元素 | 核心回顾 + CTA + 与封面视觉呼应 |
## 版式决策矩阵(内容特征 -> 重力分布倾向)
| 内容特征 | 推荐版式 | 重力场描述 |
|---------|---------|-----------|
| 1 个核心论点/数据独占全场 | 单一焦点 `single-focus.md` | 所有重力汇聚于画面中心或黄金分割点,四周悉数留白 |
| 2 个对等概念碰撞 | 对称 `symmetric.md` | 左右等量的重力对峙,如天平两端 |
| 主概念 + 补充注解 | 非对称 `asymmetric.md` | 重力明显偏向一侧(2:1),另一侧轻声附和 |
| 3 个并列要素平等展示 | 三栏 `three-column.md` | 三个均衡的重力池横向排列 |
| 1 核心 + 2 佐证 | 主次 `primary-secondary.md` | 一个贯穿式的重力深渊 + 两个悬浮的轻量卫星 |
| 综述 + 3-4 子展开 | 英雄式 `hero-top.md` | 顶部横贯的重力大坝 + 底部分散的轻量溪流 |
| 4-6 异构信息密集排布 | 混合网格 `mixed-grid.md` | 多个不同密度的重力点交错分布 |
| 主论点 + 侧面佐证 + 底部总结 | L 型 `l-shape.md` | L 形的重力轨迹:从主体滑向侧面再沉入底部 |
| 总览 + 展开 + 侧面数据 | T 型 `t-shape.md` | T 形悬臂:顶部横跨的总览 + 底部偏心的深潜 |
| 多条不等高的信息瀑布 | 瀑布流 `waterfall.md` | 参差不齐的重力阶梯,制造自然的视觉节奏 |
**使用原则**:
- **内容驱动版式选择** -- 先问"这页内容的信息流动方式是什么",再从矩阵中找最匹配的重力场,而不是为了"跟上一页不一样"而刻意选不同版式
- **警惕版式惯性** -- 如果你连续 3+ 页都选了同一个版式,暂停问自己:是因为内容真的需要,还是因为习惯?
- **10 种版式是一套高精度约束矩阵** -- 一套 PPT 中应精准调用 4-6 种不同版式以支撑不同的表达目标,但无论选用哪种,都不得超越该版式的极限物理法则架构。
## 灵动法则:如何让同一版式看起来截然不同
即使两页都用了"主次结合"版式,它们也应该看起来完全不同。方法:
1. **重力反转**:第一页主区域在左,第二页可以将 `grid-template-columns` 改为 `1fr 2fr` 让主区域在右
2. **存在感变奏**:第一页主卡片用 `accent` + 辅助用 `transparent`,第二页主卡片用 `elevated` + 辅助用 `outline`
3. **密度跳变**:第一页主区域塞满图表数据,第二页主区域只有一句巨大的金句 + 80% 留白
4. **边界挑衅**:第一页所有元素老实待在格子里,第二页让某个装饰元素(大号水印/数据残影)故意溢出格子边界
> 灵动不是混乱。灵动是在同一套设计基因(色彩变量 + 字体系统)的约束下,让每一页的视觉编排都出人意料、令人屏息。
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 |