--- name: slide-deck description: Research a topic then build a self-contained HTML slide deck with sidebar navigation. Use when asked to create a presentation, slide deck, or interactive guide from research. compatibility: Requires Docker --- ## Requirements - Docker (image `pi-slide-deck-validate` built on first run) - No Python, html5lib, or beautifulsoup4 needed on host # Slide Deck Builder ## How 1. Research with `read`, `bash`, `grep`. Collect source URLs. 2. Plan categories, slide IDs, order. Each slide gets `id="slide-"`. 3. Copy `templates/sidebar-deck.html` as the scaffold. It has every CSS class, layout, and JS hook you need — don't reinvent any of it. 4. Write one `
` per topic. Nav items must have a 1:1 mapping to slide IDs. 5. Output to `{skill-dir}/tmp/{yyyy-mm-dd}-{topic-slug}.html`. Create `mkdir -p {skill-dir}/tmp` first. Resolve `{skill-dir}` from this SKILL.md's location. 6. Open in browser: `open {output-path}`. ## Content Rules - **Description first.** Every slide opens with `
` explaining what and why, before anything else. - **Actionable examples.** `
` for CLI commands, agent prompts, "try this" steps. Skip if topic has none. - **Real code, no pseudocode.** `
` with actual runnable TypeScript/bash/JSON. No `...` ellipsis hiding relevant code. - **Key points grid.** `
` (2-col) for the 2-4 most important takeaways per slide. - **Feature grids only for overviews.** `
` on title/intro slides, not per-topic slides. - **Category tag every slide.** ``. Tags: safety, tool, command, ui, render, prompt, git, session, game, system, provider. - **Strong highlights the noun, not the verb.** "a stateful tool that demonstrates..." not "a stateful tool that demonstrates..." - **Source links on every slide.** `