{"data":{"slug":"discovered-3fc4f5d31620199bfac10df570f2db4357079b0688512800","title":"Build a HyperFrames Slideshow with Custom Scenes and Hotspots","summary":"Create a live slideshow with slides, fragment reveals, branching hotspots, and presenter mode using HyperFrames. The deliverable is a working deck served by `hyperframes present`, with a static HTML file containing slide definitions and scene metadata.","url":"https:\/\/skillshunter.net\/skills\/discovered-3fc4f5d31620199bfac10df570f2db4357079b0688512800","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-3fc4f5d31620199bfac10df570f2db4357079b0688512800","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-3fc4f5d31620199bfac10df570f2db4357079b0688512800.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-3fc4f5d31620199bfac10df570f2db4357079b0688512800\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Before starting, inform the user that a usage note will be sent to their HyperFrames account (if signed in), and ask if they want to skip. If not skipped, run `npx hyperframes events --skill=slideshow` once as the skill starts. Each slide must be a top-level scene in the composition file with attributes like `data-composition-id`, `data-start`, `data-duration`, `data-label`, `data-width`, and `data-height`. Hotspots must reference existing scenes via `sceneId`.","instructions":"---\nname: slideshow\ndescription: Build a HyperFrames slideshow to present live - slides, fragment reveals, branching hotspots and presenter mode with speaker notes, served by `hyperframes present` - or turn an existing page into one. Use when the person wants a deck or presentation rather than a rendered video.\n---\n\n**Running the CLI:** every `npx hyperframes <command>` here, the beacon included, means `node <SKILLS>\/hyperframes\/scripts\/plugin-cli.mjs <command>` run in the project, where `<SKILLS>` holds this skill's folder ([rules](..\/hyperframes\/references\/plugin-installation.md)).\n\n**Usage note:** before the first one, tell the person once: \"I'll send HyperFrames a usage note (linked to your account if signed in); say no to skip.\" Unless they say no, run `npx hyperframes events --skill=slideshow` once as this skill starts.\n\n# HyperFrames slideshow\n\nA slideshow is a normal composition (the `\/hyperframes` contract applies) plus one JSON island that says which scenes are slides and how they connect. The deliverable is a running deck, not an MP4.\n\n## What changes from a video project\n\n- **Each slide is a top-level scene** in the composition file: `data-composition-id`, `data-start`, `data-duration`, `data-label`, `data-width`, `data-height`. There is no master root composition wrapping them.\n- **One island per composition**, near the top of `<body>`, written in the HTML (never generated by script; `present` reads the file statically):\n\n```html\n<script type=\"application\/hyperframes-slideshow+json\">\n  {\n    \"slides\": [\n      { \"sceneId\": \"hook\", \"notes\": \"Pause on the number.\" },\n      {\n        \"sceneId\": \"problem\",\n        \"fragments\": [11.0, 15.0],\n        \"hotspots\": [\n          {\n            \"id\": \"h1\",\n            \"label\": \"Where does $40B come from?\",\n            \"target\": \"market-detail\",\n            \"region\": { \"x\": 55, \"y\": 60, \"w\": 40, \"h\": 20 }\n          }\n        ]\n      }\n    ],\n    \"slideSequences\": [\n      { \"id\": \"market-detail\", \"label\": \"Market sizing\", \"slides\": [{ \"sceneId\": \"mkt-math\" }] }\n    ]\n  }\n<\/script>\n```\n\n- `sceneId` equals a scene's `data-composition-id` (or give `startTime`\/`endTime`). `notes` are presenter-only. `ttsScript`, `ttsAudioUrl` and `ttsDurationMs` are reserved and not wired yet.\n- **Fragments are absolute timeline times** (the same clock as `data-start`, not offsets inside the slide) within the slide's `[start, end]`. Navigation seeks, it never plays: each hold state must look right when the timeline is seeked straight to that time. A slide without fragments enters at a rest frame inside it.\n- **Branch slides** are ordinary scenes listed only in `slideSequences`, never in the main `slides` array. A hotspot's `target` is a sequence `id`; `region` is a percentage box (omit it for a full-slide button). Back returns to the slide that held the hotspot.\n- Text the audience must read is at least 40 px at 1920\u00d71080. Before hand-building any named visual, search `npx hyperframes catalog --query \"<the visual, in English>\" --json`: it ranks the whole registry with nothing installed.\n\n## Porting an existing page\n\n- Keep the source's look, motion, interactions and media behaviour; port its widgets, players and visualizers rather than approximating them.\n- Movement the page drove by scroll, wheel or a camera layer becomes a camera move from one focal point to the next on slide navigation, never a page visibly scrolling. Keep each move direct, without reversals the source doesn't make.\n- Screenshots, posts, charts, code and any image with readable text are evidence: keep their aspect (`object-fit: contain`) and check all four edges for crops.\n- Every copied `<video>`\/`<audio>` needs `data-start` and `data-duration` (`data-has-audio=\"true\"` when its sound plays), and no `preload=\"none\"`. Custom media chrome reads the native element's events and `currentTime`, never its own timer.\n- Hidden stacked slides need `opacity: 0`, `visibility: hidden` and `pointer-events: none` together, or an invisible layer swallows clicks.\n\n## Present and hand off\n\n- **Never render a deck to MP4**: `render` keeps only the first scene and truncates silently. For stills, `snapshot --at` each slide.\n- Run `npx hyperframes check --json` until it is clean. The slideshow rule checks that every `sceneId` resolves, every hotspot `target` exists, fragments sit inside their slide, and main-line slides don't overlap.\n- Serve it with `npx hyperframes present <project-dir>` and hand over the URL it prints: \"Click Present, or press P, to open the audience tab.\"\n- The project's root `index.html` should open as a working deck: `<hyperframes-slideshow>` around `<hyperframes-player src=\"\u2026\">`, with the raw composition in a subfolder if needed. The component owns Present (P), Prev\/Next, the counter, global mute, fullscreen, swipe, hotspots, presenter notes (editable, kept per deck) and stopping media on slide exit. Don't build your own versions of any of these.\n- Screen sharing: in Google Meet share the audience **tab**, which keeps rendering in the background. In Zoom drag the audience tab into its own window and share that; a fully covered window freezes.\n- A deck opened from the bare player bundle without `present` needs workarounds: `references\/standalone-harness.md`.\n","use_cases":["Create a presentation deck with slides, fragment reveals, and hotspots","Port an existing page into a slideshow with preserved visual and interactive elements","Serve a slideshow using `hyperframes present` and share the URL for audience viewing"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/federicoanchorena\/claude-editing-skills\/blob\/5f0bf8bf2d3d3e4569dd3e0613a40db23a22f87d\/library\/hyperframes\/slideshow\/SKILL.md","source_commit":"5f0bf8bf2d3d3e4569dd3e0613a40db23a22f87d","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:53:43.000000Z","updated_at":"2026-11-29T10:53:39.000000Z","seo_title":"Create a HyperFrames Slideshow with Custom Scenes and Hotspots","seo_description":"Build a live HyperFrames slideshow with slides, fragment reveals, branching hotspots, and presenter mode. Use this skill to create a presentation deck without rendering a","seo_keywords":["hyperframes slideshow","presentation deck","fragment reveals","branching hotspots","presenter mode","slide navigation","hyperframes present"]}}