/open-dashboard:create-themefrom open-dashboard
Creates and applies dashboard themes — brand colours, fonts, corner radius, up/down colours, and dark mode. Writes themes/<id>.json, assigns themes to dashboards, and sets workspace defaults.
Ships in open-dashboard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A theme is one JSON file, themes/<id>.json, that overrides the colours,
fonts and corner radius of the dashboards that use it. Every built-in panel
and every custom chart draws through the same variables, so a theme restyles
all of them without touching any chart.
The user can also edit themes by hand on the Themes page of the viewer
(/themes), with a live preview. Writing the file yourself is the same thing.
One AskUserQuestion call, skipping what the user already said:
themes/<id>.json<id>: kebab-case or plain letters/digits, e.g. brand, finance-red.
{
"name": "Brand",
"font": "\"Noto Sans TC\", \"PingFang TC\", sans-serif",
"mono": "\"JetBrains Mono\", ui-monospace, monospace",
"radius": 6,
"light": {
"series": ["#1f4e9c", "#e0782e", "#2e9c6a", "#c9a227", "#9b59b6", "#16a2b8", "#7a4b2a", "#c0392b"],
"accent": "#1f4e9c",
"good": "#c62828",
"bad": "#2e7d32",
"page": "#f7f6f2",
"surface": "#ffffff",
"grid": "#e6e4dc"
},
"dark": {
"series": ["#5b8dd9", "#f0965a", "#4fbf8a", "#e0bd4a", "#b884cf", "#3cc3d6", "#b08060", "#e06656"],
"good": "#ef5350",
"bad": "#66bb6a"
}
}
Every field is optional; whatever is left out keeps the built-in value. The file is validated field by field and anything else is refused, so stay inside these:
| Field | Value |
|---|---|
name | Text, at most 80 characters. Shown in the theme picker. |
font, mono | A CSS font-family list: letters (any script — "微軟正黑體" is fine), digits, spaces, quotes, commas, dots, hyphens. No ;, braces or brackets. End with a generic family (sans-serif, monospace). |
radius | Panel corner radius in px, 0–24. The built-in is 10. |
light, dark | Colours for that mode, each optional: |
series | 1–8 colours, #rgb or #rrggbb — the chart palette, in order. |
accent | Links, focus, the selected item. |
good, bad | Up and down: deltas, status. Swap them for red-up markets. |
page, surface, grid | Page background, panel background, gridlines. |
Text drawn on a coloured mark picks black or white by contrast on its own — there is no field for it.
The built-in palette is a validated order; a theme replaces it, so keep what made it work:
good and bad must differ in more than hue (one lighter than the
other) — they always appear with an arrow, but colour-blind readers still
need them apart.page and surface close to white (light) or
near-black (dark); the data is the colour on the page, not the chrome.dark out rather than inventing
one — dark mode then keeps the built-in palette.One dashboard: add theme: '<id>' to its meta:
export const meta: DashboardMeta = { title: 'Marketing', theme: 'brand' }
(The user can do the same from Edit mode: the theme menu in the header
writes meta.theme on Save.)
Every dashboard by default: theme: '<id>' in open-dashboard.config.ts.
A dashboard's own meta.theme still wins.
Back to the built-in look: remove meta.theme (and the config theme).
Open /themes/<id> in the viewer: the preview draws a real dashboard with the
draft. Switch Light / Dark there. Then open each dashboard that uses it. If a
colour is refused, the page and the API name the field.
Tell the user which dashboards now use the theme, and that themes/<id>.json
can be edited on the Themes page from now on.
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/apply-commentsUse this skill when the user has left notes on panels in the open-dashboard viewer and wants them applied — "apply my comments", "do the notes I left", "I marked up the dashboard". Walks every `@dashboard-comment` marker, makes the change each asks for, verifies it, and removes the marker./connect-databaseUse this skill when the user wants to connect this open-dashboard workspace to a database or data warehouse — "connect to our Postgres", "use this SQLite file", "here is the SQL Server connection string", "hook up BigQuery / Snowflake / ClickHouse / Oracle", "query these Parquet files", "add a datasource", or when `open-dashboard sources` reports a failure. Covers SQLite, PostgreSQL (and Supabase, Neon, RDS, Redshift, CockroachDB…), MySQL (and MariaDB, PlanetScale, TiDB…), SQL Server / Azure SQL, Oracle, DuckDB / Parquet / CSV, ClickHouse, BigQuery and Snowflake. Do NOT use for writing dashboards — that is `create-dashboard`./create-chartUse this skill when a dashboard needs a chart that none of the built-in panels draws — a radar, a bespoke gauge, a domain-specific diagram — and the user wants it written once under `charts/` and reused in dashboards. Also use it to fix or restyle an existing custom chart under `charts/`. Do NOT use it when a built-in panel fits (check `dashboard-authoring` → *Choosing a panel* first), for dashboards themselves (`create-dashboard`), or for colours and fonts across a dashboard (that is a theme in `themes/`).npx claudepluginhub simonliu-ai-product/open-dashboard --plugin open-dashboardOther plugins' skills for the same job