/rocketride-design:pelefrom rocketride-design
Render Mermaid diagrams as token-themed SVG with Pele (pele.run) — a free, MIT-licensed, zero-dependency TypeScript library by kepano / the Obsidian team (github.com/obsidianmd/pele) that turns Mermaid syntax into static SVG themed entirely through `--pele-*` CSS variables, covering every diagram type built into Mermaid 12.1.0 (flowchart, sequence, class, state, ER, gantt, git, pie, mindmap, timeline, xychart, sankey, C4, architecture, block, agentflow, wardley, radar, treemap and more; not ZenUML), with server-side `render()` (zero client JS) and client `mount()` (container-width reflow, zoom), in Next 14–16 + React 18–19 + Tailwind 3.4 or v4 + motion v13 (`motion/react`). Trap: the npm name `pele` has an unrelated 2020 publish (`[email protected]`, a LavaMoat experiment) and the real library shipped 14 releases in its first 12 days — always pin an exact current version (`[email protected]` verified). Use this whenever a task involves Mermaid in a React/Next app, "render a mermaid diagram", "replace mermaid.js / mermaid is too heavy", an architecture, flowchart, sequence, gantt, ER, C4, state, sankey or pipeline / agent-flow diagram on a docs, landing, case-study, MDX or blog page, "make the diagrams match the design system", dark-mode diagrams, SSR or static SVG diagrams, a `pre.mermaid` block that needs rendering, a pele.run link, or `import ... from 'pele'`. Token bridge, render-vs-mount rule, per-type imports, and the CI parse-error check live in references/integration.md.
Trending skills
7-day visitors to each skill page
Ships in rocketride-design. 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.
Verified Oct 2026 (pele 1.6.0 on Next 16.4.2 + React 19.2 + Tailwind 3.4.19, built, served and screenshotted with Playwright).
Pele is a Mermaid-to-SVG renderer, not a component library. It replaces
mermaid.js: same diagram language, no runtime dependencies, and the output is
plain SVG whose colours, fonts and radius come from --pele-* CSS variables.
That makes diagrams consumers of your token layer: map the design system's
tokens once and every diagram follows light/dark with no re-render.
Built by kepano (Steph Ango) for Obsidian; MIT (LICENSE: "Copyright (c) 2026
kepano" — GitHub's API mislabels it "Other"). Free, no account.
[email protected] (2020, kumavis) is an unrelated package.https://pele.run/api.md, /theming.md, /compatibility.md,
/security.md, /examples.md, /index.md. There is no llms.txt, no shadcn
registry, no CLI, no MCP server.npm install [email protected] --save-exact
Verified: 0 dependencies, 0 peer dependencies, no install scripts. ESM only
("type":"module"), engines.node >=20, types included. No React, Tailwind
or animation-engine coupling, so the Tailwind v3/v4 and motion vs
framer-motion questions do not arise. (Next 14 / React 18 / Tailwind v4:
unverified, expected to work — nothing in the package depends on them.)
| Entry | Use | Client gz (measured) |
|---|---|---|
pele | render, mount, parse, detectType, supports, PeleError, all 33 types | ~251 KB if shipped to the client — don't |
pele/core + pele/diagrams/<type> | register(flowchart, pie) then mount / render | core+pie 18.8 KB; +flowchart 50.4 KB |
pele/lazy | renderAsync, load('flowchart') — per-type on demand (unverified) | — |
pele/global | <script> global for pre.mermaid (docs only, unverified) | — |
Server-rendered diagrams ship 0 KB of Pele JS (verified).
render() or client mount()render() (React Server Component, dangerouslySetInnerHTML):
zero client JS, static. Does not reflow — a wide flowchart LR measured
1265×152 and shrank to 292×35 px at a 390 px viewport, unreadable. Use it for
diagrams that are narrow, vertical (TD), or rendered with a mobile-safe
maxWidth.mount() ('use client', useEffect, destroy() on cleanup):
reads the container width, re-renders on resize, switches wide diagrams to
vertical under 640 px (autoDirection; same flowchart became 290×729 px on
the phone), re-measures after web fonts load. Use it for wide or important
diagrams on responsive pages. Import from pele/core + per-type files.Code for both, the token bridge, and the CI check: references/integration.md.
Pele's defaults are neutral grey plus Tableau-like series colours. Bridge the
design system's tokens onto .pele (shadcn v3 HSL mapping verified; v4/oklch
form is the same minus hsl(), unverified). Three things people miss:
--pele-series-1..8 are separate from the 9 base colours. Unset, pie /
git / xychart / journey colours stay default blue-orange. shadcn's
--chart-1..5 cover 1–5; choose 6–8 yourself. Chart colour judgment
(palette, contrast, ordering) belongs to dataviz.--pele-bg as text colour — series colours
must contrast with the background in both modes.--pele-accent to shadcn --primary, not --accent (shadcn's
--accent is a hover surface, not a brand hue).agentflow-beta / architecture-beta fit
RocketRide pipelines (types verified in docs, not rendered here).mermaid (~1.6 MB gz per Pele's own benchmark) anywhere.security.md:
keep options server-controlled, show errors via textContent, supply
icons only from a trusted set.supports('zenuml') === false).[email protected] or a caret range on a 2-week-old library.pele root entry in a client component — use pele/core +
per-type imports.style / classDef lines: they stay fixed in dark mode
(verified). Style via CSS on .pele-node[data-id="x"] instead.E[[email protected]] throws PeleError
(syntax) and the build still passes, so the page silently shows an error.
Quote labels containing @ and run the parse check from the reference
in CI.render() of a wide LR diagram on a responsive page with no
maxWidth.idPrefix each
(mount() handles this itself).mount()'s default zoom: 'auto' on — its +/− buttons sat on top of
the last node in testing. Pass zoom: false or pad the container.design-arsenal phase 4 (component base): like shadcn, a consumer of the phase-3 tokens, remapped before the first diagram lands. Phase 8 (QA): series contrast in both modes, 390 px check on every wide diagram, parse check green. Owners next door: dataviz (chart form, palette, series colour), shadcn (the token names being bridged), pafolios (where case-study diagrams go).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub shashidharbabu/rocketride-design-skills --plugin rocketride-design34 skills in this plugin
/arc-uiInstall and integrate Arc (uiarc.dev, "Arc UI") — Elia Kuratli's agent-oriented React library of 112 free MIT components + 22 free blocks (56 components / 72 blocks more behind Arc Pro, $129/yr or $199 lifetime), distributed as copy-in source through a shadcn registry (`@uiarc/<id>` → https://uiarc.dev/r/{name}.json) and styled with CSS Modules + its own oklch CSS-variable token layer (not Tailwind classes), animated with `motion/react` — into Next.js 14–16, React 18–19, Tailwind v3.4 or v4 repos, alone or beside shadcn/ui. Use this whenever a task mentions uiarc, uiarc.dev, Arc UI, an `@uiarc/` or `@uiarc-pro/` install, `components/arc/foundation.css` or `@/components/arc/...` imports; whenever an app wants a calm, neutral, Linear-like product UI base as an alternative to shadcn; or whenever it needs a finished product-UI interaction piece — confirm-in-place / hold-to-confirm / morphing delete button, sliding segmented control, KPI metric cards with rolling numbers, icon morph, expanding button group, swipe row actions, ridgeline / streamgraph / waffle / slope / treemap charts, or settings / pricing / dashboard / sign-in blocks with motion. Also use it before letting Arc's own vendor skill near a repo (don't — see below). Install pre-flight, the token-collision bridge with shadcn, and every verified fix live in references/integration.md./audiocnInstall and integrate audiocn (audiocn.dev) — a free, MIT-licensed shadcn registry of ~50 audio UI items for React by OrcDev (github.com/audiocn/ui): audio player, file waveform with seek/regions/markers, level meters, bar/spectrum/electric visualizers, live waveform, faders, knobs, pan, mute/solo toggles, channel strips, a full Web Audio mixer, sound pads, mic/device pickers, plus the Web Audio hooks that drive them (shared AudioContext, analyser, gain, microphone, system-audio capture, waveform peaks) — copied in via `npx shadcn@latest add @audiocn/<name>`, built on Base UI and canvas/rAF with no motion/framer-motion dependency. HARD GATE: Tailwind v4 + React 19.2+ only — on Tailwind 3.4 it builds green and renders broken (meters vanish, bars collapse), and on React 18 the hooks fail (`useEffectEvent`). TRAP: `npm i audiocn` installs an unrelated placeholder package — audiocn arrives only through the shadcn registry. Use this whenever a task involves audiocn.dev or an @audiocn/ install, an audio or podcast/episode player, a waveform seek bar or waveform regions/markers, a VU/level/dB meter, an audio visualizer or spectrum, voice-activity bars, a mic check or input-device picker, a mixer/fader/knob/channel strip, a soundboard or sound pads, replacing wavesurfer.js, or deciding whether an audio product repo can take these components at all. Inventory, deps, token remap, the v3 port list, crossOrigin, single-player coordination, and the waveform lint fix live in references/integration.md./bestfreefontsSource genuinely free fonts via Best Free Fonts (bestfreefonts.com) — a free curated directory of ~214 quality free typefaces (serif, sans, script, mono, display; many variable) where each font page shows styles, glyph counts, language support, designer, and the actual license, then links to the official download source — and integrate them into Next.js 14 + Tailwind 3.4: next/font/local self-hosting with woff2, next/font/google when the font is also on Google Fonts, variable fonts, subsetting, CLS-safe fallbacks, and this repo's --font-sans CSS-variable + fontFamily pattern. Use this whenever a task involves finding a free font, replacing or adding a typeface, "what font should we use (for free)", verifying whether a font is safe for a commercial site, self-hosting a font, woff2/subsetting/fallback work, a bestfreefonts.com link, or wiring any font into app/layout.tsx and tailwind.config.ts — hosting code lives in references/hosting.md. License verification before commercial use is this skill's non-negotiable./brandkitPremium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world presentations. Trained for minimalist, cinematic, editorial, dark-tech, luxury, cultural, security, gaming, developer-tool, and consumer-app brand systems. Optimized for intentional logo concepting, refined composition, sparse typography, strong symbolic meaning, premium mockups, art-directed imagery, and flexible grid layouts./industrial-brutalist-uiRaw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints./componentryInstall and integrate Componentry (componentry.dev — componentry.fun redirects there) — an MIT-licensed, Vercel-OSS-backed library of ~60 animated React components by Harsh Jadhav (@harshjdhv), distributed as copy-in source via the shadcn registry (npx shadcn@latest add @componentry/<name>) and built on framer-motion, Tailwind, and canvas/WebGL — into Next.js 14 + Tailwind 3.4 + motion v13 (`motion/react`). Use this whenever a task involves componentry.dev/componentry.fun or an @componentry/ install command, a landing page needs a spectacle background (matrix rain, dither gradient, aurora, liquid chrome, particle galaxy, circuit board, noise), an interactive set-piece (magnetic dock, eye tracking, image trail, spotlight card, split-flap display, mac keyboard), kinetic typography (letter cascade, text repel, particle typography, hyper text, text morph), or a scroll set-piece (sticky scroll cards, scroll split card, scroll velocity text, scroll choreography) — and whenever choosing between componentry and motion-primitives for an animation need. Component tiers, per-component deps, and wiring patterns live in references/integration.md.