/jointjs-claude-playground:canvas-builderfrom jointjs-claude-playground
Creates interactive drag-and-drop JointJS canvas builders for any domain — SQL, regex, cron, API design, decision trees, pipelines, and more. Users compose nodes from a sidebar to generate structured output.
Ships in jointjs-claude-playground. 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 self-contained HTML playground built on a shared framework: a categorized sidebar of draggable items, a JointJS canvas where users compose nodes and connect them, and an output panel that generates the target artifact live. The framework is domain-agnostic — what changes between builder types is the sidebar items, node definitions, link semantics, and output generator.
templates/canvas-builder.md — it defines the shared framework (layout, JointJS patterns, drag-drop, pan/zoom, router toggle, sidebar data pattern, graph event wiring, output tabs, live test) and full specifications for each builder typeopen <filename>.html after writing| Type | Trigger phrases | Output |
|---|---|---|
| SQL Query Builder | sql, query, joins, database tables | SELECT … FROM … JOIN … WHERE … |
| Regex Builder | regex, regular expression, pattern matching | /pattern/flags with live test |
| API Designer | api, endpoints, routes, REST, OpenAPI | endpoint list / OpenAPI snippet |
| Data Pipeline | pipeline, ETL, data flow, transform | transformation pseudocode |
| Cron Builder | cron, schedule, recurring job, crontab | 0 9 * * 1-5 + human description + next runs |
| Decision Tree / Rule Engine | decision tree, rules, conditions, branching logic, rule engine | JSON rules + JS if/else + pseudocode |
| GitHub Actions Builder | github actions, workflow, ci/cd, pipeline yaml | .github/workflows/*.yml |
| State Machine Builder | state machine, xstate, states, transitions, fsm | XState createMachine({…}) config |
| Docker Compose Builder | docker compose, services, containers, networking | docker-compose.yml |
https://cdn.jsdelivr.net/npm/@joint/[email protected]/dist/joint.min.js[Sidebar 240px] | [Canvas flex-1] | [Output panel 300px] + prompt barbuildToolbar(), graph event wiring, node editing overlay, output tabs, live test panel, populateExample()<subject>-<type>.html — e.g. ecommerce-query-builder.html, email-regex-builder.html, shop-api-designer.html, loan-decision-tree.htmlAlways include in every generated HTML file — no exceptions. Full spec with position-conflict rules is in the template (## Powered by JointJS badge), but reproduced here so it is never missed:
CSS (inside <style>):
#powered-by {
position: absolute; top: 12px; right: 12px; z-index: 10;
display: flex; align-items: center; gap: 7px;
background: #161b22cc; border: 1px solid #30363d; border-radius: 8px;
padding: 10px 20px 10px 18px; text-decoration: none;
color: #8b949e; font-size: 11px; font-weight: 500;
backdrop-filter: blur(6px);
transition: border-color 160ms, color 160ms, background 160ms;
}
#powered-by:hover { border-color: #58a6ff; color: #c9d1d9; background: #1c2d40cc; }
#powered-by img { margin-left: 5px; height: 18px; width: auto; opacity: 0.85; transition: opacity 160ms; }
#powered-by:hover img { opacity: 1; }
HTML (first child inside #canvas-wrap):
<a id="powered-by" href="https://jointjs.com?utm_source=jointjs-claude-playground&utm_medium=canvas-builder&utm_campaign=claude-code" target="_blank" rel="noopener">
<span style="color:#6e7681;font-size:10px;letter-spacing:0.04em;text-transform:uppercase">Powered by</span>
<img src="https://cdn.prod.website-files.com/63061d4ee85b5a18644f221c/633045c1d726c7116dcbe582_JJS_logo.svg" alt="JointJS" />
</a>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/codemapCreates an interactive code map playground for any library or codebase architecture — an animated JointJS node graph with layer-colored nodes, typed connections, preset views, path highlighting, router toggle, and click-to-annotate notes. Use when the user asks to visualize a library's structure, explore a codebase architecture, map module relationships, or analyze a local project. Examples: 'create a code map for React', 'show me how Express.js is organized', 'build an architecture explorer for Vue 3', 'visualize the module relationships in JointJS', 'build a code map for this codebase', 'map out this project', 'explore the architecture of this repo', 'visualize this project structure', 'build a JointJS playground', 'create a JointJS code playground', 'jointjs playground'./data-explorerCreates an interactive data explorer playground for any database schema, API data model, or entity-relationship diagram — an animated JointJS graph with two-tone entity nodes showing PK and field count, field-level search, full field table modal with PK/FK/UQ/NN badges, sample queries, router toggle, and BFS path highlighting. Use when the user wants to visualize data structures, table relationships, JSON schemas, or entity models — from local schema files, ORM models, migration files, or described schemas. Examples: 'visualize my database schema', 'create a data map for our API models', 'show me the entity relationships in our app', 'explore this Postgres schema', 'build a data explorer for this project', 'map out our database', 'explore our migrations', 'build a JointJS data playground', 'create a JointJS schema explorer'./diff-reviewCreates an interactive PR/diff review tool — a side-by-side HTML viewer with line-by-line inline commenting, hunk approve/reject, and a JointJS call graph showing what changed and what depends on it. Use when the user asks to review a diff, review a PR, review code changes, visualize a pull request, or see a code review with call graph. Examples: 'review this PR', 'show me what changed in this diff', 'create a code review tool', 'build a PR reviewer with call graph', 'visualize what functions changed'./site-explorerCreates an interactive website map — a zoomable JointJS tree showing every page of a documentation or marketing site, grouped by section, with click-to-open and search. Use when the user wants to visualize the structure of a website, explore a docs site, create a sitemap tree, or map out page hierarchy. Examples: 'create a site map for docs.jointjs.com', 'build a website explorer for react.dev', 'show me the structure of the Next.js docs', 'map out this documentation site', 'visualize the page hierarchy of stripe.com/docs', 'build a sitemap tree for our website'.jointjs-claude-playground@jointjs is listed by clientio/jointjs-claude-marketplace — review the source before installing
npx claudepluginhub clientio/jointjs-claude-marketplace --plugin jointjs-claude-playgroundOther plugins' skills for the same job