/spectrum-design-data:design-datafrom spectrum-design-data
Look up Adobe Spectrum design tokens, component schemas, and design guidelines. Read-only queries against an embedded Spectrum snapshot for token values, naming conventions, and component options.
Ships in spectrum-design-data. 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.
Read-only lookup of Spectrum design tokens, component schemas, and design
guidelines through the @adobe/design-data-mcp MCP server. The server runs
in-process against a Spectrum snapshot embedded in the package.
This skill complements React Spectrum and Spectrum Web Components guidance. It answers from data; it does not generate components or integrate with a framework.
Installing the spectrum-design-data plugin (Claude Code or GitHub Copilot) registers
the MCP server for you: no manual MCP configuration. Requires Node.js >=20.12.0.
The first run downloads the pinned package with npx; after that, lookups use the
embedded snapshot.
If you installed only this skill folder (for example as a Cursor rule), the tools are not available until you add the server yourself, pinned to the version this skill was written for:
{
"mcpServers": {
"design-data": {
"command": "npx",
"args": ["-y", "@adobe/[email protected]"]
}
}
}
Tools are listed below by their server names. Clients prefix them: Claude Code
exposes the plugin's tools as mcp__plugin_spectrum-design-data_design-data__<tool>, and a
manually configured server as mcp__design-data__<tool>. Use whichever the client
lists.
design-data-primerOverview of the embedded dataset: token count, mode-sets, component list, taxonomy
fields, guidelines, and provenance (provenance.designDataVersion is the snapshot
version). Call this first in a session. No required inputs.
design-data-queryFilter tokens by expression. Required: filter (string), e.g. component=button,
component=button,state=hover, property=*color*, state=hover,colorScheme=dark.
Filterable fields: property, component, variant, state, colorScheme, scale,
contrast, uuid. component matches the tokens a component's relationships bind to.
Returns an array of matching tokens (empty when none match).
design-data-suggestRank tokens against a natural-language intent. Required: intent (string), e.g.
"primary CTA button background color". Optional: limit (number, default 5).
design-data-componentFull component declaration (displayName, description, options such as variants,
sizes, states, booleans). Required: id (kebab-case, e.g. action-button).
design-data-component-searchFind components by name, description, or docs text. Required: query (string).
Optional: category (string), limit (integer, default 10). Returns id,
displayName, category, and a snippet; pass the id to design-data-component.
design-data-resolveResolve a token property to its value for a mode context. Required: property
(string, e.g. corner-radius). Optional: colorScheme (light/dark),
scale (desktop/mobile), contrast (regular/high), and narrowing by
component, variant, state, colorRole, or excludeDeprecated. Errors when no
token matches. Active tokens rank above deprecated ones. Ambiguity can still occur:
when ambiguous: true, the token is only the top pick; narrow further or report the
alternatives instead of presenting one value as definitive.
design-data-guideline-list and design-data-guidelinedesign-data-guideline-list lists guideline pages (optional category:
designing, fundamentals, developing, support). design-data-guideline
returns one page by id, the slug from the list (e.g. colors).
design-data-visual-recipe and design-data-renderdesign-data-visual-recipe returns a component's visual recipe by id; only
components with a recipe are available (the error lists them). design-data-render
draws one. Required: component. Optional: size (default m), states (e.g.
["hover"]), options (object), colorScheme, scale, label, width (px),
format (svg by default, or png), pixelRatio (PNG only, 1 to 4, default 2) and
fontPath (PNG only, see Fonts).
svg returns the markup as text. Its text is drawn in whatever font the viewer has.png returns an image and a JSON block { font, diagnostics }. Show the image to the
user. Read font before describing it (see Fonts), and mention anything in
diagnostics that affects what they see.PNG output and design-data-font-status need an @adobe/design-data-mcp newer than 1.11.0.
An older server ignores format: "png" and returns SVG text, and has no
design-data-font-status tool. If a png call returns text that starts with <svg, or the
status tool is missing, tell the user the MCP server is out of date and to update it (the
plugin's next release, or npx -y @adobe/design-data-mcp without a version pin); do not present
the SVG as a PNG.
design-data-font-statusWhich font draws text in PNG renders: { found, fallback, using, rejected, related, help, searched }. Optional: fontPath to check a specific file. Call it before a
PNG when the user cares about typography, or any time a render's font.fallback is
true.
PNG text uses Adobe Clean Spectrum VF when it is installed on the user's machine: the server finds it by itself in the usual font folders and in Creative Cloud's font cache, so there is nothing to ask the user for. When it is not installed, the server draws text in a bundled open font (Source Sans 3) and says so.
Follow the status, not a guess:
font.found is true: the real font was used. Do not tell the user to download or
install anything.font.fallback is true: say that the text is drawn in a similar open font and may
differ slightly in width, and do not call the image exact. Then pass on font.help.
For an Adobe employee that means: download AdobeCleanSpectrumVF-Roman.ttf from the
Brand Center (https://inside.corp.adobe.com/content/inside/en/brand-center/font.html,
employees only) and install it (double-click the file). If they are not at Adobe they
cannot get the font, so the fallback is the best this tool can do; say so plainly.font.rejected lists files that were found but cannot be used (for example the .otf
version: only the .ttf file works, and the Italic file is not used for upright
text). Tell the user which file and why.font.related lists other Adobe Clean fonts on the machine. Creative Cloud's "Adobe
Clean" is a different font from Adobe Clean Spectrum VF and is not used.found is false: ask for the file's full
path and pass it as fontPath. To make it permanent, they set DESIGN_DATA_FONT to
that path in the MCP server's env (in the MCP configuration), or pick the file in the
extension's "Adobe Clean Spectrum VF font file" setting where the client has one.design-data-primer to see what data exists.design-data-query when you know the property, component, or state.design-data-suggest when the user describes an intent.design-data-component-search, then design-data-component, for component options.design-data-resolve for a concrete value in a given mode.design-data-guideline-list, then design-data-guideline, for design guidance.design-data-render to draw a component (SVG, or PNG with a font status to relay);
design-data-visual-recipe to read its recipe.provenance.designDataVersion when the version matters. The primer makes a
best-effort registry check and adds provenance.datasetStatus when a newer data
package exists (set DESIGN_DATA_SKIP_VERSION_CHECK=1 to disable it).design-data-agent skill from the
spectrum-design-data repository.What SKILL.md sets; muted values are Claude Code's defaults
Trigger on: token names (color, spacing, typography, dimension), "which token", "Spectrum component options", design-data primer, query tokens, suggest token, resolve token value, component schema, Spectrum guideline, render a component, component preview or image (SVG or PNG), Adobe Clean font, @adobe/design-data-mcp.
npx claudepluginhub adobe/spectrum-design-data --plugin spectrum-design-dataOther plugins' skills for the same job