site-clone

Clone public websites into editable Next.js, React, TypeScript, and Tailwind codebases.

Updated Aug 21, 2026
One-click install
npx skills add https://github.com/TylerSimons1127/vibe --skill site-clone-tylersimons1127
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: site-clone
Source: https://github.com/TylerSimons1127/vibe/tree/main/skills/software-development/site-clone
Command: npx skills add https://github.com/TylerSimons1127/vibe --skill site-clone-tylersimons1127

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Recreating an existing website's design as editable source code normally requires hours of manual inspection, asset hunting, and CSS reverse-engineering. This Skill automates the full pipeline from a target URL to a working local Next.js project with matching design tokens, fonts, assets, and components. ## Core Features & Use Cases - Full Asset Extraction: Downloads CSS files, fonts, images, and media from the target site and organizes them into a Next.js public/ directory. - Design Token Reconstruction: Extracts colors, font families, keyframes, and breakpoints from the original CSS and writes them into tailwind.config.ts. - Component Rebuilding with Verification: Parses the rendered HTML and RSC payload into per-section React components, then validates the clone with lint, build, HTTP checks, and Playwright DOM probes comparing computed styles. - Use Case: A designer wants an editable version of a marketing landing page. Provide the URL, and receive a local Next.js project where the header, hero, sections, and footer are separate TypeScript components with the original Tailwind classes, fonts, and brand colors intact. ## Quick Start Clone the website at https://example.com into an editable Next.js project on my machine.

Frequently Asked Questions about site-clone

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clone a website into a Next.js project?▼

Fetch the raw HTML with curl, download all CSS, fonts, and images, extract design tokens into tailwind.config.ts, then rebuild each page section as a React component copying the original Tailwind classes. Verify with lint, build, and a Playwright DOM probe.

How to extract design tokens and colors from an existing website?▼

Download the site's CSS files and grep for CSS custom properties, @font-face declarations, and @keyframes definitions. Map the extracted colors, font families, and animations into the theme.extend section of a Tailwind config file.

Can I clone a Next.js site that uses React Server Components?▼

Yes. App Router sites embed an RSC payload in __next_f script tags, which reveals component names as $LComponentName patterns. The rendered HTML still contains the actual Tailwind classes and content needed to rebuild each component.

Why does my cloned Next.js build fail with tabIndex or clipPath errors?▼

JSX requires tabIndex as a number (tabIndex={0}, not a string) and SVG elements in camelCase such as clipPath instead of clippath. Apostrophes in JSX text must also be escaped to satisfy the no-unescaped-entities lint rule.

What are the limitations of cloning a website from its HTML?▼

Only the publicly rendered output is captured, so server-side logic, CMS backends, and authenticated pages are not reproduced. Build-time font variable hashes must be remapped to real font family names, and interactive behavior must be reimplemented manually.