Skip to content
← All AI workflows

Stitch: document a design system from frontend source

Read frontend source to document colors, typography, spacing, component states and responsive rules for Stitch. The skill writes a structured .stitch/DESIGN.md without running the app. A designer must check the document before its tokens are used.

From the source

Public repository page from Google Labs / Stitch
Google Labs / Stitch · Captured 2026-10-14Read the original

How it works

  • Discovery covers package.json, framework files, theme definitions, styles and representative components. The skill documents framework-specific source-reading guidance.
  • Extraction covers color roles, typography, component states, spacing, layout and responsive rules. Visual intent is an interpretation of source, not a rendered test.
  • The required frontmatter contains name and a colors mapping. The Alpine Peak document is a bundled format example, not an extraction result produced here.
  • The optional manage-design-system handoff is separate from source reading. No fidelity score or time saving is measured. A designer must approve tokens before use.

Workflow guide

  1. Grant read-only access to approved frontend source. Identify theme files, tokens and representative components.

  2. Extract colors, fonts, spacing, component states and responsive rules with file references.

  3. Check conflicting tokens against the implementation. Mark inferred intent as uncertain.

  4. Prepare .stitch/DESIGN.md with the prescribed name and colors YAML block in a separate output location.

  5. Ask a designer to verify the document against fixed source components. Record token errors and corrections.

  6. Obtain approval before adding the document to the project or using its tokens in a shipped interface.

Sources and downloads

Discuss this workflow →

Book a call

A free 30 minute call. Tell us where you are with AI, what your IT allows, and what management needs to see. We'll tell you honestly what we would do first.