analyze-code
CommandAnalyze code quality, identify issues, and suggest improvements.
Create an animated explainer diagram (.anim.json) for a system, protocol, or process
> /plugin marketplace add nimbalyst/nimbalyst> /plugin install nimbalyst-wiki@nimbalyst
description: Create an animated explainer diagram (.anim.json) for a system, protocol, or process
Create an animated explainer diagram for: $ARGUMENTS
Follow the `animation` skill for the full `.anim.json` format reference, geometry rules, and canonical key order. This command is the workflow on top of it.
An animation earns its place only if something **changes over time**. If the first frame and the last frame say the same thing, stop and tell the user a static diagram (Excalidraw, or a Mermaid block in Markdown) is the better tool, and offer to build that instead.
Good subjects: a request crossing a network, a cache filling, a consensus round, a queue draining, a build pipeline, a retry after a failure.
If the subject is **in this codebase**, read it first. Spawn an `Explore` agent for the relevant files rather than pulling twenty of them into context. You need: the real component names, the real order of operations, and where it can fail.
If the subject is general knowledge, say what you are about to depict in one paragraph and let the user correct it before you spend effort on coordinates.
Before placing a single coordinate, draft 8-12 one-sentence captions in order. Read them end to end -- they should form a coherent paragraph. This is the animation. If the captions do not tell the story, no amount of layout will save it.
Include the interesting beat. The retry, the cache miss, the rejected review. An explainer that only shows the happy path explains nothing.
States are cumulative: assert only what changes, and explicitly set things back to `idle` when they are done. Keep tone meanings fixed for the whole run. 600-1200ms per step.
Parts sorted alphabetically by id, keys in the fixed order the skill lists, two-space indent, trailing newline. Otherwise the first save in the editor reformats everything and buries the real diff.
Name it in kebab-case with the `.anim.json` extension: `cache-read-through.anim.json`, `consensus-round.anim.json`. Put it next to related docs, or in `nimbalyst-local/` if it is a scratch explainer.
Open the file in Nimbalyst and capture the stage with `mcp__nimbalyst__capture_editor_screenshot`. Scrub to at least three different steps (early, the failure beat, the last) and capture each.
Coordinate arithmetic is exactly the kind of thing that is right in your head and wrong on screen. Check for:
Fix and re-capture until it looks right. Then tell the user what it shows and what you could not express -- text never changes across steps, parts never move, and there are no font sizes, so say so plainly if the subject wanted one of those.
If they want it outside Nimbalyst, ask where it is going and pick accordingly:
Default to HTML when either would work. There is no video export -- say so plainly rather than implying the GIF is a substitute.
Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.
Analyze code quality, identify issues, and suggest improvements.
Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness…
Triage pnpm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches
Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to…
Gather details and draft an actionable bug report for developers.
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…