flint-theme-author
Skill4.3k starsChanged 5 months agoMITView on GitHub
Use when: creating, translating, refining, reviewing, or validating a custom Flint ThemeSpec from brand guidelines, websites, slide decks, publication references, design tokens, or an existing visual identity. Produce a reusable ThemeSpec JSON object for Flint Theme Lab without inventing fields or changing chart semantics.
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about microsoft/flint-chart
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / flint-chart ⭐ 3,009 (+291) 🗒 TypeScript 🪄 Flint is a …”Bluesky · Aug 2, 2026 · 2 likes
- @yug1224.com“AIエージェントが綺麗なグラフを簡単に作れるようにする可視化言語ツールっぽい エージェントによるデータ分析の効率が上がりそうで見逃せない yug1224 starred microsoft/flint-chart…”Bluesky · Aug 2, 2026 · 2 likes
- @matsuu.bsky.social“AI時代のビジュアライゼーション用言語。バックエンドとしてVega-Lite, ECharts, Chart.js, Plotly, Excelなどを利用可能。MCPも搭載。提供元はMicrosoft”Bluesky · Aug 8, 2026 · 1 likes
- @technews4869.bsky.social“github.com/microsoft/flint... GitHub - microsoft/flint-chart: 🪄 Flint is a visualization language that …”Bluesky · Aug 2, 2026 · 1 likes
- @epicvibecoder.bsky.social“agents that finally make readable charts. Flint is a visualization language for agents. one compact spec, …”Bluesky · Jul 30, 2026 · 1 likes
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub, Bluesky and Hacker News (14 times).
On GitHub · 7
- Sep 30, 2026agent-skills.github.microsoft.flint-chart: init at 0.5.1 — sudosubin/agents.nix0 reactions
- Sep 7, 2026Bump the frontend-minor-patch group across 1 directory with 21 updates — microsoft/data-formulator0 reactions · 1 comment
- Sep 6, 2026Bump the frontend-minor-patch group across 1 directory with 22 updates — microsoft/data-formulator0 reactions · 1 comment
- Aug 20, 2026chore(web)(deps): bump the web-minor-patch group in /web with 12 updates — cortexapps/engrams0 reactions · 1 comment
- Aug 2, 2026Add flint MCP server — docker/mcp-registry0 reactions
2 more on GitHub
- Aug 2, 2026Data and charting tools — bears-ai/bear-den0 reactions
- Jun 30, 2026jul 2026 — kimtth/azure-openai-llm-notes0 reactions
On Bluesky · 6
- Aug 2, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / flint-chart ⭐ 3,009 (+291) 🗒 TypeScript 🪄 Flint is a visualization language that lets… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Aug 2, 2026AIエージェントが綺麗なグラフを簡単に作れるようにする可視化言語ツールっぽい エージェントによるデータ分析の効率が上がりそうで見逃せない yug1224 starred microsoft/flint-chart… — @yug1224.com2 likes and reposts
- Aug 8, 2026AI時代のビジュアライゼーション用言語。バックエンドとしてVega-Lite, ECharts, Chart.js, Plotly, Excelなどを利用可能。MCPも搭載。提供元はMicrosoft — @matsuu.bsky.social1 likes and repost
- Aug 2, 2026github.com/microsoft/flint... GitHub - microsoft/flint-chart: 🪄 Flint is a visualization language that lets AI agents reliably... — @technews4869.bsky.social1 likes and repost
- Jul 30, 2026agents that finally make readable charts. Flint is a visualization language for agents. one compact spec, and the compiler derives the… — @epicvibecoder.bsky.social1 likes and repost · 1 reply
1 more on Bluesky
- Jul 28, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / flint-chart ⭐ 2,370 (+218) 🗒 TypeScript 🪄 Flint is a visualization language that lets… — @github-trending-js.bsky.social1 likes and repost · 1 reply
On Hacker News · 1
- Jul 2, 2026Microsoft/Flint-Chart1 point
In this repository2 other files it gives its agents.
- flint-chart-authorSkill
- flint-chart-authorSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 12 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Create a reusable visual system for Flint charts.
- Distinctive: line 13
Read these before authoring.
- Very specific: line 21
Do not invent keys. If a requested decision cannot be represented by ThemeSpec, omit it and briefly identify the unsupported decision …
- Distinctive: line 31
Do not wrap JSON in a Markdown fence.
- Distinctive: line 32
Do not include comments, placeholders, ellipses, or trailing commas.
- Very specific: line 62
Every block except id and label may be omitted.
- Distinctive: line 80
Ask only for missing decisions that materially affect the theme: identity, required colors, typography, surface/background, density, …
- Very specific: line 93
Check every key and enum against types.ts.
- Very specific: line 98
Use extends when a built-in preset already supplies the intended compiler behavior and the new theme is a focused variation.
- Distinctive: line 109
Use a standalone theme when the reference system does not honestly inherit a preset's layout, typography, and presentation behavior.
- Distinctive: line 114
Use the source contract for exhaustive nested fields and enum values.
- Distinctive: line 164
Use available font families or defensible fallback stacks.
- Distinctive: line 175
Treat categorical colors as an ordered identity set.
- Distinctive: line 179
Use status colors only for semantic positive, negative, and neutral meaning.
- Very specific: line 183
Prefer semantic structure (measure versus category) over physical x/y assumptions.
- Distinctive: line 185
Keep the system coherent across line, bar, area, pie, matrix, distribution, multiseries, and faceted charts.
- Very specific: line 187
Use variants only for real conditional policy and include because to state why the adaptation exists.
- Distinctive: line 192
Before returning the JSON, verify:
- Very specific: line 196
Every top-level and nested key exists in types.ts.
- Distinctive: line 197
Every enum value and value type matches the source contract.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flint ThemeSpec authoring
Create a reusable visual system for Flint charts. Translate the user's reference
materials into one valid ThemeSpec that can be pasted directly into Theme Lab.
Authoritative references
Read these before authoring. When prose and source disagree, the TypeScript contract is authoritative.
- Theme guide: https://github.com/microsoft/flint-chart/blob/main/docs/theme-spec.md
- Exhaustive ThemeSpec types and allowed values: https://github.com/microsoft/flint-chart/blob/main/packages/flint-js/src/core/theme/types.ts
- Real preset implementations: https://github.com/microsoft/flint-chart/tree/main/packages/flint-js/src/core/theme/presets
- Theme Lab: https://microsoft.github.io/flint-chart/#/theme-lab
Do not invent keys. If a requested decision cannot be represented by
ThemeSpec, omit it and briefly identify the unsupported decision outside the
JSON only when the user asked for an explanation.
Output contract
Unless the user asks for commentary, return exactly one valid JSON object:
- Return the bare
ThemeSpec, not{ "theme_spec": ... }and not a completeChartAssemblyInput. - Do not wrap JSON in a Markdown fence.
- Do not include comments, placeholders, ellipses, or trailing commas.
- Include a stable kebab-case
idand a human-readablelabel. - Include only supported fields and only decisions justified by the references.
- Omit unspecified optional fields rather than guessing.
The top-level output schema is:
{
"extends": "optional-preset-id",
"id": "theme-id",
"label": "Theme label",
"ink": {},
"type": {},
"structure": {},
"marks": {},
"labels": {},
"legend": {},
"dataLabels": {},
"annotation": {},
"furniture": [],
"facets": {},
"layout": {},
"chartDefaults": {},
"compileDefaults": {},
"interaction": {},
"variants": []
}Every block except id and label may be omitted. The skeleton shows the
shape, not a requirement to emit empty blocks.
Theme boundary
A theme controls presentation and compiler behavior across many charts. It may decide color, typography, surfaces, grids, axes, mark geometry, labels, legends, annotations, density, spacing, facets, and reusable chart defaults.
A theme does not choose data fields, encodings, aggregation, filtering,
sorting, chart titles, or data values. Never put those decisions in a
ThemeSpec. Outside chartDefaults, authored policy must not name a chart
type, positional channel, mark type, field, or backend property.
Workflow
- Inspect the supplied references. Extract recurring decisions, not isolated decoration from one screenshot.
- Ask only for missing decisions that materially affect the theme: identity, required colors, typography, surface/background, density, accessibility constraints, and whether an existing Flint preset is a useful base.
- Separate evidence into system roles:
- surfaces and text hierarchy;
- categorical, sequential, diverging, and status color;
- typography roles;
- axes, grids, baselines, frames, and structural ink;
- mark weight, corners, points, separators, and spacing;
- labels, legends, annotations, facets, and layout behavior.
- Choose standalone authoring or inheritance.
- Author the smallest coherent spec that expresses the system.
- Check every key and enum against
types.ts. - Return the bare JSON object.
Choosing inheritance
Use extends when a built-in preset already supplies the intended compiler
behavior and the new theme is a focused variation. Available preset IDs are:
nyt, economist, swiss, nature, mckinsey, datawrapper, powerbi,
powerbi-light, pop, and cartoon.
Nested objects merge. Arrays and scalar values replace the preset value. If you
replace ink.series.categorical, also consider replacing
categoricalExtended; otherwise high-cardinality charts may return to the
base preset's extended palette.
Use a standalone theme when the reference system does not honestly inherit a preset's layout, typography, and presentation behavior.
Schema map
Use the source contract for exhaustive nested fields and enum values. These are the authored blocks and their jobs:
| Block | Purpose |
ink | Canvas, plot, panel, text, structural, series, status, and accent colors |
type | Minimum size and role-based typography for headlines, axes, values, annotations, footnotes, and displays |
structure | Semantic categorical/measure axes, grids, baseline, and frame |
marks | Band width, strokes, interpolation, opacity, corners, outlines, points, connectors, intervals, summaries, and separators |
labels | Truncation, flush behavior, and angle policy |
legend | Visibility, ordered placement choices, direction, title, swatches, and redundancy suppression |
dataLabels | Visibility, placement, and ink behavior for values on marks |
annotation | Units, axis titles, number formatting, point emphasis, labels, and statistics |
furniture | Repeating masthead tabs and header/footer rules |
facets | Headers, frames, axis repetition, spacing, columns, and scale sharing |
layout | Density, target width, title block, and band step |
chartDefaults | Optional defaults keyed by registered chart type or *; caller values still win |
compileDefaults | Preferred base size, canvas size, and supported assemble options |
interaction | Tooltip format and semantic selection-boundary paint |
variants | Conditional policy adaptations; variants may not change ink or type |
High-value nested shapes
{
"ink": {
"surface": { "source": "house", "canvas": "#ffffff", "plot": "#ffffff", "panel": "#f5f5f5" },
"text": { "primary": "#111111", "secondary": "#444444", "muted": "#777777", "inverse": "#ffffff" },
"structure": { "axis": "#222222", "grid": "#dddddd", "frame": "#cccccc", "rule": "#222222", "zero": "#222222", "connector": "#888888" },
"series": {
"single": "#0067b8",
"categorical": ["#0067b8", "#d83b01", "#107c10"],
"categoricalExtended": ["#0067b8", "#d83b01", "#107c10", "#5c2d91"],
"overflow": "#777777",
"sequential": { "stops": ["#e8f3fb", "#0067b8"], "space": "lab", "endpointsAgainstSurface": true },
"diverging": { "stops": ["#0067b8", "#f5f5f5", "#d83b01"], "neutral": "#f5f5f5", "space": "lab", "endpointsAgainstSurface": true },
"status": { "positive": "#107c10", "negative": "#d83b01", "neutral": "#777777" }
},
"accent": "#0067b8"
}
}interaction.selectionBoundary accepts color, width, opacity, haloColor, haloWidth, and haloOpacity. Omitted paint is grounded from the theme: foreground from ink.accent then primary text, and halo from the plot or canvas surface. Use explicit values only when the house has a distinct interaction treatment.
This is a shape example, not a palette recommendation. Derive actual values from the user's references.
Typography roles accept family, size, weight, style, case, and
color. Allowed weights are regular, medium, semibold, and bold.
Use available font families or defensible fallback stacks; do not claim a font
is available merely because it appears in an image.
Presence-driven policies use omit, hairline, quiet, full, or
emphasised. Density uses compact, normal, or airy. Read types.ts
before using less common enums.
Translation guidance
- Map brand neutrals to surfaces, text hierarchy, and structure before mapping accent colors to data series.
- Treat categorical colors as an ordered identity set. Keep adjacent colors distinguishable and ensure the palette remains legible on the plot surface.
- Build sequential ramps with ordered lightness. Build diverging ramps around a meaningful neutral. Do not use categorical arrays as numeric ramps.
- Use status colors only for semantic positive, negative, and neutral meaning.
- Preserve readable contrast for primary text, axes, labels, and values.
- Translate recurring geometry into
marks; do not encode a one-off shape from a single chart as global policy. - Prefer semantic structure (
measureversuscategory) over physical x/y assumptions. - Keep the system coherent across line, bar, area, pie, matrix, distribution, multiseries, and faceted charts.
- Use
variantsonly for real conditional policy and includebecauseto state why the adaptation exists.
Validation checklist
Before returning the JSON, verify:
- It parses as strict JSON.
- It is a bare object with
idandlabel. - Every top-level and nested key exists in
types.ts. - Every enum value and value type matches the source contract.
- It contains no chart data, fields, encodings, titles, or backend JSON.
- Text and structural ink remain readable against their surfaces.
- Categorical colors are distinguishable; ramps have ordered lightness and usable endpoints.
- Inherited arrays are intentionally replaced.
- The theme expresses reusable rules rather than one chart's decoration.
- The result can be pasted directly into Flint Theme Lab.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

