Command Palette

Search for a command to run...

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

code-map-visualization

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

Rendering and perception layer for codebase-as-geohash-map visualisations — choosing what to encode on colour/size/position, picking perceptually honest…

pproencaот pproenca★ 231 звезда на GitHub

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

Code Map Visualization Best Practices

How to render and visually navigate a codebase that has been projected and geohashed into a 2D map — making it honest, fast, legible, interactive, animated, and accessible. This is the rendering and perception craft on top of the spatial structure: it draws on decades of information-visualisation, cartography, computer-graphics, and nature-/biology-inspired layout knowledge so a code map reads correctly and runs at interactive rates. Contains 47 rules across 9 categories, prioritised by impact.

When to Apply

Reference these guidelines when:

  • Deciding what code attribute to put on which visual channel (position, size, colour) and which colour scale tells the truth
  • Drawing tens of thousands to millions of cells on the web with Canvas2D, WebGL, or deck.gl, and keeping the render loop inside the frame budget
  • Placing and decluttering region/file labels, and rendering legible text over a busy map
  • Wiring up interaction — hover, picking, selection, a camera/view-state model, deep links, keyboard control
  • Animating camera moves, level-of-detail transitions, and data updates without disorienting the viewer
  • Making the canvas accessible to color-vision-deficient, motion-sensitive, keyboard-only, and screen-reader users

A note on scope

This skill is the rendering and perception layer. The companion skill geohash-spatial-code-maps owns the spatial math — geohash encoding, the code→plane projection, bbox/covering-set queries, tiling, and the precision↔zoom navigation model. Rules here cross-link into that skill (e.g. map-deterministic-projection, nav-level-of-detail-aggregation) rather than re-deriving it. Examples target TypeScript with Canvas2D + WebGL/deck.gl and d3-scale/d3-color; the perceptual reasoning generalises to any rendering stack.

Rule Categories by Priority

Priority Category Impact Prefix Rules
1 Visual Encoding & Perceptual Channels CRITICAL encode- 6
2 Color & Perceptual Color Scales CRITICAL color- 5
3 GPU Render Pipeline (Canvas2D + WebGL) HIGH gpu- 6
4 Render Performance & Frame Budget HIGH perf- 5
5 Labels & Text Rendering MEDIUM-HIGH text- 5
6 Interaction, Picking & Camera MEDIUM-HIGH interact- 5
7 Animation & Transitions MEDIUM anim- 4
8 Accessibility & Inclusive Rendering MEDIUM access- 4
9 Nature- & Cell-Inspired Layout & Rendering MEDIUM bio- 7

Quick Reference

1. Visual Encoding & Perceptual Channels (CRITICAL)

2. Color & Perceptual Color Scales (CRITICAL)

3. GPU Render Pipeline — Canvas2D + WebGL (HIGH)

Полный SKILL.md на GitHub

Установить code-map-visualization в Claude Code и Claude Desktop

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

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

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

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

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

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

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

AGENTS.mdassets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/access-encode-redundantly-never-color-alone.mdreferences/access-honor-prefers-reduced-motion.mdreferences/access-make-the-map-keyboard-operable.mdreferences/access-provide-a-text-alternative-for-the-canvas.mdreferences/anim-crossfade-between-lod-levels.mdreferences/anim-ease-camera-transitions-not-jumps.mdreferences/anim-keep-transitions-interruptible-and-budgeted.mdreferences/anim-preserve-object-constancy-on-data-update.mdreferences/bio-circle-packing-for-nested-counts.mdreferences/bio-edge-bundling-for-dependency-overlays.mdreferences/bio-flow-fields-for-animated-dependency-load.mdreferences/bio-metaball-hulls-for-region-membranes.mdreferences/bio-phyllotaxis-packing-for-even-point-spread.mdreferences/bio-relax-weights-for-even-cell-areas.mdreferences/bio-voronoi-regions-for-space-filling-tessellation.mdreferences/color-control-contrast-against-basemap.mdreferences/color-design-for-color-vision-deficiency.mdreferences/color-limit-categorical-hues.mdreferences/color-match-scale-type-to-data.mdreferences/color-perceptually-uniform-sequential-ramp.mdreferences/encode-let-projection-own-position.mdreferences/encode-maximize-data-ink-drop-chartjunk.mdreferences/encode-rank-channels-by-perceptual-accuracy.mdreferences/encode-redundant-encoding-for-key-signals.mdreferences/encode-separate-categorical-from-quantitative.mdreferences/encode-size-by-area-not-radius.mdreferences/gpu-atlas-tiles-and-glyphs.mdreferences/gpu-batch-to-cut-draw-calls-and-state-changes.mdreferences/gpu-instance-cells-not-per-quad-draw.mdreferences/gpu-layer-canvas2d-over-webgl.mdreferences/gpu-pack-attributes-into-typed-arrays.mdreferences/gpu-size-canvas-to-devicepixelratio.mdreferences/interact-keep-hover-feedback-under-one-frame.mdreferences/interact-model-the-camera-not-the-dom.mdreferences/interact-pick-with-gpu-color-id-or-spatial-index.mdreferences/interact-support-keyboard-pan-zoom-and-focus.md

FAQ

Что делает скилл code-map-visualization?

Rendering and perception layer for codebase-as-geohash-map visualisations — choosing what to encode on colour/size/position, picking perceptually honest colour scales (viridis/OKLCH, not rainbow), drawing tens of thousands of cells on Canvas2D + WebGL/deck.gl inside a 16ms frame budget, placing and decluttering labels, GPU or spatial-index picking, camera animation and level-of-detail crossfades, and keyboard plus screen-reader accessibility for the canvas. Sits on top of geohash-spatial-code-maps, which owns the geohash encoding, projection, tiling, and navigation math. Also covers nature-inspired rendering — Voronoi, circle packing, phyllotaxis, metaball hulls, edge bundling. Trigger even when the user does not say "visualisation" — if the work involves drawing, colouring, labelling, animating, or making navigable a code map, spatial heatmap, or large cell/point layer on the web, this is the skill.

Как установить скилл code-map-visualization?

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

Скилл code-map-visualization запускает скрипты?

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

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

Сравнить code-map-visualization с