/deploy
Render Quarto slides and sync to docs/ for GitHub Pages deployment. Use when deploying lecture slides after making changes.
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill deploy --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
/deploy
Context preview
The summary Claude sees to decide when to auto-load this skill.
Render Quarto slides and sync to docs/ for GitHub Pages deployment. Use when deploying lecture slides after making changes.
SKILL.md
deploy.SKILL.mdname: deploy
description: Render Quarto slides and sync to docs/ for GitHub Pages deployment. Use when deploying lecture slides after making changes.
argument-hint: "[LectureN or 'all']"
allowed-tools: ["Read", "Bash"]
Deploy Slides to GitHub Pages
Render Quarto slides and sync all files to `docs/` for GitHub Pages deployment.
Steps
1. **Run the sync script:**
- If `$ARGUMENTS` is provided (e.g., "Lecture4"): `./scripts/sync_to_docs.sh $ARGUMENTS`
- If no argument: `./scripts/sync_to_docs.sh` (syncs all lectures)
2. **Verify deployment:**
- Check that HTML files exist in `docs/slides/`
- Check that `_files/` directories were copied (RevealJS assets)
- Check that `docs/Figures/` was synced from `Figures/`
3. **Verify interactive charts** (if applicable):
- Grep rendered HTML for interactive widget count
- Confirm count matches expected
4. **Verify TikZ SVGs** (if applicable):
- Check that all referenced SVG files exist in `docs/Figures/LectureN/`
5. **Open in browser** for visual verification:
- `open docs/slides/LectureX_Name.html` # macOS
- `# xdg-open docs/slides/LectureX_Name.html` # Linux
- Confirm slides render, images display, navigation works
6. **Report results** to the user
What the sync script does:
- Renders all `.qmd` files in `Quarto/` (skips `*_backup*` files)
- Copies HTML and `_files/` directories to `docs/slides/`
- Copies Beamer PDFs from `Slides/` to `docs/slides/`
- Syncs `Figures/` to `docs/Figures/` using rsync
Read more
name: deploy description: Render Quarto slides and sync to docs/ for GitHub Pages deployment. Use when deploying lecture slides after making changes. argument-hint: "[LectureN or 'all']" allowed-tools: ["Read", "Bash"]
Deploy Slides to GitHub Pages
Render Quarto slides and sync all files to `docs/` for GitHub Pages deployment.
Steps
1. **Run the sync script:**
- If `$ARGUMENTS` is provided (e.g., "Lecture4"): `./scripts/sync_to_docs.sh $ARGUMENTS`
- If no argument: `./scripts/sync_to_docs.sh` (syncs all lectures)
2. **Verify deployment:**
- Check that HTML files exist in `docs/slides/`
- Check that `_files/` directories were copied (RevealJS assets)
- Check that `docs/Figures/` was synced from `Figures/`
3. **Verify interactive charts** (if applicable):
- Grep rendered HTML for interactive widget count
- Confirm count matches expected
4. **Verify TikZ SVGs** (if applicable):
- Check that all referenced SVG files exist in `docs/Figures/LectureN/`
5. **Open in browser** for visual verification:
- `open docs/slides/LectureX_Name.html` # macOS
- `# xdg-open docs/slides/LectureX_Name.html` # Linux
- Confirm slides render, images display, navigation works
6. **Report results** to the user
What the sync script does:
- Renders all `.qmd` files in `Quarto/` (skips `*_backup*` files)
- Copies HTML and `_files/` directories to `docs/slides/`
- Copies Beamer PDFs from `Slides/` to `docs/slides/`
- Syncs `Figures/` to `docs/Figures/` using rsync
📌 文档结构(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

