/translate-to-quarto
Translate Beamer LaTeX to Quarto RevealJS. Multi-phase workflow with TikZ extraction and QA.
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill translate-to-quarto --agent claude-codeHow 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
/translate-to-quarto
Context preview
The summary Claude sees to decide when to auto-load this skill.
Translate Beamer LaTeX to Quarto RevealJS. Multi-phase workflow with TikZ extraction and QA.
SKILL.md
translate-to-quarto.SKILL.mdname: translate-to-quarto
description: Translate Beamer LaTeX to Quarto RevealJS. Multi-phase workflow with TikZ extraction and QA.
argument-hint: "[LectureN_Topic.tex]"
allowed-tools: ["Read", "Grep", "Glob", "Write", "Edit", "Bash", "Task"]
context: fork
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-translator` agent
- 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.
Read more
name: translate-to-quarto description: Translate Beamer LaTeX to Quarto RevealJS. Multi-phase workflow with TikZ extraction and QA. argument-hint: "[LectureN_Topic.tex]" allowed-tools: ["Read", "Grep", "Glob", "Write", "Edit", "Bash", "Task"] context: fork
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-translator` agent
- 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.
📌 文档结构(2026-07-22 起): 本文件是中文默认入口 —— banner + badges + 信任面 + 9 阶段流水线速览 + 76 行合集总表。 每个合集的完整描述、按用途分组、精确数字、验证方法在 docs/CONTENT_ZH.md(扩展正文,总表行内的 → 直接跳转到对应锚点)。 English version: README-en.md · 中文扩展正文:docs/CONTENT_ZH.md · README-zh-CN.md 已弃用(重定向占位) 🌐 语言: English |
Other skills on auto-empirical-research-skills.
- /pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest + rdrobust + econml + causalml + matplotlib/seaborn. **Defaults to economics empirical-paper style** (AER / QJE / AEJ) —
Open skill - /pipeline
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest + clubSandwich + AER + ivreg + did + bacondecomp + HonestDiD + eventstudyr + rdrobust + rddensity + Synth + gsynth + synthdid
Open skill - /pipeline
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation + eventstudyinteract + sdid + rdrobust + rddensity + synth + synth_runner + psmatch2 + teffects + ebalance + coefplot + esttab + asdoc +
Open skill - /00-Full-empirical-analysis-skill_StatsPAI
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud / AEJ) with DID / RD / IV / SCM / DML / matching, written-out estimating equation + identifying assumption, Table 1 /
Open skill - /00.1-Full-empirical-analysis-skill_Python
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest + rdrobust + econml + causalml + matplotlib/seaborn. **Defaults to economics empirical-paper style** (AER / QJE / AEJ) —
Open skill - /00.2-Full-empirical-analysis-skill_Stata
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation + eventstudyinteract + sdid + rdrobust + rddensity + synth + synth_runner + psmatch2 + teffects + ebalance + coefplot + esttab + asdoc +
Open skill

