Langsung ke konten
Skillpedia
Antarmuka (UI/UX)33k Β· #9098

design-mirror

Fungsinya

Skill ini memandu agent AI dalam mempelajari desain publik sebuah situs web, termasuk warna, tipografi, jarak, dan bentuk, lalu menggunakan gagasan tersebut dalam kode Anda. Skill ini ditujukan bagi desainer dan pengembang yang menginginkan tampilan serupa tanpa menyalin konten.

Kapan dipakai

  • βœ“Saat Anda ingin aplikasi Anda terlihat seperti situs yang Anda kagumi, dengan gaya visual umum yang sama.
  • βœ“Ketika Anda meminta desain URL referensi dicocokkan dalam proyek Anda sendiri.
  • βœ“Ketika Anda ingin mengambil palet warna, font, dan jarak sebuah situs untuk memandu pekerjaan UI Anda.

Link skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-data/design-mirror/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-data/design-mirror/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda membuat dasbor saya terlihat lebih mirip dengan gaya situs web yang saya suka ini?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mengambil tangkapan layar dan markup halaman melalui Bright Data, mengidentifikasi token desain, lalu menerapkannya pada komponen Anda yang sudah ada.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

  1. Capture β€” Screenshot + HTML scrape the inspiration site via Bright Data
  2. Extract β€” Identify the full design system: colors, fonts, spacing scale, border radii, shadows, component patterns
  3. Analyze β€” Study the screenshot visually and the CSS structurally to understand the design language
  4. 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 Settings
  • BRIGHTDATA_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 (@import from 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

Pertanyaan umum

Apakah menyalin konten situs?

Tidak. Skill ini berfokus pada bahasa desain, seperti warna dan tata letak, bukan konten atau fitur.

Apa yang saya butuhkan terlebih dahulu?

Anda membutuhkan kunci API Bright Data dan zone Unlocker yang sudah diatur.

Apakah saya perlu memeriksa syarat situs?

Ya. Skill ini meminta Anda mengikuti syarat layanan dari situs mana pun yang Anda jadikan referensi.

Detail

Deskripsi asli dari pembuat

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.

repo: davila7/claude-code-templates

Popularitas

Bintang GitHub
33k
Peringkat
#9098
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa