translate-to-quarto
Translate Beamer LaTeX to Quarto RevealJS. Multi-phase workflow with TikZ extraction and QA.
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Beamer → Quarto Translation Workflow
Full translation of a Beamer LaTeX lecture to Quarto RevealJS HTML slides.
CRITICAL: The Beamer .tex file is the SINGLE SOURCE OF TRUTH.
Phase 0: Pre-Flight Checks
0A. Environment Parity Audit
Scan Beamer for all custom environments. Verify CSS equivalents exist in your theme SCSS. If any are missing, create them FIRST.
0B. TikZ Freshness Verification
Run /extract-tikz to verify SVGs match current Beamer source.
0C. RDS Data Inventory
List all RDS files needed for interactive charts.
0D. Citation Key Mapping
Extract all citations from Beamer, map to bibliography keys.
Phase 1: Pre-Translation Preparation
- Read complete Beamer source, count frames
- Inventory figures (TikZ → SVG, R plots → plotly, other → SVG)
Phase 2: Create QMD File with YAML Header
- Standard RevealJS YAML with theme, logo, footer, bibliography
- Setup chunk for R data loading if needed
Phase 3: Slide-by-Slide Translation
- Delegate to
beamer-translatoragent - 1:1 frame-to-slide mapping
- Verbatim math, environment parity, no font reduction
Phase 4: TikZ Diagram Integration
Reference extracted SVGs with 0-based indexing.
Phase 5: R Figure Integration (Plotly-First)
Interactive plotly from RDS data, static SVG for TikZ/complex figures.
Phase 6: First Render & Content Fidelity Check
Render, count slides, go through EVERY slide checking for issues.
Phase 6.5: Pedagogical Review
Run pedagogy-reviewer before visual polish.
Phase 7: Visual Polish
Semantic colors, transition slides, framing sentences.
Phase 8: Proofreading
Run /proofread on the QMD file.
Phase 9: Final Verification & Deployment
Render, open in browser, verify all elements.
Phase 10: Beamer Source Sync
Apply any corrections back to Beamer source.
Phase 11: Documentation
Update CLAUDE.md, session log, create PR.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
skills/12-pedrohcgs-claude-code-my-workflow/dot-claude/skills/translate-to-quarto/SKILL.md同一个仓库里的其他技能
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-R
- Full-empirical-analysis-skill-Stata
- auto-empirical-research-skills
- StatsPAI_skill
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-Stata
- Full-empirical-analysis-skill-R
- academic-paper-composer
- academic-paper-strategist
- medical-imaging-review
- paper-slide-deck