agent-onboarding
Onboard an agent to Bright Data. Use when a coding agent first encounters Bright Data — for…
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
$ npx -y skills add brightdata/skills --skill design-mirror --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/design-mirrorContext preview
The summary Claude sees to decide when to auto-load this skill.
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
name: design-mirror description: "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."
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.
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.
Requires:
export BRIGHTDATA_API_KEY="your-api-key" export BRIGHTDATA_UNLOCKER_ZONE="your-zone-name"
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.
After capturing, analyze both in parallel:
**Visual analysis (screenshot):** Read the PNG image and identify:
**CSS analysis (HTML):** Extract from `<style>` tags and inline styles:
Read `references/css-extraction.md` for the extraction playbook.
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.
Before writing any code, read the relevant parts of their codebase:
Do not rewrite everything — surgical precision. Apply the design tokens to the existing structure.
The application strategy depends on their stack:
**If Tailwind:** Update `tailwind.config.js` with the new color palette, font family, border radius scale. Add custom CSS variables for anything Tailwind can't handle natively.
**If CSS/CSS Modules:** Create or update a `:root` variables block in globals.css. Update component stylesheets to use the new variables.
**If styled-components/Emotion:** Update the theme object. Replace hardcoded color/spacing values with theme tokens.
**In all cases:**
Read `references/apply-guide.md` for framework-specific implementation patterns.
After applying ch
Repo: brightdata/skills
Onboard an agent to Bright Data. Use when a coding agent first encounters Bright Data — for…
Social listening and brand reputation research using Bright Data's web scraping…
Debug Bright Data Scraping Browser sessions using the Browser Sessions API. Use this skill…
Build production-ready Bright Data integrations with best practices baked in. Reference…
Bright Data MCP handles ALL web data operations. Replaces WebFetch, WebSearch, and all…
Guide for using the Bright Data CLI (`brightdata` / `bdata`) to scrape websites, search the…