Логотип Dataviz Color

Dataviz Color

Сообщество
skthewimp
dataviz-color

Подбирайте и назначайте цвета для конкретной диаграммы или таблицы с цветовым оформлением. Используйте этот навык всякий раз, когда для визуализации нужна палитра: при выборе цветов рядов, назначении оттенков категориям, проверке доступности палитры, соблюдении фирменной палитры или подборе исходных цветов по диаграмме во время её исправления. Навык определяет, какие цвета из доступных использовать и как их назначить, учитывая контраст, различимость соседних рядов, нарушения цветового зрения, отображение в оттенках серого и акцент на ключевом цвете на сером фоне. Фирменные или стилевые рекомендации, заданные установленным навыком бренда или в промпте, важнее настроек по умолчанию. При этом для конкретного графика всё равно нужно решить, какие цвета использовать и как их назначить. WCAG — вспомогательный ориентир для оценки, а не строгое условие.

Обзор

Издательskthewimp
Репозиторийkarthik-data-visualization-skill
Название навыкаdataviz-color
Звёзды
49
Форки
5
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — skthewimp. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Dataviz Color в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-color/codex
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skthewimp/karthik-data-visualization-skill.git /tmp/karthik-data-visualization-skill
mkdir -p .claude/skills
cp -r /tmp/karthik-data-visualization-skill/dataviz-color/codex .claude/skills/dataviz-color
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Dataviz Color в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Dataviz Color, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Dataviz Color не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Dataviz Colour

Own the colour decision for one visualization: which colours to use and how to assign them to this chart's series or categories. This is a decision for the specific graph, not a palette look-up - even with a brand palette or recommended set in hand, a chart with N series and a given background still needs a call on which to use and how to assign them. Don't design the form, write annotations, or set number precision (those belong to karthik-data-visualization, chart-annotations, dataviz-precision).

The assignment arithmetic lives in the dataviz MCP as recommend_colours. Use it when the server is installed; without it, apply the same rules by hand (brand first, maximise separation between series while each reads on the background, then check contrast, colour-vision deficiency and grayscale by eye on the export). Keep the judgement here. Inside the construct pipeline, that judgement (available source, focal series, semantic meaning) is made at select as a compact colour_plan, resolved by recommend_colours, and applied at build - so this full skill is the standalone authority the plan distils, not a body loaded into the build call.

1. Where the available colours come from (precedence, higher wins)

  1. A brand or style skill, if installed. Scan the available-skills list for a name matching brand, style, design-system, theme, or palette; if one exists, invoke it and honour its palette and forbidden colours. The usual way a brand arrives.
  2. Colours or style guidance in the prompt/context - hex values, a named palette, "use our greens", a pasted style guide. Honour these too.
  3. Accessibility defaults when neither exists: colour-blind-safe starting palettes (Okabe-Ito, ColorBrewer, viridis).

Whatever wins defines the available set - the input to the decision, not the answer.

2. How many colours (max series per panel, not total categories)

Size the palette to the maximum number of series sharing a single panel that must be told apart by colour - a property of the form, not the total category count. N lines in one panel need N. Small multiples with k lines per panel need k (reused across panels), not the total across panels. Small multiples with one line per panel, direct labels, or position carrying identity need 0. Focal-plus-grey needs 1. Take that count as n_series (or use the count an upstream step handed you). When it's 0 there is no colour decision.

3. Always recommend for the specific graph

Call recommend_colours(available, colour_groups, background, focal, available_source=...). Pass where the set came from: brand and prompt colours (brand-skill, prompt) are spent first, exactly as given, and the tool only generates colours when there are more series than brand colours. A proposed set or hues read off a source image (source-extracted) are a prior: a colour that cannot be told apart from one already placed, or does not read on the background, is replaced by a generated one that can. It picks and assigns by maximising the minimum separation between series while keeping each readable against the background, and pins focal to the first series. The returned palette is ordered and prefix-nested (ordered_palette): the first m colours are themselves a good m-colour palette, so a panel with fewer series uses the first that many and the mapping stays consistent across panels. Read its rationale, shortfall, suggested_additions:

  • Available set too small for the series count → add the suggested additions/substitutions or collapse series, rather than reusing a hue.
  • Colours dropped for low background contrast → respect it; a light mark on a light ground is not a real option for a thin line (a large fill tolerates less).

Picking a subset from an available set is the normal case.

3a. Categorical series vs continuous magnitude - decide this first

Before calling anything, decide what colour encodes. Two different problems:

  • Categorical - colour tells apart series or categories (lines, bars, groups). N distinct colours. This is recommend_colours, everything above and below.
  • Continuous - colour encodes one ordered quantity (a heatmap/matrix fill, a choropleth, a colour-mapped value). This is not N series; it is a scale, chosen by hand with the rules below. Do not run a magnitude through recommend_colours - it collapses the variable to one series colour and judges the ramp's stops as if they were confusable series (a sequential ramp should have close neighbours). A heatmap of scores is the common trap.

For a continuous scale:

  • Sequential vs diverging. A one-sided magnitude (0-100 scores, counts, durations - higher is just more) has no intrinsic centre; sequential is the honest default. Reach for diverging when a midpoint carries meaning and separating low / middle / high aids the read - a signed quantity straddling zero, a value above/below a target, or a dense score matrix where a diverging ramp simply discriminates better. Diverging is often the better read for a matrix; choose it on that judgement, not by rote.
  • Midpoint from the data, never a constant. If an external reference exists (a target, a break-even, zero), that is the midpoint. Otherwise derive it from the data (the median), so the ramp splits these values, not an arbitrary 50. Diverge only when a real centre exists, or when you judge the split reads better for a score matrix.
  • Colours are recommended, not hardcoded. Poles come from the brand/context pool when there is one, chosen fresh only when there isn't. Never bake a fixed red-white-blue (or any fixed ramp) into the decision - let brand and background choose the hues. The two poles must stay apart in lightness so the extremes survive grayscale and CVD, and at least one end must read on the background.
  • Missing values are off the scale. NA cells get a distinct neutral, kept separate from a near-background diverging midpoint so an empty cell never reads as a mid-value one. Never leave missing cells to fall on a scale colour.

3b. Semantic colour - use it whenever it fits

When a series carries a colour meaning the reader already holds - a "loss" that reads red, an "ocean" that reads blue, a party or brand with a known colour - honour it; a semantically apt colour is understood before the legend. Reach for this by default when appropriate, and stand down only when something argues against it: the prompt or brand guidance says not to; the convention isn't shared by this audience (colour meaning is culture-relative - red is loss in US markets, gain in Indian and Chinese ones - so decide in context, never from a fixed table); or it costs accessibility (a red/green polarity collapsing under CVD - prefer blue/orange).

You own which series means what, and its away kit. Pass it as semantic_hints:

  • {"series_index": i, "colour": "#hex"} - a hard pin, for an exact colour (brand red, fixed party colour).
  • {"series_index": i, "hue_family": "blue"} - a soft family (the usual case): name the hue family and recommend_colours picks the nearest in-family colour from the available set, so brand and accessibility still shape the shade.
  • Add "alternates": [...] (colours or family words) as away kits for when a series' colour would clash.

Priority the tool enforces: (1) series stay distinguishable - the near-hard bar; (2) semantic meaning outranks accessibility - a soft family may take a low-contrast or CVD-weaker in-family colour and is honoured, not vetoed (the returned validation still flags it); (3) contrast/CVD/grayscale are soft diagnostics. Meaning wins over accessibility, but never at the cost of two series collapsing into one colour.

Away kits (the football rule). When two series' colours would clash, one keeps home and the other switches to an away kit - a different but still-its-own colour from alternates, not a mechanical darkening. Home is kept for hard pins, then focal, then the lower series_index; the clashing series takes the first away kit that separates. With no clearing away kit the tool keeps home and flags semantic_collision - it never silently reskins a series you didn't give an alternate for; supply one that still reads as its own, or merge the series. Read semantic_findings: semantic_unmet = no in-family colour available (add one or accept the separation pick); semantic_collision = resolve with an away kit. Hints make positions identity-bound, so the palette is no longer prefix-nested (prefix_nested: false) - expected. Use semantic colour where meaning earns a hue, not to colour every series.

4. Defaults and craft rules (when choosing freely)

  • Focal colour plus grey. One series focal; the rest muted grey context, unless every series genuinely competes for attention.
  • Adjacent regions differ in hue AND lightness - never hue alone, especially stacked or touching areas.
  • Don't rely on hue to carry meaning; avoid red-versus-green as the only distinction.
  • WCAG soft targets: ~4.5:1 normal text, 3:1 large text, 3:1 against background for small/thin essential marks. Diagnostic, not a gate.

5. Repair: source colours are a prior, not a rule

Read the source's dominant hues off the image. Treat them as a prior: feed them as the available set or a focal hint and keep the semantic mapping (which series a colour stands for), then override any specific hue freely for brand or accessibility. Preserve the mapping; don't defend the exact colours.

6. Validate and iterate

recommend_colours scores its own assignment and returns the result as validation: soft fails on background contrast, adjacent-series distinctness, CVD (deutan/protan/tritan), and grayscale, each with a concrete nudge. Act on them (lighten/darken to separate, or shift a hue, then pass the adjusted set back in as available) and look at the export once it is rendered. A soft_fail is guidance, not a stop - accessible multi-colour palettes on white are genuinely hard, so weigh the findings against how the chart is actually read.

Часто задаваемые вопросы

Что делает навык ИИ Dataviz Color?

Подбирайте и назначайте цвета для конкретной диаграммы или таблицы с цветовым оформлением. Используйте этот навык всякий раз, когда для визуализации нужна палитра: при выборе цветов рядов, назначении оттенков категориям, проверке доступности палитры, соблюдении фирменной палитры или подборе исходных цветов по диаграмме во время её исправления. Навык определяет, какие цвета из доступных использовать и как их назначить, учитывая контраст, различимость соседних рядов, нарушения цветового зрения, отображение в оттенках серого и акцент на ключевом цвете на сером фоне. Фирменные или стилевые реко...

Зачем использовать Dataviz Color в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Dataviz Color — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Dataviz Color в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-color/codex. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Dataviz Color?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Dataviz Color?

С любым количеством. В TypingMind вы можете использовать Dataviz Color с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Dataviz Color?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — skthewimp. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип mattpocock

Grilling

mattpocock
СообществоПопулярный

Неустанно расспрашивайте пользователя о плане, решении или идее, подвергая их жесткой проверке. Используйте, если пользователь хочет проверить свои рассуждения на прочность или использует любую из фраз-триггеров со словом «grill».

22.3K
264.4K
Файлы: 1
Открыть
Логотип mattpocock

Teach

mattpocock
СообществоПопулярный

Научите пользователя новому навыку или концепции в рамках этого рабочего пространства.

22.3K
264.4K
Файлы: 5
Открыть
Логотип affaan-m

Api Design

affaan-m
СообществоПопулярный

Паттерны проектирования REST API, включая именование ресурсов, коды состояния, пагинацию, фильтрацию, ответы с ошибками, версионирование и ограничение частоты запросов для API в продакшене.

39.1K
261.1K
Инструкции
Открыть
Логотип affaan-m

Accessibility

affaan-m
СообществоПопулярный

Проектируйте, реализуйте и проверяйте цифровые продукты с учётом инклюзивности в соответствии со стандартом WCAG 2.2 уровня AA. Используйте этот навык для создания семантической разметки ARIA для веба и атрибутов доступности для веб-приложений и нативных платформ (iOS/Android).

39.1K
261.1K
Инструкции
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇