ppt-agent
Verified专业 PPT 演示文稿全流程 AI 生成助手。模拟顶级 PPT 设计公司的完整工作流(需求调研 -> 资料搜集 -> 大纲策划 -> 策划稿 -> 设计稿),输出高质量 HTML 格式演示文稿。当用户提到制作 PPT、做演示文稿、做 slides、做幻灯片、做汇报材料、做培训课件、做路演 deck、做产品介绍页面时触发此技能。即使用户只说"帮我做个关于 X 的介绍"或"我要给老板汇报 Y",只要暗示需要结构化的多页演示内容,都应该触发。也适用于用户说"帮我把这篇文档做成 PPT"、"把这个主题做成演示"等需要将内容转化为演示格式的场景。
references/principles/visual-hierarchy.md
View on GitHub# 视觉层级与 CRAP 原则
> 人眼不是逐字阅读,而是按视觉权重跳跃扫描。设计的核心任务是用视觉手段控制阅读顺序。
> 影响策划稿字段:`cards[].role`(唯一的 anchor)、`cards[].card_style`。
> 多卡片排版、需要层次感的页面必须引用此原则;涵盖 CRAP 四原则、对比、对齐、重复、亲密。
## CRAP 四原则(Robin Williams)
### Contrast(对比)
- **原理**:差异越大,层级越清晰。相似的元素会被视为同级
- **PPT 应用**:标题 vs 正文至少差 2 级字号;强调数据用 accent 色而非加粗;不同层级的卡片用不同 card_style(不同的"空间存在感")
- **常见错误**:标题和正文字号差异微弱(看不出层级);所有文字都加粗(等于没加粗);所有卡片都用同一种 card_style
### Repetition(重复)
- **原理**:重复使用相同视觉元素创造统一感和可预测性
- **PPT 应用**:所有页面使用同一套 CSS 变量(色彩基因一致);标题装饰手法跨页保持一致的系统;风格的"DNA"贯穿全篇
- **常见错误**:每页用不同的装饰风格(看起来像拼凑);风格缺乏统一的基因
- **灵动平衡**:重复是"基因统一",不是"所有页长一样"。基因一致的前提下,每页的版式、card_style 组合、装饰细节都应该灵动变化
### Alignment(对齐)
- **原理**:页面上没有任何元素是随意放置的,每个元素都应与其他元素有视觉连接
- **PPT 应用**:使用 CSS Grid 严格对齐(而非绝对定位猜坐标);卡片间距统一;对齐方式统一(左对齐是最安全的选择)
- **灵动平衡**:对齐是规则,但刻意打破对齐也可以是灵动的设计手段。关键是"有意识的对齐"或"有意识的破格" -- 两者都比"无意识的错位"强
### Proximity(亲密性)
- **原理**:相关的信息靠近,不相关的信息远离。间距传达关系
- **PPT 应用**:同一卡片内元素紧密(标题-正文间距小于卡片间距);不同层级的间距有明确梯度
- **灵动平衡**:间距不必永远恒定。可以用极大的留白把某个核心元素"孤立"出来,制造戏剧性的呼吸感 -- 这就是用亲密性原则的"反向应用"来制造视觉锚点
## 视觉重量阶梯
视觉权重从高到低(大致参考,非固定值):
```
超大数据(64px+) > 页面标题(28px+) > 配图 > 卡片标题(16-20px) > 数据数字(36px+) > 正文 > 标注/注释
```
**一页只有一个视觉锚点**:最先吸引视线的元素。如果两个元素争夺锚点(如两个超大数字并排),观众不知道先看哪个。
## 自检
- 闭上眼再睁开,第一个看到的元素是否是这页最重要的信息?
- 能否在 3 秒内识别出页面的层级结构?
- 跨页翻阅时,视觉系统是否一致(不是每页一种风格)?
- 有没有刻意的灵动变化让每页视觉新鲜感不同?
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 |