stitch::extract-design-md
by google-labs-code/stitch-skills · Web Development & Design
Analyzes frontend source code to reverse-engineer and document a project's design system, including colors, typography, spacing, and component styles, into a DESIGN.md file.
What it does
Extract a comprehensive design system (DESIGN.md) directly from frontend source code — React, Vue, Svelte, Angular, plain HTML/CSS, or any web framework. Analyzes component files, stylesheets, Tailwind configs, theme definitions, and design tokens to produce a rich, Stitch-compatible design system document. Use this skill whenever the user wants to reverse-engineer a design system from an existing codebase, audit the visual language of a project, extract design tokens from source files, or understand the styling patterns in a frontend repo — even if they just say "what does this app look like?" or "pull out the design from this code.
Quality judgment
Thorough, well-organized workflow with framework-specific guidance, quality checklist, and clear output format. The DESIGN.md template is a strong structural example, but the skill relies on external reference files (references/*.md, examples/DESIGN.md) whose contents aren't shown, and no worked extraction example is embedded, slightly limiting standalone usability.