stitch-extract-design-md
Installation
SKILL.md
Stitch Extract DESIGN.md From Source
This skill is a catalog-normalized import from https://github.com/google-labs-code/stitch-skills at commit 3f64079d75d025bc5890c73669f27c26a2d80b31, source path plugins/stitch-design/skills/extract-design-md. The upstream control file was corrected for this workspace: the verified Stitch MCP surface here is design-system oriented, so screen lookup, screen generation, and screen editing tools must be used only when the current host explicitly exposes them.
When to Use This Skill
- Use when source code should reveal the visual system before a Stitch upload or generation workflow.
- The task involves Google Stitch project IDs,
.stitch/artifacts, DESIGN.md files, Stitch exports, or Stitch-specific validation. - The broader
stitch-designrouter points here as the narrowest workflow.
Workflow
- Detect the framework and read the closest file under
references/: React/Tailwind, Vue, Svelte, Angular, or plain CSS. - Read theme config, global CSS, font imports, layout roots, representative components, and state styles.
- Extract actual colors, fonts, spacing, radii, shadows, variants, and responsive rules.
- Name tokens semantically and keep exact values next to descriptive labels.
- Write
.stitch/DESIGN.mdusing atmosphere, palette, typography, components, layout, and generation notes. - Hand off to
stitch-manage-design-systemwhen the user wants upload.