Skip to content
Automation
Skill

/deploy

Render Quarto slides and sync to docs/ for GitHub Pages deployment. Use when deploying lecture slides after making changes.

From plugin
auto-empirical-research-skills
3.3k200 skills146 agents
Install
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill deploy --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/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.md
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
Read more
Ships withauto-empirical-research-skills

📌 文档结构(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 |

Get the whole plugin