@adobe/design-data-skill 2.0.3 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spectrum-design-data",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "description": "Read-only Spectrum lookup: find official design tokens, inspect component options, resolve values across modes, and read design guidelines. Bundles the @adobe/design-data-mcp server.",
5
5
  "author": {
6
6
  "name": "Adobe"
package/.mcp.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "mcpServers": {
3
3
  "design-data": {
4
4
  "command": "npx",
5
- "args": ["-y", "@adobe/design-data-mcp@1.10.4"]
5
+ "args": ["-y", "@adobe/design-data-mcp@1.11.0"]
6
6
  }
7
7
  }
8
8
  }
package/README.md CHANGED
@@ -64,7 +64,7 @@ This installs only the skill. Add the MCP server to `.cursor/mcp.json` yourself:
64
64
  "mcpServers": {
65
65
  "design-data": {
66
66
  "command": "npx",
67
- "args": ["-y", "@adobe/design-data-mcp@1.10.4"]
67
+ "args": ["-y", "@adobe/design-data-mcp@1.11.0"]
68
68
  }
69
69
  }
70
70
  }
@@ -87,7 +87,8 @@ This installs only the skill. Add the MCP server to `.cursor/mcp.json` yourself:
87
87
  `DESIGN_DATA_SKIP_VERSION_CHECK=1` to disable it.
88
88
  * **Tools:** `design-data-primer`, `design-data-query`, `design-data-suggest`,
89
89
  `design-data-component`, `design-data-component-search`, `design-data-resolve`,
90
- `design-data-guideline-list`, `design-data-guideline`. Inputs are documented in
90
+ `design-data-guideline-list`, `design-data-guideline`,
91
+ `design-data-visual-recipe`, `design-data-render`. Inputs are documented in
91
92
  [SKILL.md](https://github.com/adobe/spectrum-design-data/blob/main/tools/design-data-skill/skills/design-data/SKILL.md).
92
93
 
93
94
  ## Data and freshness
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/design-data-skill",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "description": "Read-only Spectrum design-data lookup plugin: a skill plus the bundled @adobe/design-data-mcp server",
5
5
  "type": "module",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "design-data"
35
35
  ],
36
36
  "dependencies": {
37
- "@adobe/design-data-mcp": "1.10.4"
37
+ "@adobe/design-data-mcp": "1.11.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "ava": "^6.0.1"
@@ -8,13 +8,13 @@ description: >
8
8
  snapshot; it does not generate component code.
9
9
  metadata:
10
10
  author: adobe
11
- version: "2.0.3"
12
- designDataVersion: "3.11.4"
11
+ version: "2.1.0"
12
+ designDataVersion: "3.12.0"
13
13
  when_to_use: >
14
14
  Trigger on: token names (color, spacing, typography, dimension), "which token",
15
15
  "Spectrum component options", design-data primer, query tokens, suggest token,
16
16
  resolve token value, component schema, Spectrum guideline, @adobe/design-data-mcp.
17
- allowed-tools: mcp__plugin_spectrum-design-data_design-data__design-data-primer, mcp__plugin_spectrum-design-data_design-data__design-data-query, mcp__plugin_spectrum-design-data_design-data__design-data-suggest, mcp__plugin_spectrum-design-data_design-data__design-data-component, mcp__plugin_spectrum-design-data_design-data__design-data-component-search, mcp__plugin_spectrum-design-data_design-data__design-data-resolve, mcp__plugin_spectrum-design-data_design-data__design-data-guideline-list, mcp__plugin_spectrum-design-data_design-data__design-data-guideline
17
+ allowed-tools: mcp__plugin_spectrum-design-data_design-data__design-data-primer, mcp__plugin_spectrum-design-data_design-data__design-data-query, mcp__plugin_spectrum-design-data_design-data__design-data-suggest, mcp__plugin_spectrum-design-data_design-data__design-data-component, mcp__plugin_spectrum-design-data_design-data__design-data-component-search, mcp__plugin_spectrum-design-data_design-data__design-data-resolve, mcp__plugin_spectrum-design-data_design-data__design-data-guideline-list, mcp__plugin_spectrum-design-data_design-data__design-data-guideline, mcp__plugin_spectrum-design-data_design-data__design-data-visual-recipe, mcp__plugin_spectrum-design-data_design-data__design-data-render
18
18
  ---
19
19
 
20
20
  # Spectrum Design Data
@@ -42,7 +42,7 @@ skill was written for:
42
42
  "mcpServers": {
43
43
  "design-data": {
44
44
  "command": "npx",
45
- "args": ["-y", "@adobe/design-data-mcp@1.10.4"]
45
+ "args": ["-y", "@adobe/design-data-mcp@1.11.0"]
46
46
  }
47
47
  }
48
48
  }
@@ -103,6 +103,14 @@ when `ambiguous: true`, the `token` is only the top pick; narrow further or repo
103
103
  `designing`, `fundamentals`, `developing`, `support`). `design-data-guideline`
104
104
  returns one page by `id`, the `slug` from the list (e.g. `colors`).
105
105
 
106
+ ### `design-data-visual-recipe` and `design-data-render`
107
+
108
+ `design-data-visual-recipe` returns a component's visual recipe by `id`; only
109
+ components with a recipe are available (the error lists them). `design-data-render`
110
+ draws one as SVG text. Required: `component`. Optional: `size` (default `m`),
111
+ `states` (e.g. `["hover"]`), `options` (object), `colorScheme`, `scale`, `label`,
112
+ `width` (px). SVG only; there is no PNG output.
113
+
106
114
  ## Workflow
107
115
 
108
116
  1. `design-data-primer` to see what data exists.
@@ -111,6 +119,7 @@ returns one page by `id`, the `slug` from the list (e.g. `colors`).
111
119
  4. `design-data-component-search`, then `design-data-component`, for component options.
112
120
  5. `design-data-resolve` for a concrete value in a given mode.
113
121
  6. `design-data-guideline-list`, then `design-data-guideline`, for design guidance.
122
+ 7. `design-data-render` to draw a component as SVG; `design-data-visual-recipe` to read its recipe.
114
123
 
115
124
  ## Limits
116
125