Logo di Scientific Color Maps

Scientific Color Maps

Community
DoiiarX
scientific-color-maps

Seleziona, implementa e verifica mappe di colori scientificamente accurate, percettivamente uniformi e accessibili a chi ha deficit della visione dei colori. Usala per creare o rivedere grafici, mappe di calore, mappe, campi scalari, barre di probabilità, indicatori di avanzamento, figure scientifiche, dashboard o codice di visualizzazione; per scegliere una palette o decidere se le variazioni di tonalità trasmettono un significato reale; per sostituire scale arcobaleno, jet, turbo, combinazioni arbitrarie di colori per valori bassi, medi e alti o scale rosso-verde; oppure per verificare la leggibilità in scala di grigi, il daltonismo, le barre dei colori, la normalizzazione e le possibili distorsioni visive. Si attiva anche con termini inglesi britannici come colour, colour map e colour-vision deficiency.

Panoramica

Pubblicato daDoiiarX
Repositoryclaude-skills
Nome della skillscientific-color-maps
Stelle
23
Fork
0
File inclusi
4
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 4

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da DoiiarX su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Scientific Color Maps in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/DoiiarX/claude-skills/tree/main/scientific-color-maps
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DoiiarX/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/scientific-color-maps .claude/skills/scientific-color-maps
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Scientific Color Maps in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Scientific Color Maps non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Scientific Color Maps non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Scientific Color Maps

Treat color as a quantitative axis, not decoration. Preserve the structure of the data, make the mapping interpretable, and keep it readable under common color-vision deficiencies and grayscale reproduction.

Workflow

  1. Inspect the data and intended claim before choosing colors.
  2. Identify whether color is the primary quantitative channel or only reinforces position, length, height, or labels.
  3. Classify the variable and select the matching map class.
  4. Decide whether hue changes have a defensible semantic or perceptual purpose.
  5. Choose a documented perceptually uniform palette.
  6. Separate direct visualization evidence from adjacent color-psychology evidence.
  7. Implement the scale, normalization, limits, and color bar together.
  8. Validate the result under grayscale, color-vision simulation, and the final background.
  9. Report the exact palette and mapping decisions when reproducibility matters.

Read references/selection-and-audit.md when selecting among map classes, auditing an existing figure, or needing implementation guidance.

Read references/evidence-and-tools.md when applying visual-weight research, standardizing colors across figures, evaluating evidence strength, or deciding which validation tools to use.

Classify the Data

  • Use a sequential map for ordered values progressing from low to high.
  • Use a diverging map only when a meaningful reference value separates two directions, such as zero, an anomaly, or a target. Place the visual midpoint at that value.
  • Use a cyclic map for periodic values whose endpoints are equivalent, such as phase, angle, time of day, or orientation.
  • Use categorical colors for unordered groups. Do not imply magnitude through a continuous gradient.
  • Use a discrete form of the appropriate ordered map when values are binned. Keep bin boundaries explicit.

Do not choose a diverging map merely because the data contain positive and negative values; require a meaningful center. Do not choose a categorical palette for continuous measurements.

Decide Whether Hue Carries Meaning

Do not interpret “different values need different colors” as permission to assign unrelated hues. First identify the role of color:

  • When position, length, height, area, or text already carries the value, treat color as redundant reinforcement. Prefer one fixed hue with monotonic lightness or saturation. Keep zero, missing, disabled, and out-of-domain states visually separate.
  • When color is the primary quantitative channel in a dense heatmap, image, map, or scalar field, allow a documented perceptually uniform sequential map to vary in hue if its lightness remains ordered and its transitions do not create false boundaries.
  • Use distinct categorical hues only for genuinely unordered identities or states.
  • Use discrete threshold hues only when thresholds define real named business or scientific states. Label the thresholds; otherwise retain a continuous sequential scale.
  • Use opposing hues only for a diverging variable with a meaningful center.
  • Use cyclic hue progression only for periodic variables whose endpoints are equivalent.

For compact probability bars, progress bars, meters, ranked bars, and sparklines, default to a single-hue ordered ramp when bar height or length already expresses magnitude. Do not map arbitrary low, medium, and high bands to blue, amber, and green unless those bands are established operational states with documented thresholds and actions.

Respect Evidence Scope

  • Give direct scientific-visualization evidence priority for quantitative encoding decisions.
  • Use product, marketing, and object-perception studies only to identify possible salience, weight, size, or stability biases. Do not turn them into universal hue rankings or quantitative palette prescriptions.
  • Keep decorative and editorial goals separate from data encoding. A color treatment that makes a cover, card, or product feel stable can still bias a chart.
  • Avoid directional decorative gradients inside bars, areas, nodes, and other quantitative marks. A bottom-dark/top-light gradient can alter perceived weight or stability independently of the encoded value.
  • Do not state that warm colors are always heavier, red is always heaviest, or yellow is always lightest. Lightness, saturation, area, position, background, culture, and task interact.

Preserve Semantic Consistency

  • Keep the same entity, category, state, and reference value mapped to the same color across related figures.
  • Maintain a palette registry when a report, dashboard, paper, or product contains multiple views.
  • Do not reuse one color for incompatible meanings such as “high risk” in one figure and an ordinary category in another.
  • Record palette name and version, exact samples, normalization, limits, center, missing-data treatment, and background when reproducibility matters.

Preserve Data Meaning

  • Prefer palettes with approximately uniform perceptual change along the scale and a monotonic lightness path where the class permits it.
  • Prefer the least complex color encoding that preserves the intended comparison. Adding hue is not automatically more informative.
  • Avoid rainbow, jet, and rainbow-like scales, including turbo, for quantitative scientific data. Their uneven lightness and color transitions can invent boundaries, hide variation, and overemphasize arbitrary ranges.
  • Avoid red-green encoding at similar lightness. Never rely on hue alone for critical distinctions.
  • Keep palette sampling uniform. Do not squeeze, stretch, splice, or reorder sections of a validated palette.
  • Use nonlinear normalization only when justified by the data or task. Label it explicitly and ensure the color bar uses the same transformation.
  • Set limits from a defensible rule. Disclose clipping, saturation, winsorization, logarithmic transforms, and asymmetric ranges.
  • Keep a visible, labeled color bar for continuous or ordered color encodings unless values are directly labeled.
  • Account for the final background, neighboring marks, interpolation, transparency, and print conditions.

Prefer Trusted Palette Families

Start with maintained, documented families rather than inventing a palette:

  • Matplotlib perceptually uniform maps: viridis, cividis, magma, inferno, plasma.
  • Fabio Crameri Scientific Colour Maps: sequential, diverging, cyclic, discrete, and categorical options with diagnostics and versioned releases.
  • cmocean: parameter-oriented sequential, diverging, and cyclic maps.
  • ColorBrewer: especially useful for discrete sequential, diverging, and qualitative maps.
  • CET palettes: broad coverage, but verify the specific palette because quality varies across the collection.

Match the palette to the data semantics; a reputable palette from the wrong class is still misleading.

For unordered categories, consider an established color-universal-design palette such as Okabe-Ito as a starting point, then validate it at the actual mark size and background. Do not treat any categorical palette as universally safe.

Use the Bundled Audit Tool

Run scripts/audit_palette.py when exact palette samples are available:

bash
python3 scripts/audit_palette.py audit --class sequential \
  '#b8e3dc' '#8dd2c7' '#62c0b1' '#36ad9a' '#1b9283'

Discover usage incrementally with python3 scripts/audit_palette.py and python3 scripts/audit_palette.py audit --help. Use --format json for stable machine-readable output, --stdin in pipelines, and --warnings-as-errors for CI-style screening. Treat the report as a screening diagnostic, not certification: it measures CIELAB lightness, CIE76 color differences, grayscale spacing, and class-specific structural checks, but it does not model viewing environment, simultaneous contrast, or color-vision deficiency.

Validate Before Delivery

Perform checks on the rendered output, not only on palette swatches:

  • Convert to grayscale and confirm ordering, extrema, and important structures remain legible.
  • Simulate deuteranopia, protanopia, and tritanopia when tools permit.
  • Check that equal data steps do not produce conspicuously unequal visual steps.
  • Check whether every hue transition has a data-semantic or perceptual justification. Remove hue changes that merely decorate an already encoded magnitude.
  • Check that the most visually salient point corresponds to a meaningful value rather than an accidental bright band.
  • Confirm that the center, endpoints, limits, ticks, units, and missing-data color are unambiguous.
  • Check legends and annotations independently; accessibility of the continuous map does not guarantee accessibility of every overlay.

When only a raster image is available, label findings as visual heuristics. Do not claim perceptual uniformity has been measured unless the palette samples or source code are available for analysis in a perceptual color space.

Deliver Actionable Results

When creating a visualization, state the selected map class, palette name, normalization, limits, center if any, missing-data treatment, and validation performed. When auditing, distinguish:

  • definite defects visible in the artifact,
  • likely risks that require source data or palette samples to verify,
  • concrete replacements and code-level changes.

Preserve the user's plotting library and visual conventions unless they conflict with accurate representation or accessibility.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Scientific Color Maps?

Seleziona, implementa e verifica mappe di colori scientificamente accurate, percettivamente uniformi e accessibili a chi ha deficit della visione dei colori. Usala per creare o rivedere grafici, mappe di calore, mappe, campi scalari, barre di probabilità, indicatori di avanzamento, figure scientifiche, dashboard o codice di visualizzazione; per scegliere una palette o decidere se le variazioni di tonalità trasmettono un significato reale; per sostituire scale arcobaleno, jet, turbo, combinazioni arbitrarie di colori per valori bassi, medi e alti o scale rosso-verde; oppure per verificare la...

Perché usare Scientific Color Maps su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Scientific Color Maps è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Scientific Color Maps in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/DoiiarX/claude-skills/tree/main/scientific-color-maps. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Scientific Color Maps?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Scientific Color Maps?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Scientific Color Maps: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Scientific Color Maps è gratuita?

È pubblicata su GitHub da DoiiarX. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇