About explain-with-section-clips
A skill for explaining changes through a page of grouped sections, each centered on a short looping animation clip. It specifies clip behavior, accessibility and layout, and uses `explainer-kit` with `EV.clip` to build the visual explanation.
Key features
- 01Organize explanations into 3–6 sections
- 02Show one idea in each 5–12 second clip
- 03Pause clips when they leave view
- 04Provide playback controls and progress
- 05Use end frames for reduced motion and thumbnails
- 06Build clips with `explainer-kit` and `EV.clip`
Use cases
- 01Visually explain a set of changes
- 02Show how a value flows through steps
- 03Illustrate a request being stopped
- 04Present code changes in grouped sections
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ kjetilhartveit/ kjetils-skills --skill explain-with-section-clipsAfter installing, type/explain-with-section-clipsin Claude Code to confirm it loaded.
Details
From the project READMEExplain with Section Clips
A traditional page of grouped sections, where each section's visual is a short looping animation ("clip") in a small player frame. Each clip shows exactly one idea.
Use this skill when
- The user asks for a visual explanation of changes with section clips.
- Used by an orchestrator to explain changes visually with section clips.
Sections
- 3–6 sections. Each: a one-sentence takeaway → one clip → 2–3 short lines → one
ev-moretoggle that names its contents (e.g. "The new code · Files touched"). - Group related information inside the toggles: highlighted code, grouped items, status chips, compact tables.
Clips
- 5–12 seconds, looping, showing one idea: something counting up, a value flowing through steps, a request being stopped, a change spreading to its consumers.
- Play only while visible; pause when scrolled away. Play / pause / replay controls and a progress bar.
- At rest (before playing, under reduced motion, in thumbnails) show the end frame, which must state the result on its own.
- Text inside a clip must stay legible on phones (≥ 13 px at desktop size, scaled up for narrow frames).
Building it
- Build it as a fragment with the
explainer-kitskill and draw clips withEV.clip(el, {duration, setup, draw}), wheredraw(t)sets the whole frame from the time alone (makes seeking, looping and the poster frame free). - Give each section
id+data-tocso it appears in the chapter list.
Comments
Markdown supported