Stitch Wand
v0.1.1Design token tools for Google Stitch: convert, validate, diff, lint, generate, and export.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
convert-tokens
Convert design tokens from various formats to DESIGN.md
| Parameter | Type | Description |
|---|---|---|
format * | string | The input token format |
input * | string | The design token source content (JSON, CSS, or JS) |
name | string | Name for the design system |
validate-html
Validate HTML against a DESIGN.md specification
| Parameter | Type | Description |
|---|---|---|
designMd * | string | The DESIGN.md specification |
html * | string | The HTML to validate |
diff-systems
Compare two DESIGN.md versions
| Parameter | Type | Description |
|---|---|---|
versionA * | string | First DESIGN.md version |
versionB * | string | Second DESIGN.md version |
lint-accessibility
Run accessibility linter on HTML
| Parameter | Type | Description |
|---|---|---|
html * | string | The HTML to lint |
generate-component
Generate framework components from HTML
| Parameter | Type | Description |
|---|---|---|
html * | string | The HTML to convert |
framework | string | Target framework |
export-figma
Generate Figma Plugin API code from HTML
| Parameter | Type | Description |
|---|---|---|
html * | string | The HTML to export |