/writing:explainer-animationfrom writing
Build a self-playing, scrubbable explainer animation as one dependency-free HTML file (inline SVG, CSS, vanilla JS). It walks through how a system, protocol, request flow or architecture works, in chapters, with plain-words captions, a timeline, keyboard controls and a pause-after-each-step mode for presenting. Use this whenever the user wants to animate or visualise a flow, sequence, handshake, token or data exchange, pipeline or architecture; asks for an "animated diagram", "motion graphic" or "explainer" for docs, a README, a lab or a talk; or is struggling to follow a multi-step process that a moving picture would make clear, even if they never say "animation". Not for 3D scenes or camera moves (use three.js), rendered video files, or a single static diagram.
Ships in writing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build an animated walk-through of how something works, as a single HTML file with no packages and no build step. It opens from disk, plays by itself, and can be scrubbed, stepped and presented from.
The output is a 2D diagram that changes over time: actors appear, messages travel between them, checks tick, and a caption says in plain words what is happening at each moment.
| File | What it is | When to read it |
|---|---|---|
assets/template.html | A complete, working animation (a cache-aside read) containing the engine, the player and a small demo | Copy it as your starting file, every time |
references/engine.md | Every verb and building block, how timing works, recipes, and the mistakes that are easy to make | Before you write the script |
A full-size example with 18 chapters, built with this engine: source, play it.
Do not write the engine or the player from scratch. They took many rounds to get right (scrubbing, reading-time holds, step pause), and the template's version is tested.
Read the code, config or docs the animation explains, and list the facts it will state. Every caption and every label is a claim. Check each one against the source before you draw it.
This matters more here than in prose. An animation states things with confidence, and the viewer cannot ask what you meant. For example, "the gateway allows or refuses each call before it adds the API key" can be read two ways: the call is checked before it is forwarded, or the response is filtered afterwards. Only the policy file settles which, and the caption must then say it without the ambiguity.
If you cannot verify a claim, tell the user. Do not draw it as fact.
Put a short outline in your reply before you build: the title, the three overview points, and the chapter titles grouped into parts. Then carry on, unless the scope is unclear. The outline costs one message and lets the user redirect before the drawing exists.
| Piece | What it does | Guidance |
|---|---|---|
| Title | Names the problem | It must make sense to someone who has never heard of the project. "How user B's question reaches GNews" fails that test. "Per-user limits on an MCP server that knows no users" passes. Keep it to about 50 characters, so it fits on two lines |
| Overview | Says why this exists | A subtitle of up to about 20 words, then three points of up to about 35 words each: The need, The gap, The fix. Much longer and the block runs into the caption bar, which the audit reports |
| Set-up | Introduces the actors | Reveal each thing in the order it comes to exist, at the moment its caption appears. Start with the thing being consumed or protected, because it is the constraint everything else works around |
| Main path | One request, start to finish | One chapter per step |
| Second path | A failure, a denial or a repeat | This is what teaches the rule. The happy path alone does not show what the mechanism prevents |
| Summary | Who sees or does what | One short label per actor |
The stage is an SVG with a fixed 1600 x 840 coordinate space that scales to the window.
Copy assets/template.html, then change every place marked EDIT. There are seven: the tab title,
the colours, the legend, the title block, the stage, the pieces added to the stage in code, and the
script. Keep the building-block functions and add your own beside them. Read references/engine.md
first.
The user will read every caption and ask "what do you mean by that?" about any phrase that is vague. Write so they do not need to.
| Instead of | Write | The rule |
|---|---|---|
| "Open the agent's front door" | "Let the news-desk app call the agent" | No metaphors in titles. Say the action |
| "Foundry talks to Entra ID for it" | "Foundry signs in to Entra ID as the agent and trades the user's ticket for one the gateway will accept" | Say who does what to whom |
| "Entra ID keeps the apps, consent and roles" | "Entra ID stores the apps, consent grants and role assignments" | Replace vague verbs (keeps, handles, manages, talks to) with the real one |
| "so it would refuse the original" | "user B's Ticket 1 is addressed to the agent, so the gateway would refuse it" | Name the thing. No "the original", "the former", "it" across sentences |
"tokens whose aud is X" | "tokens whose aud (audience: the service a token is addressed to) is X" | Define a term in brackets the first time it appears |
| "Nothing else can make one." | (cut) | Drop the flourish. It raises a question you then have to answer |
Also:
The engine holds the picture until each caption can be read: 3 words a second plus one second. You set where things happen; it adds the time.
cap(t, html, 4).overview(selectors, {wps: 4}).Serve the folder (python3 -m http.server 8765 --bind 127.0.0.1, or VS Code Live Server) and open
file.html?paused with a browser-automation tool such as the Playwright MCP server.
anim.audit() in the page. Fix until problems is empty. Repeat at
1280 x 720. Text wraps differently at each size: a caption that takes three lines at one width can
take four at the other. At the smaller size the audit adds a note that the stage text is too small
to read. That is expected and is not a fault: the small size is for checking wrapping.anim.stops, call anim.seek(t) and take a screenshot. A stop is the
end of a chapter, when everything it adds is on screen, close-ups included. Then do the same with
anim.journeys, which lists the middle of every journey: look at one or more per connector. Look
for overlaps, connectors crossing labels, something hidden behind something else, and dimmed
things that should be bright. The audit cannot see these.no element for is a mistyped selector.anim.play(), wait two seconds, and confirm anim.time() moved by about two.The audit checks selectors, caption length and hold time, caption-bar height, text fitting inside cards, close-up cards, messages and chips, the title block and the controls row. It does not replace looking.
If you have no browser tool, say so. Ask the user to open the file and run anim.audit() in the
console, and do not report the animation as checked.
docs/diagrams/, and link to it from that
document.| Situation | How |
|---|---|
| Editing, on the same machine | The local server address |
| Editing over a VS Code tunnel | Forward the server's port in the Ports view and keep it private |
| Merged to a public GitHub repo | https://htmlpreview.github.io/?https://github.com/<owner>/<repo>/blob/<branch>/<path> |
| A permanent address | GitHub Pages |
GitHub shows an HTML file as source code, which is why the preview link is needed. raw.githack.com puts a click-through notice in front of the page, so avoid it.
Expect many small rounds. The user watches the animation and sends notes, often several at once.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/changelog-generatorAutomatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation./content-research-writerAssists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership./humanizerRemove signs of AI-generated writing from text. Use when editing or reviewing
text to make it sound more natural and human-written. Based on Wikipedia's
comprehensive "Signs of AI writing" guide. Detects and fixes patterns including:
inflated symbolism, promotional language, superficial -ing analyses, vague
attributions, em dash overuse, rule of three, AI vocabulary words, passive
voice, negative parallelisms, and filler phrases.
Other plugins' skills for the same job
npx claudepluginhub corticalstack/writing --plugin writing