Skip to content
Automation
Skill

/slides-as-code

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.

From plugin
vibe-skills
2.7k200 skills8 agents3 commands
Install
$ npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill slides-as-code --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/slides-as-code

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

slides-as-code.SKILL.md
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`

Ships withvibe-skills

VibeSkills is a general-purpose Skill that automatically routes local Skills and intelligently orchestrates harness workflows.

Get the whole plugin

Other skills on vibe-skills.