prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
Generate high-quality academic Beamer slides from a thesis/paper (PDF, Word, or LaTeX source). Compatible with Claude Code and Codex. Supports thesis defense, proposal presentations, and conference talks. Built-in layout library with 13 professional page types, 5 color schemes,
Claude Code
$ npx -y skills add Faust-Donf/beamer-academic --skill beamer-academic --agent claude-code
Codex
$ npx skills add Faust-Donf/beamer-academic --skill beamer-academic -a codex -y
Cursor
$ npx skills add Faust-Donf/beamer-academic --skill beamer-academic -a cursor -y
Gemini CLI
$ npx skills add Faust-Donf/beamer-academic --skill beamer-academic -a gemini-cli -y
GitHub Copilot
$ npx skills add Faust-Donf/beamer-academic --skill beamer-academic -a github-copilot -y
OpenCode
$ npx skills add Faust-Donf/beamer-academic --skill beamer-academic -a opencode -y
Windsurf
$ npx skills add Faust-Donf/beamer-academic --skill beamer-academic -a windsurf -y
name: beamer-academic description: > Generate high-quality academic Beamer slides from a thesis/paper (PDF, Word, or LaTeX source). Compatible with Claude Code and Codex. Supports thesis defense, proposal presentations, and conference talks. Built-in layout library with 13 professional page types, 5 color schemes, and interactive editing loop. Use when: (1) User asks to create thesis defense slides/PPT, (2) User wants to generate academic presentation from a paper, (3) User mentions beamer, 答辩PPT, 学术报告, 开题PPT, 论文幻灯片, or academic slides, (4) User has a PDF/docx/tex thesis and wants presentation output.
Generate publication-quality Beamer slides from an academic paper in one automated pipeline.
论文 → 素材提取 → 大纲生成 → [用户确认] → 内容填充 → 编译 → [交互修改循环]
Search current directory for thesis in priority order: 1. `.tex` (LaTeX source — best quality, figures/equations directly reusable) 2. `.docx` (Word — good for text extraction, figures embedded) 3. `.pdf` (PDF — acceptable but figure extraction may lose quality)
If multiple candidates found, ask user which one. If none found, prompt: "请把论文文件放到当前目录(支持 .tex / .docx / .pdf)"
**Recommend .tex or .docx over PDF**: PDF figure extraction can produce low-quality raster images. If user only has PDF, warn: > 注意:PDF 提取的图片可能有质量损失。如果你有论文的 Word 或 LaTeX 源文件,建议优先使用。
which xelatex
If missing, **recommend user to install** (this is a one-time setup, not optional):
> 你的系统还没有安装 LaTeX 环境。beamer PPT 需要 xelatex 编译,我来帮你装一下:
Then provide the command for user's OS and **offer to run it**:
| OS | Command | |----|---------| | macOS | `brew install --cask mactex-no-gui` (推荐,约3.5GB,装一次永久可用) | | Ubuntu/Debian | `sudo apt install texlive-xetex texlive-lang-chinese texlive-fonts-recommended` | | Fedora/RHEL | `sudo dnf install texlive-xetex texlive-xecjk` | | Windows (WSL) | `sudo apt install texlive-xetex texlive-lang-chinese` | | Arch | `sudo pacman -S texlive-xetex texlive-langchinese` |
Wait for installation to complete, verify with `which xelatex`, then proceed.
If user explicitly refuses to install (rare), fallback: deliver `.tex` + `.sty` + figures, suggest Overleaf.
Ask user about existing school beamer template:
> 你的学校/课题组有现成的 beamer 模板吗?(比如导师或师兄给过的 .sty 文件) > - 有:请放到当前目录,我直接使用 > - 没有:我来帮你找或用内置通用模板
If user has a template: use it directly, skip the built-in theme.
If user has NO template: 1. Ask for school name 2. Search for existing public beamer templates for that school:
3. If found: download and use (notify user which template) 4. If not found: use built-in `assets/beamerthemeAcademic.sty` with school logo
Check for `config.yaml` in current directory:
Required user info (ask if not in config):
If thesis language ≠ PPT language, establish rules upfront:
> 你的论文是英文,PPT 要做中文版吗? > 对于专业术语,我会: > 1. 首次出现用"中文(English)"格式 > 2. 之后统一用中文 > 3. 公式/变量名保持英文不翻译 > > 这样处理可以吗?
Build a **terminology mapping table** (stored in `materials/terms.md`):
| English | 中文 | 首次出现页 | |---------|------|-----------| | disparity | 形态多样性 | P4 | | diversity | 分类丰富度 | P4 | | Ornstein-Uhlenbeck | OU 过程 | P8 |
Ensure **术语一致性**: same concept uses same translation across all pages.
Create `materials/` directory. Extraction strategy depends on input format:
1. **Figures**: locate `\includegraphics` paths, copy originals → `materials/figures/` 2. **Tables**: extract `tabular`/`table` environments → `materials/tables/` 3. **Equations**: extract `equation`/`align`/`$$` blocks → `materials/equations.md` 4. **Structure**: parse `\chapter`/`\section` hierarchy → `materials/structure.md`
1. **Figures**: extract embedded images (python-docx or unzip) → `materials/figures/` 2. **Tables**: extract table contents → `materials/tables/` 3. **Equations**: extract OMML/LaTeX equations → `materials/equations.md` 4. **Structure**: parse heading hierarchy → `materials/structure.md`
1. **Figures**: use `pdfimages` or read PDF for embedded images → `materials/figures/`
2. **Tables**: read and reconstruct → `materials/tables/` 3. **Equations**: read and convert to LaTeX → `materials/equations.md` 4. **Structure**: parse chapter/section from text → `materials/structure.md`
After extraction, present a **figure catalog** to user in conversation:
> ## 🖼️ 素材库(共提取 12 张图) > > | # | 文件名 | 来源 | 内容描述 | > |---|--------|------|----------| > | 1 | fig_001.png | 论文图1 | 地质年代柱状图 | > | 2 | fig_002.png | 论文图4 | PCoA 碎石图 | > | 3 | fig_003.png | 论文图8 | 形态空间散点图 | > | ... | | | | > > **哪些图是你答辩必须展示的?** 可以说: > - "1, 3, 5, 8 必须用" > - "图7 不用了,跟图5 重复" > - "全部都可能用到"
This ensures:
Drop your thesis in, get defense slides out. 论文丢进来,答辩 PPT 自动生成。 AI Skill for Claude Code / Codex · 13 Layouts · 5 Color Schemes · Works Out of the Box
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to…