mimic_generate_design_md
Generate a DESIGN.md file that compiles design system tokens and usage patterns into a machine-readable and human-readable format, compatible with generative UI tools and AI coding agents.
Instructions
Generate a DESIGN.md file from the current DS knowledge. Compiles DS variables, text styles, components, and Mimic's learned usage patterns into the open DESIGN.md format (compatible with Google Stitch, generative UI tools, and AI coding agents). The YAML frontmatter contains machine-readable tokens (colors, typography, spacing, radius, components). The markdown prose sections contain human-readable usage guidelines generated from build patterns. Optionally saves to a file path. Returns the full DESIGN.md content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsName | Yes | Name for the design system (used in the DESIGN.md header). | |
| description | No | Optional one-line description of the design system. | |
| savePath | No | Optional file path to save the DESIGN.md. If omitted, content is returned but not saved. |