website-cloning

Extract DOM structure, CSS tokens, and assets from target websites using Playwright.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/Kirankumar2604/solutionChallenge --skill website-cloning-kirankumar2604
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: website-cloning
Source: https://github.com/Kirankumar2604/solutionChallenge/tree/main/.local/secondary_skills/website-cloning
Command: npx skills add https://github.com/Kirankumar2604/solutionChallenge --skill website-cloning-kirankumar2604

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

This skill solves the challenge of manually reverse-engineering complex web layouts, ensuring that every font, color, and interaction is captured accurately without guesswork or placeholder content.

Core Features & Use Cases

  • Automated Extraction: Uses Playwright to capture raw HTML, design tokens, and assets directly from a target URL.
  • Pixel-Perfect Rebuilding: Provides a structured methodology to rebuild sites as clean React + Vite applications using plain CSS.
  • Use Case: Ideal for developers needing to create a staging copy of a site for platform migration, design reference, or learning purposes while maintaining strict visual fidelity.

Quick Start

Use the website-cloning skill to extract the structure and assets from the target URL and generate a pixel-perfect React replica.

Frequently Asked Questions about website-cloning

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

FAQPage Schema
How do I clone a website into a React and Vite application with pixel-perfect accuracy?

To clone a website into a React and Vite application with pixel-perfect accuracy, this skill uses automated Playwright scripts to reverse-engineer the target URL, extracting DOM structure, CSS design tokens, and media assets for systematic rebuilding. It ensures strict visual fidelity without manual guesswork or placeholder content.

Can I use Playwright to extract CSS design tokens and media assets from a target URL?

Yes, you can use Playwright to extract CSS design tokens and media assets from a target URL. This skill automates the extraction process by capturing raw HTML, design tokens, and assets directly, facilitating a structured methodology to inventory and rebuild sites as clean React applications using plain CSS.

What is the best way to reverse-engineer complex web layouts for platform migration?

The best way to reverse-engineer complex web layouts for platform migration is by automating the capture of raw HTML, design tokens, and assets using Playwright. This approach ensures every font, color, and interaction is recorded accurately, providing a structured methodology to rebuild the site as a high-fidelity React replica.

Does this website cloning approach work with plain CSS or does it require a UI framework?

This website cloning approach works with plain CSS and does not require a UI framework. It provides a structured methodology to rebuild extracted sites as clean React and Vite applications, maintaining strict visual consistency through systematic inventory management and adherence to original design specifications.

Do I need Playwright installed to automate website replication and asset extraction?

Yes, you need Playwright installed to automate website replication and asset extraction. Playwright is a required dependency for this skill, used to run automated scripts that capture the target URL's DOM structure, CSS design tokens, and media assets for pixel-perfect reconstruction.

Why does manual website cloning result in missing fonts, colors, and interactions?

Manual website cloning results in missing fonts, colors, and interactions because it relies on guesswork and placeholder content rather than systematic extraction. Automated Playwright scripts solve this by directly capturing raw HTML, design tokens, and assets, ensuring strict visual fidelity and accurate interaction replication.