JimLiu/baocut / skills/baocut/built-in-skills/slides
slides
Verified用户要做幻灯片、演示文稿、讲稿或汇报用的页面时用:在工作目录里写一份 deck(deck.json 加每页一个 HTML 文件),校验通过后线程里出现幻灯片卡片,用户在功能区预览、编辑与标注。可以套用工作目录里的设计系统;需要插图时可以用图片生成模型画好放进页面。也用于按用户的意见或标注改已有的幻灯片。视频画面里的字卡、下横栏与动效不用它(用动效图形)。
| File | Kind | Size |
|---|---|---|
| .baocut-meta.json | config | 1.6 KB |
| SKILL.md | skill md | 13.2 KB |
| references/design-system.md | markdown | 6.0 KB |
| references/design.md | markdown | 9.1 KB |
| references/format.md | markdown | 11.9 KB |
| references/images.md | markdown | 4.0 KB |
references/images.md
View on GitHub# 幻灯片的图片与插图
这一页讲幻灯片里的图从哪来、哪几页该放、插图画成什么样。怎么调用图片生成(看能力、各服务的差别、提示词顺序、检查与画不了时怎么办)用 `skills_read` 读 `baocut-catalog-media` 的「生成图片」;`<img>` 的写法在 `references/format.md` 第 5 节,图在版面里怎么摆在 `references/design.md` 第 6 节。
## 1. 哪几页要图
- 图是可选的。没有图、结构清楚的幻灯片照样是好的交付;不为了「好看」硬塞图。
- 来源按顺序:用户给的图片与工作目录里的图片;用图片生成模型画的插图;都没有就不放。
- 适合画插图的页:封面、章节页、金句或引语页,以及需要一个具体画面帮人理解的概念页(一个比喻、一个场景、一种氛围)。
- 不画插图的页:放数据、图表、流程、截图的页(用表格、`<div>` 画柱、`<x-shape>` 与内联 `<svg>`);要展示真东西的页,例如用户的产品与界面、团队、办公室、客户、活动现场、真人、标志。那里留占位图框(第 4 节),请用户给真图。
- 数量:一份通常两到五张,每张只用一次,不每页都配。用户要了配图或插图时按需要画;用户说不要图时一张也不画;用户没提时只给最能受益的两三页画(封面、章节页),把要画哪几页和提纲一起告诉用户,更多的等用户要。本机模型一张要几分钟以上,张数按等得起的定。
## 2. 画成什么样
- 风格说明跟着 deck 走:画面类型与幻灯片的视觉方向一致(扁平矢量插画、等距三维小场景、纸艺拼贴、柔光写实摄影……);色彩直接写 deck 的底色与强调色的色值,图放在深底页就要暗调,浅底页就要亮调。整份只用这一段,每张逐字带上。
- 给字留地方:这页的字要压在图上时,构图里写明主体在哪一侧、另一侧(或上方三分之一)是干净的大块留白;整页铺底的图要背景简洁、对比低。标题、标签、数字都用页面里真的 `<p>` 写,不让模型画字。
- 比例按图在页面上的框:整页铺底与宽横条 `16:9`;左右分栏的半页竖图 `3:4` 或 `2:3`;并排的方图 `1:1`;横向配图 `4:3`。比例对不上时在页面里用 `object-fit:cover` 裁进框,必要时用 `data-crop` 选焦点;模型不收尺寸时在提示词里写明横竖。
- 一页一张;用户想挑时才多画几张。
## 3. 画好之后
1. 要画的图一次都提交,不带 `video`(这些图不进视频),记下每张对应哪一页。
2. 画好的图存进 deck 目录下的 `images/`,按页 id 起名(如 `q3-review/images/cover.png`);同名文件已经存在时换个名字(`cover-2.png`),不覆盖。
3. 看过合格的按「新做一份」第 4 步导入 deck,`src` 写导入返回的地址;`alt` 用几个字说清图里画的是什么。不合格又重画不好的,那一页换成不放图的版式。
4. 图片生成用不了时整份照做,该放图的位置留占位图框或换成不放图的版式,交付时说明。
## 4. 占位图框
要放真东西(产品截图、团队照片、标志)而用户没给,或者图片生成用不了时,在该放图的位置写一个只有 `alt` 与宽高、不写 `src` 的 `<img>`:
```html
<img alt="这里放:新版时间线的截图" style="width:960px;height:540px;object-fit:contain">
```
它保住版面上的位置,校验能通过;用户在编辑器里选中它就能上传图片补上。交付时逐个列出这些图框该放什么。不要用别处的图、网上的地址或生成的「示意图」顶替真东西。
## 5. 修改与交付
- 用户要换一张生成的图:沿用同一段风格说明,只改要改的部分重画,导入后只把那一页 `<img>` 的 `src` 换成新地址,其余不动;不用去 `assets/` 里删旧图。
- 交付时一句话列出哪几页用了生成的插图、用的哪个服务与模型,告诉用户可以在编辑器里换掉;原图在 `images/` 里。
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 |