slide-maker
Generate presentation decks grounded in real GitHub projects, or walk through a structured brief-to-slides process. This skill supports creating and updating native Slidev deck projects — complete with a compiled `slides.md`, a `deck.spec.md` specification, and a project `README.
12 steps · start to finish.
- 1Step 1
Environment Setup
▶Verify the environment and install required dependencies.
# Check Node.js and npm command -v node >/dev/null || { echo "ERROR: Node.js not installed"; exit 1; } command -v npm >/dev/null || { echo "ERROR: npm not installed"; exit 1; } # Install Slidev CLI if not present npm list -g @slidev/cli 2>/dev/null || npm install -g @slidev/cli # Create output directory mkdir -p /app/results/styles # Verify required inputs are provided if [ -z "$GOAL" ]; then echo "ERROR: GOAL (goal or update instructions) is not set" exit 1 fi echo "Environment setup complete. Mode: ${MODE:-create}"Load reference documents only when entering the relevant phase. Do not load all files upfront.
Phase Load these files Purpose 1. Determine mode (none) — 2. Gather sources SOURCES.md(project decks only)Source-material lookup, extraction heuristics, through-line, project identity 3. Intake PRESENTATION_PHILOSOPHY.md,STORYTELLING.mdRhetorical principles, narrative structure, through-line design 4. Style direction STYLE_PRESETS.mdVisual presets and token palettes 5. Write spec DECK_SPEC.md,SLIDE_KINDS.mdSpec schema and slide type catalog 6. Compile COMPILER_RULES.md,SLIDEV_REFERENCE.mdCompilation phases, Slidev features 7. Validate ACCEPTANCE_CHECKLIST.md,LLM_TELLS.mdQuality gates 8. Deliver (none) — - 2Step 2
Determine Mode
▶Identify whether this is a **create** or **update** run.
- 3Step 3
Gather Source Material (project decks only)
▶> Load `SOURCES.md` at this phase (project decks only).
- 4Step 4
Intake — Narrative Principles
▶> Load `PRESENTATION_PHILOSOPHY.md` and `STORYTELLING.md` at this phase.
- 5Step 5
Style Direction
▶> Load `STYLE_PRESETS.md` at this phase.
- 6Step 6
Write or Revise `deck.spec.md`
▶> Load `DECK_SPEC.md` and `SLIDE_KINDS.md` at this phase.
- 7Step 7
Compile the Deck
▶> Load `COMPILER_RULES.md` and `SLIDEV_REFERENCE.md` at this phase.
- 8Step 8
Iterate on Errors (max 3 rounds)
▶If Step 6 validation or Step 7 compilation fails:
- 9Step 9
Validate
▶> Load `ACCEPTANCE_CHECKLIST.md` and `LLM_TELLS.md` at this phase.
- 10Step 10
Deliver
▶Write the final deliverables to `/app/results/`: - `deck.spec.md` — approved spec - `slides.md` — compiled Slidev slides - `README.md` — project README with deck title, through-line, how to run, slide count, preset used
- 11Step 11
Write Validation Report
▶Write `/app/results/validation_report.json` reflecting all stage outcomes.
- 12Step 12
Write Executive Summary
▶Write `/app/results/summary.md` with run metadata, mode detected, through-line, slide count, preset used, validation results, and any issues.