Skip to main content
skill CX Codex

deploy · pedrohcgs — Claude Code skill for publishing slides

This skill renders Quarto slides as HTML and syncs the output to docs/ for GitHub Pages. Use it when edited slides are ready to publish.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pedrohcgs/claude-code-my-workflow --skill deploy -a claude-code
Open on GitHub

What deploy does

The skill runs ./scripts/sync_to_docs.sh. Pass a lecture name such as Lecture4 to sync that lecture; leave the argument out to process all lectures. The script renders .qmd files from Quarto/, skips names containing *_backup*, and copies the HTML and _files/ assets into docs/slides/. It also places Beamer PDFs there and syncs Figures/ to docs/Figures/.

After the sync, the skill checks for HTML, RevealJS assets, R scripts, and—when relevant—interactive charts and referenced SVGs. It can open a slide file in a browser for a visual check. The script prepares files under docs/; it does not push them to GitHub Pages, so deployment still needs a separate step.

What it helps with

  • render Quarto slides as HTML
  • sync one lecture or all lectures into docs/
  • copy Beamer PDFs and RevealJS assets beside the slides
  • check that figures and R scripts reached the published folders
  • open rendered slides in a browser for visual inspection

Example prompts for the agent

  • Publish Lecture4 and check the files under docs/.
  • Render all Quarto slides for GitHub Pages and inspect them in a browser.
  • Sync the updated slides from Quarto/ to docs/.

How to install deploy

1Skills CLI (Vercel)

npx skills add pedrohcgs/claude-code-my-workflow --skill deploy -a claude-code

2Manually: put the files in place

~/.claude/skills/deploy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/deploy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about deploy

How do I install deploy in Claude Code?

Run npx skills add pedrohcgs/claude-code-my-workflow --skill deploy -a claude-code. The skill file is installed at ~/.claude/skills/deploy/SKILL.md.

What does deploy do?

It renders .qmd slides and syncs HTML, assets, PDFs, figures, and R scripts into docs/. It then checks the output and can open a slide in a browser for review.

Can deploy sync just one lecture?

Yes. Give it a name such as Lecture4; with no argument, the script processes every lecture. For a local render without syncing, run quarto render.

Source text

SKILL.md · MIT
---
name: deploy
description: Render Quarto `.qmd` slides to HTML and sync to `docs/` for GitHub Pages. Use when user says "deploy", "publish the slides", "ship to pages", "push the lecture live", "render and publish", or after Quarto edits that need to go public. NOT for local Quarto render only — use `quarto render` directly for that.
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/`
   - Check that `docs/files/code/` contains the R scripts (if `scripts/R/` has any)

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
- Copies every `scripts/R/*.R` into `docs/files/code/` (published beside the slides)

© pedrohcgs · MIT · pedrohcgs/claude-code-my-workflow

Similar skills

All skills for DevOps and infrastructure →

deploy by other authors comes first.

From the same set27

lit-review Runs a structured literature search and synthesis: key papers, thematic clusters, gaps, and BibTeX-ready citations. Useful before writing a paper or a grant proposal. CX Codex +1 ★ 1,671repo stars interview-me Runs a multi-turn interview and turns a half-formed research idea into a structured spec: question, hypotheses, identification, data, empirical strategy. CX Codex +1 ★ 1,671repo stars grant-proposal Turns an existing research spec into a structured grant proposal draft. Use it to prepare an application for NSF, NIH, ERC, or a foundation. CX Codex +1 ★ 1,671repo stars diagnose Walks a failing run from a stable reproduction to a minimal example, ranked hypotheses and a fix. Built for research code. CX Codex +1 ★ 1,671repo stars deep-audit Splits a theory, proof, paper or codebase into components, fans out independent skeptics and fixes every confirmed defect. Built for when one review pass is not enough. CX Codex +1 ★ 1,671repo stars credible-claims A skill for delegated and AI-assisted research: write the brief before the run, the claim record after. Keeps fast execution from passing as credible evidence. CX Codex +1 ★ 1,671repo stars context-status This skill checks estimated context use, the active plan, and session preservation. Use it to see what may remain after compaction. CX Codex +1 ★ 1,671repo stars compress-session This skill turns the current conversation into a structured note with decisions, open questions and next steps before auto-compaction eats the context. CX Codex +1 ★ 1,671repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor