Loading...
Loading...
Use when building or assembling an explainer page with `explain-visually` or any `explain-with-*` skill, to get the shared themes, components and assembly script so every explainer looks the same.
npx skill4agent add kjetilhartveit/kjetils-skills explainer-kitexplain-with-*explain-with-*explain-visuallyassets/| File | What it is |
|---|---|
| The rules every fragment follows and the component cheat sheet. Read it before writing a fragment; it is the whole API. |
| Only for fragments with their own script (clips, slides, video, code walkthrough) and tabbed pages |
| Builds the final page from an overview and fragments, and validates the contract |
| Generates a decision (options) or before/after chapter from JSON |
| Opens the assembled page on a desktop and a phone and lists only what to fix |
| The styles, behaviour and page template the assembler inlines. Don't read them to write a page |
assemble.py --themevar(--ev-…)+−!◆✓<section class="ev-tab-content" data-tab="NAME"><style><script>EV.onShow(NAME, …)<header class="ev-overview">assemble.py# One scrollable page with a sticky chapter list (default for explain-visually)
python assets/assemble.py --page --toc --title "Short name" --overview overview.html \
--section story=frag-story.html --section code=frag-code.html --section decide=frag-decide.html \
--out index.html
# One fragment on its own page
python assets/assemble.py --standalone frag-slides.html --title "Short name" --out index.htmlNAME--section NAME=FILEdata-tabdata-labeldata-hintdata-part-titledata-part-lede<section>iddata-toc="Short label"ev-moreprefers-reduced-motionkit.csskit.jsev-FRAGMENT-CONTRACT.mdassemble.pycheck.py