Tooluck logoTooluck
SKILL.md

stitch::extract-design-md

Agent skill fromgoogle-labs-code/stitch-skills

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."

How to install stitch::extract-design-md

install stitch::extract-design-md
# install the stitch-skills pack with the skills CLI
npx skills add google-labs-code/stitch-skills

# or add only this skill to Claude Code: copy the folder

plugins/stitch-design/skills/extract-design-md/

# into

~/.claude/skills/extract-design-md/ (all projects)

.claude/skills/extract-design-md/ (one project)

plugins/stitch-design/skills/extract-design-md/SKILL.md

Apache-2.0Full file
1# Extract Design System from Frontend Code
2
3Analyze frontend source code to extract a comprehensive design system document
4(DESIGN.md) that captures the project's visual language — colors, typography,
5spacing, component patterns, and layout principles — directly from the source
6files, without needing to build or render the application.
7
8## Why This Exists
9
10The `design-md` skill works from rendered HTML. But often you have a codebase
11and want to understand its design system before you can even run the app —
12maybe dependencies are missing, the build is broken, or you just want a quick
13audit. This skill reads the source files themselves: stylesheets, component
14files, theme configs, and Tailwind setups. It's faster and works anywhere.
15
16## When to Use
17
18- User has a frontend codebase and wants to extract or document its design system
19- User wants to migrate a project's visual identity into Stitch
20- User asks to "audit the styling" or "understand the design language" of a repo
21- User wants to create a DESIGN.md from existing source code
22- The app can't be built/rendered but the source is available
23- User wants to unify or reconcile inconsistent styles across a codebase
24
25## Prerequisites
26
27- Access to the frontend project's source directory
28- No build or runtime dependencies needed — this skill reads source files only
29
30---
31
32## Workflow
33
34### Phase 1: Project Discovery
35
36Start by understanding what you're working with. This determines which
37extraction patterns to use.
38…

Excerpt shown under the repository's Apache-2.0 license.

More skills in stitch-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates