lab-explainer
/lab-explainer
Build a without-versus-with explainer in a byolab design lab, where one input plays with a UI detail off, then on, and the hidden mechanism is drawn in. Use for "explain this detail" or teaching posts about invisible interaction details.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 01.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Build a without-versus-with explainer in a byolab design lab, where one input plays with a UI detail off, then on, and the hidden mechanism is drawn in. Use for "explain this detail" or teaching posts about invisible interaction details.
Triggers from the description
Original author description
Build a without-versus-with explainer in a byolab design lab, where one input plays with a UI detail off, then on, and the hidden mechanism is drawn in. Use for "explain this detail" or teaching posts about invisible interaction details.
How it works
SKILL.md has no level-two headings · 20 lines, 199 words
SKILL.md preview
--- name: lab-explainer description: Build a without-versus-with explainer in a byolab design lab, where one input plays with a UI detail off, then on, and the hidden mechanism is drawn in. Use for "explain this detail" or teaching posts about invisible interaction details. --- # Explainers <context> An explainer teaches a detail people feel but never see. One instance plays the same input with the detail off, a labeled switch flips, and the same input plays with it on. </context> <workflow> 1. **Check the libraries first.** Search the Radix, Base UI, and shadcn docs for the detail. If a primitive already does it, name the exact prop and default in `idea`, and frame the explainer as a tip for people hand-rolling it. 2. **Pick a detail one sweep can show.** If the difference needs narration, pick another. 3. **Scaffold it:** `pnpm lab new <slug> --kind explainer --idea "<sentence>" --json`. It's full bleed and portrait (1080×1350) by default. 4. **Write the mechanism as a pure function of time** in a `model.ts`: the scripted input and `frameAt(t, on)` returning the state. One function drives both the live lab and the film, so they can't disagree. 5. **One large instance, centered.** No caption text in the frame: the switch label and the behavior carry it. Make the hidden part visible with `--signal` (a wait ring, a hit area), and only as real state, never decoration. 6. **Render both themes:** `pnpm lab export <slug> --theme both`. </workflow>
Versions
The database has no other skills named lab-explainer.
Database snapshot: 13.11.2026 · package version 2b0d0418fb52 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 86lab-component
Build or refine a component in a byolab design lab, from scaffold to a judged draft. Use when asked to make, build, or polish a component, interaction, or layout study in this repository. - 86lab-start
Show a new owner around their byolab lab and get them to their first judged component. Use when someone asks "what do I do", "how does this work", "help", "get me started", or opens the lab for the first time. - 100explain-lab
把知识点讲透,或把压轴题拆成能拿分的阶梯。含一题多解(含适用条件与优劣)、变式设计、易错警示、压轴题步骤分拆解。当老师要准备讲解材料、学案、一题多解、变式训练,或要拆一道压轴题时加载本 Skill。