stitch::extract-design-md
Extract a comprehensive design system (DESIGN.md) directly from frontend source code — React, Vue, Svelte, Angular, plain HTML/CSS, or any web framework.
Skill by google-labs-code
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/google-labs-code-stitch-extract-design-md
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, design, frontend, security, ui-design, documentation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/stitch-extract-design-md
What's inside
- Skill name
stitch::extract-design-md- Description
- 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."
- License
- Apache-2.0
- Instructions
- 348 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "stitch::extract-design-md" does not match folder "extract-design-md"
- allowed-tools: must be a space-separated string
Files (7)
- SKILL.md
- DESIGN.md · examples/
- angular.md · references/
- plain-css.md · references/
- react-tailwind.md · references/
- svelte.md · references/
- vue.md · references/
SKILL.md (first lines)
# Extract Design System from Frontend Code Analyze frontend source code to extract a comprehensive design system document (DESIGN.md) that captures the project's visual language — colors, typography, spacing, component patterns, and layout principles — directly from the source files, without needing to build or render the application. ## Why This Exists The `design-md` skill works from rendered HTML. But often you have a codebase and want to understand its design system before you can even run the app — maybe dependencies are missing, the build is broken, or you just want a quick audit. This skill reads the source files themselves: stylesheets, component files, theme configs, and Tailwind setups. It's faster and works anywhere. ## When to Use - User has a frontend codebase and wants to extract or document its design system - User wants to migrate a project's visual identity into Stitch - User asks to "audit the styling" or "understand the design language" of a repo - User wants to create a DESIGN.md from existing source code - The app can't be built/rendered but the source is available - User wants to unify or reconcile inconsistent styles across a codebase ## Prerequisites - Access to the frontend project's source directory - No build or runtime dependencies needed — this skill reads source files only --- ## Workflow ### Phase 1: Project Discovery Start by understanding what you're working with. This determines which extraction patterns to use. #### 1. Detect the Framework and Stack Scan the project root for telltale files: | Signal File | Framework / Tool | |:---|:---| | `package.json` with `react` | React / Next.js | | `package.json` with `vue` | Vue / Nuxt | | `package.json` with `svelte` | Svelte / SvelteKit | | `package.json` with `@angular/core` | Angular | | `tailwind.config.js/ts` | Tailwind CSS | | `postcss.config.js` | PostCSS pipeline | | `styled-components` or `@emotion` in deps | CSS-in-JS | | `.css` / `.scss` / `.less` files only | Plain CSS / SASS | | `theme.js` / `theme.ts` / `tokens.js` | Design token files | Read `package.json` first — it reveals the framework, CSS tooling, and any design-token libraries (e.g., `style-dictionary`, `@chakra-ui/react`, `@mui/material`, `ant-design`). This context tells you *where* to look for styling information. #### 2. Map the Source Tree Identify the key directories and files you'll analyze: ``` src/ ├── components/ ← Component-level styles ├── styles/ ← Global stylesheets ├── theme/ ← Theme definitions, tokens ├── assets/ ← Fonts, images ├── app.css ← Root styles └── index.css ← Entry CSS ``` Also check for: - `tailwind.config.js` / `tailwind.config.ts` — Custom colors, fonts, spacing - `globals.css` / `global.css` — CSS custom properties (variables) - Any `theme.*` or `tokens.*` files - Component library config (e.g., `chakra-theme.ts`, `vuetify.config.ts`) #### 3. Read Framework-Specific Guidance Consult the appropriate reference for extraction patterns: - **React / Next.js / Tailwind** → [references/react-tailwind.md](references/react-tailwind.md) - **Vue / Nuxt** → [references/vue.md](references/vue.md) - **Svelte / SvelteKit** → [references/svelte.md](references/svelte.md) - **Angular** → [references/angular.md](references/angular.md) - **Plain CSS / SASS / Less** → [references/plain-css.md](references/plain-css.md) These references contain framework-specific patterns for locating colors, typography, spacing, and component styles. Read the one that matches before proceeding. --- ### Phase 2: Deep Extraction Work through each design dimension systematically. For each one, gather raw data from the source files, then synthesize it into descriptive language. The goal isn't to dump every CSS property — it's to understand the *intent* behind the styling choices and describe them in human, editorial language that another designer (or Stitch) can use to recreate the same visual feel. #### 1. Visual Theme & Atmosphere Read the broadest styling first to understand the overall mood: - **Root background**: What's the `body` or root element background? Light cream (#f-range) signals airy/clean; dark (#0-#2 range) signals moody/dramatic. - **Whitespace philosophy**: Are spacing values generous (32px+) or tight? Check padding/margin values on root containers, section wrappers, and card components. - **Density**: Count the components per page/section. Few with space = minimal; many packed tight = information-dense. - **Color temperature**: Are the neutrals warm (creams, tans) or cool (blue-grays, slates)? - **Overall feel**: Synthesize into 1-2 rich sentences that capture the mood. Look for these signals in the source:
From google-labs-code/stitch-skills, Apache-2.0.
More from google-labs-code/stitch-skills
- 0.798score
stitch::upload-to-stitch
google-labs-code
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
stitch::extract-static-html
google-labs-code
Extract self-contained static HTML from a built web application or React components by inlining CSS and images.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
site-md
google-labs-code
Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.792score
stitch::code-to-design
google-labs-code
Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.746score
enhance-prompt
google-labs-code
Transforms vague UI ideas into polished, Stitch-optimized prompts.
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.746score
shadcn-ui
google-labs-code
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best…
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.743score
remotion
google-labs-code
Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.740score
react-vite-dashboard
google-labs-code
Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready patterns (ethers/viem).
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.740score
taste-design
google-labs-code
Semantic Design System Skill for Google Stitch.
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.737score
stitch::generate-design
google-labs-code
Generate new screens from text prompts or images, edit existing screens with prompts and design system tokens, and generate design variants using Stitch MCP.
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.737score
design-md
google-labs-code
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.737score
stitch::react-native
google-labs-code
Convert Stitch HTML designs to React Native components, or syncs/updates existing native components to align with the latest Stitch designs, using StyleSheet.
SkillCFreshness: C★ 8.6KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 8,572
- Forks
- 1,052
- Open issues
- 10
- Last commit (this folder)
- Jul 29, 2026 (3 months ago)
- Last release
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from google-labs-code
- 0.798score
stitch::extract-static-html
google-labs-code
Extract self-contained static HTML from a built web application or React components by inlining CSS and images.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
stitch::upload-to-stitch
google-labs-code
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.798score
site-md
google-labs-code
Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.792score
stitch::code-to-design
google-labs-code
Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload.
SkillBFreshness: B★ 8.6KClaude Code +9 - 0.746score
shadcn-ui
google-labs-code
Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best…
SkillCFreshness: C★ 8.6KClaude Code +9 - 0.746score
enhance-prompt
google-labs-code
Transforms vague UI ideas into polished, Stitch-optimized prompts.
SkillCFreshness: C★ 8.6KClaude Code +9
Cite this page
stitch::extract-design-md skill. Agent Mart. https://agentmart.dev/skills/google-labs-code-stitch-extract-design-md (last updated 2026-10-24)