Start a fresh conversation. Replace the highlighted placeholders.
Use extract-tikz to extract TikZ diagrams from the Beamer source for [LectureN] and convert them to 0-indexed SVG files for Quarto slides
Required inputs
[LectureN]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: extract-tikzdescription: Extract TikZ diagrams from Beamer source, compile to PDF, convert to SVG with 0-based indexing. Use when updating TikZ diagrams for Quarto slides.argument-hint: "[LectureN, e.g., Lecture2]"allowed-tools: ["Read", "Bash", "Glob"]
Extract TikZ Diagrams to SVG
Extract TikZ diagrams from the Beamer source, compile to multi-page PDF, and convert each page to SVG for use in Quarto slides.
Steps
Step 0: Freshness Check (MANDATORY)
Before compiling, verify that extract_tikz.tex matches the current Beamer source.
Find the Beamer source: ls Slides/$ARGUMENTS*.tex
Extract all \begin{tikzpicture} blocks from Beamer
Compare with Figures/$ARGUMENTS/extract_tikz.tex
If ANY difference exists: update extract_tikz.tex from the Beamer source
If extract_tikz.tex doesn't exist: create it from scratch
Step 1: Navigate to the lecture's Figures directory