design-mirror
यह क्या करती है
यह स्किल AI एजेंट को किसी वेबसाइट का सार्वजनिक डिज़ाइन, जिसमें रंग, टाइप, spacing और आकार शामिल हैं, अध्ययन करने और उन विचारों को आपके कोड में लागू करने में मार्गदर्शन देती है। यह उन डिज़ाइनरों और डेवलपर के लिए है जिन्हें सामग्री कॉपी किए बिना मिलता-जुलता रूप चाहिए।
कब इस्तेमाल करें
- ✓जब आप चाहते हैं कि आपका ऐप उस साइट जैसा दिखे जिसे आप पसंद करते हैं, उसी सामान्य दृश्य शैली के साथ।
- ✓जब आप अपने प्रोजेक्ट में किसी संदर्भ URL के डिज़ाइन से मेल खाना चाहें।
- ✓जब आप UI काम के लिए किसी साइट का रंग पैलेट, फ़ॉन्ट और spacing निकालना चाहें।
Skill का लिंक
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-data/design-mirror/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरे डैशबोर्ड को इस वेबसाइट की शैली जैसा बना सकते हैं, जो मुझे पसंद है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट Bright Data के ज़रिए स्क्रीनशॉट और पेज का मार्कअप लेता है, डिज़ाइन टोकन पहचानता है, और उन्हें आपके मौजूदा कंपोनेंट पर लागू करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Design Mirror
Capture the visual design language of any website and apply it to your existing codebase — colors, typography, spacing, layout rhythm, component shapes, and overall aesthetic — all extracted live via Bright Data's Web Unlocker.
What This Skill Does
- Capture — Screenshot + HTML scrape the inspiration site via Bright Data
- Extract — Identify the full design system: colors, fonts, spacing scale, border radii, shadows, component patterns
- Analyze — Study the screenshot visually and the CSS structurally to understand the design language
- Apply — Translate that design system into the user's existing codebase (their framework, their components)
You are not copying content or functionality. You're understanding the design language — the palette, the type scale, the card shapes, the hover states, the overall aesthetic feel.
Important: This skill is for design inspiration and learning — extracting publicly visible design tokens (colors, fonts, spacing) to inform your own UI work. Always use it respectfully and in accordance with the terms of service of the sites you reference.
Setup
Requires:
BRIGHTDATA_API_KEY— from brightdata.com/cp → Account SettingsBRIGHTDATA_UNLOCKER_ZONE— create an Unlocker zone at brightdata.com/cp
export BRIGHTDATA_API_KEY="your-api-key"
export BRIGHTDATA_UNLOCKER_ZONE="your-zone-name"
Step-by-Step Process
Step 1: Capture the Inspiration Site
Run both captures in parallel — screenshot (for visual analysis) and HTML scrape (for CSS extraction):
# Screenshot (save as PNG)
bash scripts/screenshot.sh "https://inspiration-site.com" "/tmp/target_screenshot.png"
# HTML + CSS scrape
bash scripts/scrape_html.sh "https://inspiration-site.com" "/tmp/target_page.html"
Read references/capture-guide.md for how to extract CSS from the raw HTML and handle common issues.
Step 2: Analyze the Design System
After capturing, analyze both in parallel:
Visual analysis (screenshot): Read the PNG image and identify:
- Primary, secondary, accent colors
- Background colors (page bg, card bg, surface hierarchy)
- Typography: font families visible, size hierarchy (h1 → body → caption)
- Layout: is it centered/constrained-width? Grid? Sidebar?
- Card/container shapes: border radius size, shadow style (hard, soft, none, colored)
- Button styles: pill, rectangle, ghost, gradient?
- Navigation: sticky? Glass/blur effect? Dark or light?
- Overall mood: dark, light, minimal, brutalist, glassmorphism, corporate, startup?
CSS analysis (HTML): Extract from <style> tags and inline styles:
- CSS custom properties (
:root { --color-... }) — publicly declared design tokens - Font imports (
@importfrom Google Fonts, etc.) - Tailwind config if present
- Repeated class patterns that reveal the spacing scale
Read references/css-extraction.md for the extraction playbook.
Step 3: Build the Design Token Map
Produce a structured design token map before touching any code:
DESIGN TOKENS FROM [site]
==========================
Colors:
--bg-primary: #0a0a0f (page background)
--bg-surface: #13131a (card/panel background)
--text-primary: #ffffff
--text-muted: #8888aa
--accent: #7c3aed (primary CTA color)
--accent-hover: #6d28d9
--border: rgba(255,255,255,0.08)
Typography:
--font-heading: 'Inter', sans-serif
--font-body: 'Inter', sans-serif
font-scale: 12/14/16/20/24/32/48px
heading-weight: 700
body-weight: 400
Spacing:
base-unit: 8px
scale: 4/8/12/16/24/32/48/64px
Borders & Shadows:
--radius-sm: 6px
--radius-md: 12px
--radius-lg: 20px
--shadow: 0 4px 24px rgba(0,0,0,0.4)
Special effects:
glass-blur: backdrop-filter: blur(16px)
gradient: linear-gradient(135deg, #7c3aed, #2563eb)
Show this token map to the user before proceeding. It's the foundation — if it's wrong, the output will be wrong.
Step 4: Understand the User's Codebase
Before writing any code, read the relevant parts of their codebase:
- What framework? (React, Vue, Next.js, plain HTML?)
- What styling approach? (Tailwind, CSS modules, styled-components, plain CSS?)
- Where are global styles defined? (globals.css, theme.ts, tailwind.config.js?)
- What components need restyling? (ask the user if unclear)
Do not rewrite everything — surgical precision. Apply the design tokens to the existing structure.
Step 5: Apply the Design
The application strat
अक्सर पूछे जाने वाले सवाल
क्या यह साइट की सामग्री कॉपी करती है?
नहीं। स्किल डिज़ाइन की भाषा पर केंद्रित है, जैसे रंग और लेआउट, सामग्री या फ़ीचर पर नहीं।
पहले मुझे क्या चाहिए?
आपको Bright Data API key और एक Unlocker zone सेट चाहिए।
क्या मुझे साइट की शर्तें जाँचनी चाहिए?
हाँ। स्किल कहती है कि आप जिस भी साइट का संदर्भ लें, उसकी सेवा की शर्तों का पालन करें।
जानकारी
लेखक का मूल विवरण
Replicate the visual style of any website and apply it to your existing codebase. Use this skill whenever the user wants to match a site's design, mirror a UI aesthetic, make their app look like another site, or replicate a specific visual style from a URL. Trigger on phrases like 'make it look like', 'match the design of', 'copy the style from', 'I want my app to look like X', 'mirror this design', 'inspired by [url]', or any time the user points at a website and says they want their frontend to match it.
लोकप्रियता
- GitHub स्टार
- 33k
- रैंकिंग में स्थान
- #9098
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
owasp-security
33kआपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।
agent-management
33kआपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।
agent-messaging
33kAgent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।
docs-search
33kआपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।