Logo vun Illustrations

Illustrations

OrganisatiounBeléift
langfuse
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.

Iwwersiicht

Editeurlangfuse
Repositorylangfuse
Skill-Nummillustrations
Stären
37.4K
Forks
4.2K
Matgeliwwert Fichieren
3
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum langfuse op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Illustrations an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/langfuse/langfuse/tree/main/.agents/skills/illustrations
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/langfuse/langfuse.git /tmp/langfuse
mkdir -p .claude/skills
cp -r /tmp/langfuse/.agents/skills/illustrations .claude/skills/illustrations
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Illustrations an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Illustrations automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Illustrations net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Illustrations

Both families share one engine in web/src/components/illustrations/:

FamilyPublic APIWhere it lives
Empty-state drawings<EmptyState.Illustration drawing motion backdrop accent /> inside EmptyStatedrawings/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 stepthe 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

  1. Draw the empty version of the object the area holds: one raised block hero for the thing that exists first, the parts around it as card, bar, dot, chip, text, path and ring, and dashed outlines for what hasn't arrived yet. Check it against its siblings and place it by the mechanics in references/style.md.
  2. Add it to DESIGNS in drawings/designs.ts, in plan units, under a /** what it shows */ comment. The name joins the drawing enum and the VariantMatrix story 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.
  3. Run Drawing.clienttest.ts and pnpm 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 gets isLayered: true. The rest of the look is yours to check in the next step.
  4. Look at it in Storybook: iframe.html?id=playground-emptystate--default&args=drawing:<name>;size:sm (then md, lg, xl), add &globals=theme:dark for dark, and emulate reduced motion in DevTools → Rendering. In VariantMatrix, 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

  1. Copy scenes/observability/ as the template: content.ts (content type, *_DEFAULTS, *_LIMITS), layout.ts, <Name>Scene.tsx, <name>.module.css and layout.clienttest.ts.
  2. layout.ts is pure: named steps (axisOf, rowsOf, frameOf, labelOf, runDurationOf, …) above one layout<Name>(content, id) that reads as a straight sequence of them and returns a SceneLayout (projection, viewBox, floor, plate, panelGrid, keyframes, ariaLabel, runDuration) plus the scene's own geometry. It starts from SCENE_FRAMES.<name>.
  3. <Name>Scene.tsx takes SceneProps<"<name>">, calls useScene(DEFAULTS, content, layout<Name>, motion) for the merged content, id, layout and playback, and renders <Scene id layout playback lift floor accent a11y defs> around its parts. No useMemo on the content: callers pass it inline.
  4. Register it: its content type in SceneContent and its lazy loader in SCENES (scenes/registry.ts), its defaults' frame in SCENE_FRAMES (scenes/frames.ts), and its default layout in scenes/scenes.clienttest.ts, which checks for every scene that a run ends within 3000 ms and that the defaults fill the frame the loading placeholder reserves. LangfuseIllustration and its VariantMatrix story pick it up; its code loads the first time it's drawn.
  5. In layout.clienttest.ts, pin one golden of the defaults' resting frame and the rules only this scene has (how its rows stack, where it cuts text, what grows its frame). Generic truncation and run length are covered by the engine and scenes tests.

Done when every line of references/checklist.md passes.

Gates

From web/: pnpm run lint, pnpm run typecheck, pnpm run test-client src/components/illustrations, pnpm run test-storybook, and pnpm exec knip from the repo root.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Illustrations op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Illustrations besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Illustrations an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/langfuse/langfuse/tree/main/.agents/skills/illustrations an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Illustrations benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Illustrations benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Illustrations domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Illustrations gratis?

De Skill gëtt vum langfuse op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇