Logotipo de Illustrations

Illustrations

OrganizaciónPopular
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.

Descripción general

Editorlangfuse
Repositoriolangfuse
Nombre de la habilidadillustrations
Estrellas
37.4K
Forks
4.2K
Archivos incluidos
3
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 3 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por langfuse en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Illustrations en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/langfuse/langfuse/tree/main/.agents/skills/illustrations
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Illustrations en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Illustrations automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Illustrations no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Illustrations en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Illustrations está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Illustrations en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/langfuse/langfuse/tree/main/.agents/skills/illustrations. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Illustrations?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Illustrations?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Illustrations con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Illustrations?

langfuse la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇