design-mirror
Skill by davila7
Design Mirror replicates the visual style of a website and applies it to an existing codebase. It is for frontend developers who want their app to match the look of a specific site.
Install design-mirror
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/web-data/design-mirror ~/.claude/skills/design-mirrorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/web-data/design-mirror ~/.gemini/antigravity-cli/skills/design-mirrorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Design Mirror captures the visual design of a website and applies it to a user's existing codebase. It takes a screenshot and an HTML scrape of the inspiration site through Bright Data's Web Unlocker. It then extracts colors, fonts, spacing, border radii, shadows and component patterns into a design token map.
The skill reads the user's framework and styling approach, such as Tailwind, CSS modules or styled-components, and applies the tokens to the existing structure. Only visual properties are meant to change, and the user is shown which files were modified. The skill is described as being for design inspiration and learning, and it asks about scope before making changes. It suits developers who want their frontend to match another site's look.
Written from the project's SKILL.md and checked against it.
What it can do
- Capture siteTakes a screenshot and HTML scrape of an inspiration site using Bright Data's Web Unlocker.
- Extract design systemIdentifies colors, fonts, spacing scale, border radii, shadows and component patterns.
- Analyze design languageStudies the screenshot visually and the CSS structurally to understand the site's style.
- Build token mapProduces a structured design token map for the user to review before code changes.
- Apply to codebaseTranslates the design tokens into the user's existing framework and styling approach.
- Show before and afterLists modified files, token mappings, added effects and items to check visually.
What you need
- BRIGHTDATA_API_KEY from Bright Data account settings
- BRIGHTDATA_UNLOCKER_ZONE, an Unlocker zone created in Bright Data
Try asking
- Mirror the visual style of https://example.com and apply it to my app
- Make my app look like https://example.com without changing its layout
- Extract the design tokens from https://example.com and show me the map
Good to know
- Intended for design inspiration and learning; follow the terms of service of referenced sites.
- JS-rendered sites may return little CSS, so extraction relies more on visual analysis.
- Minified or obfuscated CSS limits extraction to visual inspection.
- Changes visual properties only and does not copy content or functionality.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/web-data/design-mirror/SKILL.md, cli-tool/components/skills/web-data/design-mirror/scripts/scrape_html.sh, cli-tool/components/skills/web-data/design-mirror/scripts/screenshot.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/apply-guide.md6 KB -
references/capture-guide.md3 KB -
references/css-extraction.md5 KB -
scripts/scrape_html.sh999 B
Show all 6 files
-
scripts/screenshot.sh1 KB
Alternatives to design-mirror
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
design-mirror: common questions
What does Design Mirror extract from a website?
It extracts publicly visible design tokens such as colors, fonts, spacing, border radii, shadows and component patterns. The skill describes these as the site's design language.
Does Design Mirror copy a site's content or HTML structure?
No. The source says the skill extracts the design language, not the inspiration site's markup or content.
Which frameworks and styling approaches does it support?
The source gives guidance for Tailwind, plain CSS or CSS modules, and styled-components or Emotion. It also notes that component libraries such as shadcn, Chakra and MUI should be customized through their theme.
How do I install design-mirror?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is design-mirror free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is design-mirror safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to design-mirror?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
