/genmotion:three-diagramfrom genmotion
Generates 44 diagram and chart types in Three.js scenes with automatic routing, editorial design, and scene auditing. For architecture, flowcharts, UML, timelines, charts, and more in product or explainer videos.
Ships in genmotion. 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.
Read when SKILL.md points to them.
A diagram in a video has one advantage over the same diagram in a blog post: it can arrive in the order the thing actually works. Connectors draw along themselves, nodes land as the line reaches them, bars grow from their baselines, an exploded view comes apart, and the camera can walk a flow instead of dumping the whole picture in frame one.
Getting there by hand is where it goes wrong. Diagonal connectors, two arrows leaving a box from the same point, a label sitting on the line it belongs to, an accent colour on all nine nodes, a bar chart that fades in at full length: these are what make a generated diagram look generated. This skill packages the answers as three modules and audits the finished scene against them.
The design system and layout grammar are adapted from the open-source Diagram
Design skill (MIT). See NOTICE.md for attribution and what changed on the way
to a scene graph.
Not for: what the diagram should say or how long it holds (direction,
motion-language), the camera walking it (three-camera), palette and lighting
(three-look), the words themselves (three-type).
And sometimes, not at all. Before drawing, ask whether a reader learns more from this than from one well-written line on screen. A list of things is a list. Two boxes and an arrow is a sentence. The highest-quality move is usually deletion: every node is a distinct idea, every connector carries information, and if the relationship is obvious from the layout, remove the line.
Copy the ones you need into components/. All three need components/stage.ts
(three-camera) and components/type.ts (three-type).
| Kit | Reference | What it covers |
|---|---|---|
components/diagram.ts | diagram-kit.md | Nodes, zones, lanes, lifelines, compartments, connectors, the scene wrapper, the audit. Always needed |
components/chart.ts | chart-kit.md | Scales, axes, bars, dots, series, areas, cells, values, legends |
components/shapes.ts | shape-kit.md | Circles, arcs, wedges, polygons, ribbons, trapezoids, axonometry |
Every scene is one stage() call: it loads the faces, lays the paper, sets the
camera, puts the eyebrow and title top left, and runs the reveal waves. The
interesting part of a diagram scene is the diagram, and forty lines of furniture
before it is forty lines in which the furniture can be wrong.
Load the one reference that matches. Nothing else.
| If you're showing… | Use | Reference |
|---|---|---|
| Components and connections in one snapshot | Architecture | type-architecture.md |
| Before and after topologies, with a change ledger | Architecture delta | type-architecture-delta.md |
| The legacy landscape, by who owns it | IT current-state | type-it-state.md |
| The whole stack in one row, sources to consumers | High-level | type-high-level.md |
| Sequential steps, with the actor named at each | Process | type-process.md |
| Storage tiers by quality, with access policy | Medallion | type-medallion.md |
| A pipeline, with the role responsible for each step | Data flow | type-data-flow.md |
| Many things attaching to one platform | DP integration | type-dp-integration.md |
| Per-role, per-scope permissions | DP security matrix | type-dp-security-matrix.md |
| Where software runs: zones, hosts, replicas, ports | Deployment | type-deployment.md |
| What depends on what, with fan-in and cycles | Dependency graph | type-dependency.md |
| Hierarchy by containment | Nested | type-nested.md |
| Parent to children, one path to every node | Tree | type-tree.md |
| Ownership, routing and escalation | Org chart | type-org-chart.md |
| Stacked abstraction levels | Layer stack | type-layers.md |
| Decision logic with branches | Flowchart | type-flowchart.md |
| States, guarded transitions, terminal outcomes | State machine | type-state.md |
| One process and the handoffs between people | Swimlane | type-swimlane.md |
| Time-ordered messages between actors | Sequence | type-sequence.md |
| Work by state, with WIP limits and blockers | Kanban | type-kanban.md |
| A narrative backbone sliced into releases | Story map | type-story-map.md |
| Entities, fields and cardinality | ER / data model | type-er.md |
| Classes, operations, inheritance | UML class | type-uml-class.md |
| Physical tables: SQL types, constraints, indexes | Database schema | type-db-schema.md |
| Events positioned in time, gaps included | Timeline | type-timeline.md |
| Tasks against a calendar, critical path | Gantt | type-gantt.md |
| Two axes of judgement | Quadrant | type-quadrant.md |
| Value chain against evolution | Wardley map | type-wardley.md |
| What a person does across stages, and how it feels | User journey | type-journey.md |
| Entities scored on the same few criteria | Radar / spider | type-radar.md |
| One series over categories that wrap | Polar chart | type-polar.md |
| A reinforcing cycle with a hub | Loop / flywheel | type-loop.md |
| Overlap between sets | Venn | type-venn.md |
| A ranked hierarchy or conversion drop-off | Pyramid / funnel | type-pyramid.md |
| A quantity splitting across stages | Sankey | type-sankey.md |
| Causes of one effect, grouped by category | Fishbone | type-fishbone.md |
| Comparison across categories (and dumbbell) | Bar chart | type-bar.md |
| A start total bridged to an end total | Waterfall | type-waterfall.md |
| Part-of-whole where size is the story (and marimekko) | Treemap | type-treemap.md |
| Cross-tabulated values, fill carrying the number | Heatmap | type-heatmap.md |
| A trend (and slopegraph, ridgeline, streamgraph, bump) | Line chart | type-line.md |
| Two variables (and bubble, beeswarm) | Scatter plot | type-scatter.md |
| One object pulled apart along an axis | Exploded axonometric | type-exploded.md |
| A floor or site seen from above at an angle | Axonometric plan | type-axonometric-plan.md |
Rules of thumb:
Always load the chosen type reference before drawing.
GRID. Node sizes from W and H.wire() call, in the order the system
works. That order is the reveal order later.check() in the builder. It reports through the error channel, so a
broken diagram fails the project's own check instead of shipping.capture-frames on a mid-reveal frame and a held frame. A
diagram is the one thing in a video a viewer actually reads, so read it.The budget, per diagram. 9 nodes, 12 connectors, 2 accent elements, 3 zones.
Past that it is two diagrams: an overview and a detail. audit enforces all
four, and each type reference carries its own tighter numbers. Target density is
about 4 out of 10: technically complete, not so dense it needs a guide.
One accent. accent goes on one or two elements; everything else is ink,
muted or soft. If you want to accent four things, you have not decided what
the shot is about. SERIES exists only for the chart types with genuinely
overlapping entities, and even there the focal series keeps the accent.
The grid. Node origins, sizes, gaps and padding divide by GRID (8px). Type
sizes come from RAMP; radii, stroke widths and arc samples are exempt. This is
most of what keeps a generated diagram from feeling generated, and audit
checks every coordinate.
The six connector rules. Non-negotiable, and audit checks each one:
FAN_MIN apart at least. No connector may hide another.Typography. Node names in the sans at RAMP.name, weight 500. Sublabels,
tags, edge labels, axis ticks and eyebrows in the mono. Mono is for technical
content — ports, commands, paths — never as a blanket "developer" font. Every
face needs its file in assets/ and a withFonts wrapper, exactly as
three-type requires; a family name alone silently becomes a default sans in
the export. Use save-asset to bring a face in.
Anti-patterns, beyond each type reference's own: shadows on anything (borders, not shadows), a radius above 20px, identical boxes for every node, a legend floating inside the art, vertical text on a connector, and a rainbow where one hue at varying opacity would do.
components/stage.ts and components/type.ts in the project, with the sans
and mono font files in assets/.capture-frames to read the diagram back. Legibility and routing are frame
checks, not code checks.validate after wiring, since audit reports through the error channel and
surfaces there.audit() returns nothing, and the project's own check passes clean.LIGHT, DARK or SERIES, never a literal.NOTICE.md (opens in a new tab)references/chart-kit.md (opens in a new tab)references/diagram-kit.md (opens in a new tab)references/shape-kit.md (opens in a new tab)references/type-architecture-delta.md (opens in a new tab)references/type-architecture.md (opens in a new tab)references/type-axonometric-plan.md (opens in a new tab)references/type-bar.md (opens in a new tab)references/type-data-flow.md (opens in a new tab)references/type-db-schema.md (opens in a new tab)references/type-dependency.md (opens in a new tab)references/type-deployment.md (opens in a new tab)references/type-dp-integration.md (opens in a new tab)references/type-dp-security-matrix.md (opens in a new tab)references/type-er.md (opens in a new tab)references/type-exploded.md (opens in a new tab)references/type-fishbone.md (opens in a new tab)references/type-flowchart.md (opens in a new tab)references/type-gantt.md (opens in a new tab)references/type-heatmap.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
35 skills in this plugin
/ad-qaThe pre-ship QA pass for a short-form or social ad, run on captured frames and the exported file: the exact frames to capture, eleven tests with pass criteria and fixes (hook frame, brand timing, mute, safe zones with a drawn overlay, captions, text size and contrast, pacing, CTA and ending, audio and loudness, ad codes, claims), then direction's critique rubric as the ship bar and a short report for the user. Every UGC owner ends here. Load it before telling anyone an ad is finished./ai-presenterPutting a person on screen in an ad when there is no footage: the user's own clip first, or a generated portrait driven by a lipsync model. Covers when not to use a face at all, the lipsync input spec (portrait, audio, neutral mouth), framing and headroom for 9:16, one take length (four seconds), lip-sync tolerance in frames, matching voice to face, the uncanny tells and the edit patterns that hide them, the seek-safe build on each engine, and the line between a synthetic presenter and a fabricated customer. Load it alongside a UGC owner, never instead of one.Other plugins' skills for the same job
/announce-featureThe 15 to 45 second feature announcement or changelog video, in the manner of Linear, Notion and Slack: what changed, why it matters, show it, where to find it. Covers naming the feature in the first six words, frame-budgeted beat sheets for 15, 20, 30 and 45 seconds with VO word budgets, the cursor, before-and-after and focus-push patterns with house timings, the CTA that points at the toggle, sound per interaction, and recuts for an in-app loop, a changelog embed and a vertical social clip. Load it for one feature or a small set, not a whole-product launch.npx claudepluginhub haxzie/genmotion --plugin genmotion