मुख्य सामग्री पर जाएँ
Skillpedia
इंटरफ़ेस (UI/UX)8.7k · #12342

stitch::extract-design-md

यह क्या करती है

यह स्किल फ़्रंटएंड सोर्स फ़ाइलों का अध्ययन करके DESIGN.md फ़ाइल में प्रोजेक्ट का दृश्य डिज़ाइन सिस्टम बताती है। यह उन लोगों के लिए है जो किसी साइट की स्टाइलिंग दर्ज करना या एक जैसी करना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप किसी मौजूदा फ़्रंटएंड प्रोजेक्ट का डिज़ाइन सिस्टम दस्तावेज़ बनाना चाहते हैं।
  • ✓जब आप किसी कोडबेस में स्टाइलिंग का ऑडिट या एकीकरण करना चाहते हैं।
  • ✓जब ऐप बिल्ड नहीं हो सकता पर उसका सोर्स कोड उपलब्ध है।

Skill का लिंक

https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-design/skills/extract-design-md/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-design/skills/extract-design-md/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारे React प्रोजेक्ट की स्टाइल और Tailwind config पढ़िए, और एक DESIGN.md लिखिए जो हमारे रंग और टाइपोग्राफ़ी बताए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह स्टाइलशीट, कंपोनेंट फ़ाइलें और थीम सेटिंग्स पढ़ती है, फिर रंग, टाइप, spacing और पैटर्न का सार लिखती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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:

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 =
अक्सर पूछे जाने वाले सवाल

क्या ऐप चलाना होगा?

नहीं, स्किल केवल सोर्स फ़ाइलें पढ़ती है, इसलिए किसी बिल्ड या चलते ऐप की ज़रूरत नहीं।

यह किन फ़्रेमवर्क के साथ काम करती है?

स्किल React, Vue, Svelte, Angular और सादे HTML व CSS के साथ काम करती है।

क्या नतीजा Stitch में इस्तेमाल हो सकता है?

हाँ, दस्तावेज़ Stitch के साथ संगत बनाया गया है।

जानकारी

लेखक का मूल विवरण

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?

repo: google-labs-code/stitch-skills

लोकप्रियता

GitHub स्टार
8.7k
रैंकिंग में स्थान
#12342
लाइसेंस
Apache-2.0
अपडेट की गई
17/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

stitch::react-components

8.7k

यह आपके एजेंट को Stitch डिज़ाइन को React और Vite कंपोनेंट में बदलने, या मौजूदा कंपोनेंट को नए डिज़ाइन से मिलाने में मदद करती है, जांच के साथ।

कोडिंगवेबसाइट और UI (frontend)

stitch::react-native

8.7k

यह आपके एजेंट को Stitch वेब डिज़ाइन को React Native कंपोनेंट में बदलने, या मौजूदा मोबाइल स्क्रीन नए डिज़ाइन से मिलाने में मदद करती है।

कोडिंगमोबाइल ऐप

react-vite-dashboard

8.7k

यह आपके एजेंट को Stitch डिज़ाइन से डेटा वाले React और Vite डैशबोर्ड बनाने में मदद करती है, TanStack Query और DESIGN.md टोकन के साथ।

कोडिंगवेबसाइट और UI (frontend)

shadcn-ui

8.7k

यह आपके एजेंट को shadcn/ui कंपोनेंट खोजने, जोड़ने और अपने हिसाब से बदलने में मदद करती है, जो Tailwind CSS पर आधारित हैं।

कोडिंगवेबसाइट और UI (frontend)

मिलती-जुलती skills