Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

typescript-data-visualization-engineering

БесплатноБез исполняемых скриптовНе проверен

Build typed data visualizations in TypeScript. Use when the user wants TypeScript visualization code, typed data models, browser visualization components…

openaiот openai★ 8 494 звезды на GitHub

Об этом скилле

TypeScript Data Visualization Engineering

Overview

Use this skill when the visualization must live in a TypeScript application. The focus is not just chart rendering. The focus is reliable data contracts, clear component boundaries, maintainable integration architecture, and a renderer that fits the product surface.

If the request is specifically about React components, client or server boundaries, hydration, dynamic loading, or Next.js delivery constraints, route first to ../react-and-nextjs-data-visualization/SKILL.md.

If the request is primarily about test strategy, mocks, screenshot coverage, or deciding which chart logic deserves unit tests, route first to ../testing-data-visualizations/SKILL.md.

Renderer and Library Selection

  • D3: custom chart math, behaviors, and bespoke SVG or hybrid views.
  • Observable Plot or Vega-Lite wrappers: fast, declarative 2D charts.
  • Visx, Recharts, ECharts, or Chart.js: product-oriented chart layers when their abstraction fits.
  • Canvas2D adapters: dense flat views, immediate-mode rendering, and custom hit testing where Canvas is simpler than WebGL.
  • WebGL adapters: dense GPU-scale 2D, particles, flow animation, custom shaders, GPU picking, or true 3D.
  • Three.js: spatial, volumetric, instanced, particle, or camera-led 3D scenes.
  • deck.gl, PixiJS, Sigma.js, Plotly WebGL traces, ECharts GL, MapLibre, CesiumJS, luma.gl, regl, TWGL, or raw WebGL2 when their renderer model matches the data shape.
  • Scrollama, CSS ScrollTimeline/ViewTimeline, Motion useScroll, or GSAP ScrollTrigger when a scroll-driven scene controller is needed.
  • Image generation pipeline: produced assets, transparent cutouts, textures, and scene backgrounds that remain separate from data-bound overlays.
  • Mermaid, PlantUML/Kroki, Graphviz/WASM, D2, Structurizr, React Flow, Cytoscape.js, Sprotty, JointJS, GoJS, ELK, or Dagre when the surface is UML, ERD, C4, flow, state, schema, dependency, architecture, or interactive diagramming.

TypeScript Rules

  1. Define the data schema before rendering.
  2. Validate external data at the boundary.
  3. Keep derived chart geometry in typed functions.
  4. Separate:
    • data loading
    • transformation
    • scale creation
    • rendering
    • interaction state
  5. Model selections, filters, tooltip payloads, URL state, persisted preferences, and saved-view payloads as explicit types.
  6. Define a canonical view-state codec for shareable state: parse, validate, normalize defaults, serialize in stable order, and migrate or reject stale schema versions.
  7. Keep ephemeral interaction state separate from durable state. Hover, drag-in-progress, animation frame, and pointer position should not leak into saved URLs or persisted workspaces.
  8. For new work, assess the intended number of simultaneous visualization instances so the architecture reflects page-level costs instead of single-instance demos.
  9. For editorial systems, model reusable design tokens, annotation specs, label placement rules, artifact modes, motion states, asset manifests, color-role ledgers, and rubric checks as typed data instead of ad hoc strings inside render code.
  10. For fictional, synthetic, or illustrative stories, model the data-generating world explicitly. Include seed, assumptions, entities, temporal records, spatial or physical substrate, event windows, outcomes, derived comparisons, and invariants. Use ../../references/foundations/fictional-data-story-simulation.md.
  11. For concepted editorial, report, deck, generated-image, animation, scrollytelling, or existing-page integration work, use ../../references/foundations/meaning-preserving-visual-design-workflow.md and ../../references/foundations/mobile-first-responsive-visualization.md. Apply the shared workflow for concept images, large-screen/mobile variants, approval or iteration, and typed semantic design contracts for evidence locks, responsive states, generated assets, fallbacks, and approved deviations.
  12. For scrollytelling or parallax, use ../scrollytelling-and-parallax-data-visualization/SKILL.md and define a typed scene contract:
  • visible data layers
  • generated or illustrated assets
  • media assets
  • camera or transform state
  • annotation state
  • trigger or progress range
  • interaction state
  • static key frame
  • reduced-motion fallback
  1. For generated imagery, keep asset metadata explicit: prompt version, source, dimensions, focal crop, label-safe regions, alt text, continuity group, and data fields that bind to it.
  2. For UML-like or software architecture diagrams, use ../uml-and-software-architecture-visualization/SKILL.md first and keep a renderer-neutral diagram model separate from Mermaid, PlantUML, React Flow, Cytoscape.js, Sprotty, JointJS, GoJS, DOT, D2, or Structurizr adapters.

React Guidance

  • Prefer React-owned structure and D3-owned math when both are in play.
  • Keep expensive transforms out of repeated render paths.
  • Use clear component boundaries between c
Полный SKILL.md на GitHub

Установить typescript-data-visualization-engineering в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/export-and-product-integration.mdreferences/library-selection-for-builders.mdreferences/react-and-framework-boundaries.mdreferences/types-and-data-contracts.md

FAQ

Что делает скилл typescript-data-visualization-engineering?

Build typed data visualizations in TypeScript. Use when the user wants TypeScript visualization code, typed data models, browser visualization components, UML-like diagram models, interactive graph or architecture diagram contracts, scroll-driven scene contracts, library selection guidance, or a maintainable visualization architecture beyond React- or Next-specific concerns.

Как установить скилл typescript-data-visualization-engineering?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл typescript-data-visualization-engineering запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить typescript-data-visualization-engineering с