Skip to content

foryourhealth111-pixel/Vibe-Skills / bundled/skills/slides-as-code

slides-as-code

Verified

Build research slides with text-first source (Slidev/Marp/Reveal/Quarto) and reproducible export (PDF). Includes structure, figure reuse rules, and quality checklist for top-tier scientific presentations.

FileKindSize
SKILL.mdskill md1.7 KB
templates/slidev-structure.mdmarkdown362 B
---
name: slides-as-code
description: "Build research slides with text-first source (Slidev/Marp/Reveal/Quarto) and reproducible export (PDF). Includes structure, figure reuse rules, and quality checklist for top-tier scientific presentations."
allowed-tools: [Read, Write, Edit, Bash, Grep, Glob]
---

# Slides as Code(顶级科研汇报的可复现幻灯片)

## 目标

解决常见问题:
- PPT 版本失控(final_v7)
- 图表重复截图、清晰度崩坏
- 汇报结构不稳定(信息密度失衡)

本 skill 让 slides 拥有:
- 文本源(Markdown / Quarto / LaTeX Beamer)
- 可复现导出(PDF、可选 PPTX)
- 图表复用(直接引用 `figures/` 最终导出,不截图)

---

## 技术路线(按约束选)

1) **Slidev**:开发者友好,组件化,适合组会/技术分享  
2) **Marp**:排版可控,适合快速生成简洁风格  
3) **Reveal.js**:网页交互强,适合 demo/交互展示  
4) **Quarto slides**:报告/论文/幻灯片一体化(推荐用于报告+slides联动)  

> 内容结构建议使用 `scientific-slides`;本 skill 更偏“工程化与导出管线”。

---

## 元规则(幻灯片质量的 80/20)

### 1) 一页一结论

- 标题就是结论,不是主题
- 每页只服务一个问题:What / Why / How / So what

### 2) 图不截图

- 图只从 `figures/**/out/` 引用(PDF/SVG/PNG)
- 禁止从论文 PDF 截图再贴回 PPT

### 3) 讲述顺序固定

推荐骨架:
1) 背景与缺口(1–2 页)
2) 方法直觉(1–2 页示意图)
3) 核心结果(3–6 页,每页一图一结论)
4) 局限与下一步(1–2 页)

---

## 模板

参考:`templates/slidev-structure.md`

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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall