illustrations
БесплатноБез исполняемых скриптовНе проверенDraw, compose or change a Langfuse illustration, either an empty-state drawing (`EmptyState.Illustration`, `SpotIllustration`) or a product scene…
от langfuse★ 38 069 звёзд на GitHubОб этом скилле
Illustrations
Both families share one engine in web/src/components/illustrations/:
| Family | Public API | Where it lives |
|---|---|---|
| Empty-state drawings | <EmptyState.Illustration drawing motion backdrop accent /> inside EmptyState |
drawings/designs.ts (shapes as data), laid out by drawings/layout.ts, drawn by drawings/Drawing.tsx |
| The same drawings on their own | <SpotIllustration drawing size motion backdrop accent /> in a card or a step |
the same DESIGNS, same Drawing |
| Product scenes | <LangfuseIllustration variant size motion floor accent a11y content? /> |
scenes/<name>/, registered in scenes/registry.ts and scenes/frames.ts |
None of them takes className or style, and layout around them belongs to the caller's own elements. A drawing fills the height its size sets (EmptyState's or SpotIllustration's); a scene fills its parent's width up to its size (sm 320 px, md 448 px, lg 672 px; fill has no cap).
Outside EmptyState, wrap a card or link in <IllustrationHost> so hovering anywhere on it lifts the hero and plays a motion="hover" illustration, and keyboard focus in it lifts the hero without replaying it; it adds no element of its own. usePlayback finds that host and tracks a mouse or pen over it and keyboard focus in it (a tap or a click's focus doesn't count), and the art reads it as data-host-active on its own root, so no selector reaches outside the component.
LangfuseIllustration takes a required a11y: described exposes the scene as one image named from its content (layout.ariaLabel); decorative hides it, for a scene beside text that already says what it shows. Drawings are always decorative.
engine/ holds the parts both families use: the projection, Frame (the svg root), Block (the raised hero), Chip, slots.ts (label(), identifier(), asWritten()), SlotContent, usePlayback, useIllustrationId, motion.ts (at()) and the shared Scene.module.css. Parts only scenes use sit beside them, and the drawing path never imports them: Scene (the frame read from a layout: label, plate, generated keyframes, defs), useScene, keyframes.ts (packetKeyframes, stepKeyframes, play), Packet (a packet along a wire), StatusDot (a dot and its halo), values.ts, useStepper, activeIndex, CountUp, TypeOut.
Read references/style.md and references/motion.md before drawing anything; every illustration must look and move like its siblings. Component and story rules are the repo's: react-component-guidelines, storybook and web/src/components/design-system/README.md.
Route A: a new empty-state drawing
- Draw the empty version of the object the area holds: one raised
blockhero for the thing that exists first, the parts around it ascard,bar,dot,chip,text,pathandring, anddashedoutlines for what hasn't arrived yet. Check it against its siblings and place it by the mechanics in references/style.md. - Add it to
DESIGNSindrawings/designs.ts, in plan units, under a/** what it shows */comment. The name joins thedrawingenum and theVariantMatrixstory on its own. Drawings stay in one module: they are small data, and an empty state is first-paint content, so it renders without waiting on a chunk. - Run
Drawing.clienttest.tsandpnpm run typecheck. The test catches a second hero, a dashed part that doesn't ghost in, and any floor shape closer than 6 px to the hero (it names the drawing, the shape's index and the gap). Move the shape, never the threshold; a card the hero stands on by design getsisLayered: true. The rest of the look is yours to check in the next step. - Look at it in Storybook:
iframe.html?id=playground-emptystate--default&args=drawing:<name>;size:sm(thenmd,lg,xl), add&globals=theme:darkfor dark, and emulate reduced motion in DevTools → Rendering. InVariantMatrix, drawings below the fold build only once scrolled into view.
Done when every line of references/checklist.md passes.
Route B: a new product scene
- Copy
scenes/observability/as the template:content.ts(content type,*_DEFAULTS,*_LIMITS),layout.ts,<Name>Scene.tsx,<name>.module.cssandlayout.clienttest.ts.
Установить illustrations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл illustrations?
Draw, compose or change a Langfuse illustration, either an empty-state drawing (`EmptyState.Illustration`, `SpotIllustration`) or a product scene (`LangfuseIllustration`), in the house isometric style with its motion, accessibility and performance contract. Use when adding a drawing for a new area or moment, building a scene from engine parts, retiming how one moves, or reviewing one.
Как установить скилл illustrations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл illustrations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
от Anthropicautomate-this
Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
от GitHubfrom-the-other-side-vega
Patterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
от GitHubplantuml-ascii
Generate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…
от GitHub