animated-explainer
Build a step-by-step animated explainer as one offline HTML file - the top rung of Karpathy's format ladder, after text, diagrams and HTML pages. Use only when the user asks for an animation, a video-like or step-by-step explanation, "покажи по шагам", "анимацию", runs /legible:animate, or presses the Анимация button on the session board. Do not build one unasked.
- License 许可
- MIT
- 最近更新
- 2026-10-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- animated-explainer
- license
- MIT
- metadata
- { "version": "0.2.0" }
- description
- Build a step-by-step animated explainer as one offline HTML file - the top rung of Karpathy's format ladder, after text, diagrams and HTML pages. Use only when the user asks for an animation, a video-like or step-by-step explanation, "покажи по шагам", "анимацию", runs /legible:animate, or presses the Анимация button on the session board. Do not build one unasked.
02 资源文件 1
- 资产文件assets/player.html7.1 KB
03 SKILL.md 正文
Animated explainer: a step player
Karpathy calls bespoke explainer videos the format he is most bullish on. We build the version that needs nothing installed: one HTML file that plays a diagram step by step, with a caption for each step. No audio, no network.
1. Plan the steps first
- Question: the one question the reader has.
- Answer: one sentence. It goes under the title.
- Steps: 3 to 8. Each step adds one thing to the picture and has one caption sentence (plain-80 or plain-ru-80). The steps build the full picture in the order the reader must understand it, usually the order things happen.
- Check every claim the steps make, as in the
visual-explainerskill. Remove what you cannot support.
2. Fill the template
Copy assets/player.html to explainers/<slug>-steps.html in the project, or to the path the
user names. Change only these parts:
<html lang>, bothTITLEplaces andANSWER IN ONE SENTENCE.- The
<svg>content: draw the full diagram (15 nodes or fewer, labels of 4 words or fewer). Give each part the step at which it appears:data-s="2". A part stays visible after its step. For something that shows only during one step, such as a moving dot, usedata-only="3"(SMIL<animateMotion>works). Draw an edge as<path pathLength="1" ...>and it draws itself in. UsecurrentColorfor strokes and text so both color schemes work. Put the samedata-ref="x"on parts that belong together: hover lights them all up. - The captions: one
<li data-n="N">per step in#captions. - For a language other than English, translate
data-hinton#caption,data-overviewon.counterand the button labels.
Do not change the script or the Content-Security-Policy line. Add nothing from the network: no fonts, no CDN, no images by URL.
3. What the player does
It opens on the full picture with a hint, and it never starts by itself. ‹ and › step back and forward, Play goes one
step every 3.5 seconds, the slider jumps to any step, and the arrow keys and Space work too. The address gets
#step=N, so a link opens on that step. With reduced motion on, nothing moves and Play is hidden. A printout shows
the full picture and every caption.
4. Hand it over
Tell the user the path in one line and the number of steps. Offer three questions to check the understanding
(teach-back). Do not paste the HTML into the chat.
04 同仓库更多 Skills
take
Take a ticket from the project's Obsidian board into work - pick it, turn it into the task brief, set its status. Use when the person asks to take, start or pick up a ticket or task from the Obsidian board, asks what is next on the board ("возьми тикет", "что дальше по доске"), names a card or a note of the bound board, or runs /obsidian-tasks:take.
setup
Bind this project to a task board in an Obsidian vault (a Kanban plugin board or a Bases board), or create one, and choose how Claude reaches the vault - its folder, the Obsidian CLI or an Obsidian MCP server. Use when the person asks to connect an Obsidian board or vault to the project, to change the board, or to check the binding ("подключи доску из Obsidian", "настрой obsidian-tasks"), or runs /obsidian-tasks:setup.
rules
The rules for this project's Obsidian task board - keep the ticket's status, write the closing report, file new tickets for what is out of scope. The start hook prints them when the project is bound to a board; load them when you work with a ticket and they are not in your context.
take
Take a ticket from the project's Notion board into work - pick it, turn it into the task brief, set its status. Use when the person asks to take, start or pick up a ticket or task from Notion, asks what is next on the board ("возьми тикет", "что дальше по доске"), gives a link to a ticket on the bound board, or runs /notion-tasks:take.
setup
Bind this project to a Notion task board, or create a new board, and save the binding in the project. Use when the person asks to connect Notion tasks or a Notion board to the project, to change the board, or to check the binding ("подключи доску Notion", "настрой notion-tasks"), or runs /notion-tasks:setup.
rules
The rules for this project's Notion task board - keep the ticket's status, write the closing report, file new tickets for what is out of scope. The start hook prints them when the project is bound to a board; load them when you work with a ticket and they are not in your context.