📦 Design Mirror — De签名 Mirror
v1.0.0复制任意网站的视觉风格并应用到现有代码库。当用户想要匹配某个网站的设计、镜像某个 U...
运行时依赖
安装命令
点击复制技能文档
De签名 Mirror
Capture the visual de签名 language of any 网页site and 应用ly it to your existing codebase — colors, typography, spacing, layout rhythm, 组件 shapes, and overall aesthetic — all 提取ed live via Bright Data's 网页 Unlocker.
What This 技能 Does Capture — Screenshot + HTML scrape the inspiration site via Bright Data 提取 — Identify the full de签名 系统: colors, fonts, spacing 扩展, border radii, shadows, 组件 patterns Analyze — Study the screenshot visually and the CSS structurally to understand the de签名 language 应用ly — Translate that de签名 系统 into the user's existing codebase (their 框架, their 组件s)
You are not copying content or functionality. You're understanding the de签名 language — the palette, the type 扩展, the card shapes, the hover 状态s, the overall aesthetic feel.
导入ant: This 技能 is for de签名 inspiration and learning — 提取ing publicly visible de签名 令牌s (colors, fonts, spacing) to 信息rm your own UI work. Always use it respectfully and in accordance with the terms of 服务 of the sites you reference.
设置up
Requires:
BRIGHTDATA_API_KEY — from brightdata.com/cp → Account 设置tings BRIGHTDATA_UNLOCKER_ZONE — 创建 an Unlocker zone at brightdata.com/cp 导出 BRIGHTDATA_API_KEY="your-API-key" 导出 BRIGHTDATA_UNLOCKER_ZONE="your-zone-name"
Step-by-Step Process Step 1: Capture the Inspiration Site
运行 机器人h captures in parallel — screenshot (for visual analysis) and HTML scrape (for CSS 提取ion):
# Screenshot (save as PNG) bash scripts/screenshot.sh "https://inspiration-site.com" "/tmp/tar获取_screenshot.png"
# HTML + CSS scrape bash scripts/scrape_html.sh "https://inspiration-site.com" "/tmp/tar获取_page.html"
Read references/capture-图形界面de.md for how to 提取 CSS from the raw HTML and handle common issues.
Step 2: Analyze the De签名 系统
After capturing, analyze 机器人h 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, bruta列出, glassmorphism, corporate, 启动up?
CSS analysis (HTML): 提取 from