Loading...
Loading...
Answer "how does this work / how is this structured / what does this change" with a drawn figure and a narration that follows it — a module map from the code's own imports, a walked request, a state machine, an algorithm step by step, the change map of a branch — produced with `vlmkit-anim`, checked against the facts it draws, and delivered as an SVG / GIF next to the prose. Use whenever the user asks to explain, walk through, show the structure of, or illustrate code, a repository, a flow, a protocol, a PR, or a bug, and a picture with four or more things and their relations would carry the answer better than a paragraph. The explanation is the deliverable; the picture is its evidence. Scene mechanics are in `explanatory-animation`.
npx skill4agent add mizchi/explainer explain-with-animvlmkit-animexplanatory-animation| The user asks… | Draw | From |
|---|---|---|
| "How is this repo / package / directory structured?" | | |
| "How does a request / event / message flow through it?" | | the code path you read; the map from |
| "How does this algorithm / data structure work?" | the kind that owns it: | the function's own steps; small concrete values (five to eight) so every beat is readable |
| "What states can this be in? What happens on X?" | | the enum / reducer / status field and its transitions |
| "How do these services talk? What if one is slow / lost?" | | the protocol as implemented; the failure the user asked about as the trace |
| "Why does it go this way here?" (a decision) | | the branch conditions, as their labels |
| "What does this branch / PR change?" | | git; |
| "What is the schedule / what slipped?" | | the plan, the slips as |
| "The docs already have a mermaid diagram" | | the diagram; read its |
"Give me a D2 file" / "something I can paste in the README as ASCII" / the repo keeps | | the same |
modulessequencekind: composefactsrepopackage.jsoncheck --expecthandle()router.tsdispatch1. write <name>.scene.json in the repo's docs/ or .vlmkit-anim/, or the scratch dir if it is not to be kept
2. vlmkit-anim check <name>.scene.json [--expect <name>.expect.json]
3. vlmkit-anim layout <name>.scene.json must report no issue; `why` when the canvas warning names a pair
4. vlmkit-anim still <name>.scene.json --out <name>.svg a still (structure, a map, a state diagram)
vlmkit-anim video <name>.scene.json --out <name>.gif --width 640 a walk (a request, an algorithm, a trace)
5. vlmkit-anim explain <name>.scene.json the beats — this is the skeleton of your prosecheckpackages/explainSendUserFile<name>.mdprrepovlmkit-anim pr --mermaidpr-visual```vlm-anim```vlm-anim stillcheck--expectlayoutexplainfactslayoutcheck