Awesome-Agent-Skills-for-Empirical-Research deploy
Render Quarto slides and sync to docs/ for GitHub Pages deployment. Use when deploying lecture slides after making changes.
install
source · Clone the upstream repo
git clone https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/12-pedrohcgs-claude-code-my-workflow/dot-claude/skills/deploy" ~/.claude/skills/brycewang-stanford-awesome-agent-skills-for-empirical-research-deploy && rm -rf "$T"
manifest:
skills/12-pedrohcgs-claude-code-my-workflow/dot-claude/skills/deploy/SKILL.mdsource content
Deploy Slides to GitHub Pages
Render Quarto slides and sync all files to
docs/ for GitHub Pages deployment.
Steps
-
Run the sync script:
- If
is provided (e.g., "Lecture4"):$ARGUMENTS./scripts/sync_to_docs.sh $ARGUMENTS - If no argument:
(syncs all lectures)./scripts/sync_to_docs.sh
- If
-
Verify deployment:
- Check that HTML files exist in
docs/slides/ - Check that
directories were copied (RevealJS assets)_files/ - Check that
was synced fromdocs/Figures/Figures/
- Check that HTML files exist in
-
Verify interactive charts (if applicable):
- Grep rendered HTML for interactive widget count
- Confirm count matches expected
-
Verify TikZ SVGs (if applicable):
- Check that all referenced SVG files exist in
docs/Figures/LectureN/
- Check that all referenced SVG files exist in
-
Open in browser for visual verification:
# macOSopen docs/slides/LectureX_Name.html
# Linux# xdg-open docs/slides/LectureX_Name.html- Confirm slides render, images display, navigation works
-
Report results to the user
What the sync script does:
- Renders all
files in.qmd
(skipsQuarto/
files)*_backup* - Copies HTML and
directories to_files/docs/slides/ - Copies Beamer PDFs from
toSlides/docs/slides/ - Syncs
toFigures/
using rsyncdocs/Figures/