Site Clone Migration
Clone any site into a clean, owned stack: extract the source, rebuild it
section by section with parallel agents, verify with visual diff, and ship
a Next/React + Tailwind + TS repo. Includes a WordPress -> repo exit path.
When To Activate
- The user says clone this site, copy this layout, restack, migrate from
WordPress, or rebuild a page pixel by pixel.
- There is a live URL to reproduce plus a target stack (Next or React with
Tailwind and TS).
- A visual check is required before calling the clone done.
- The source uses WordPress and the goal is a code repo instead.
Non-Goals
- No brand-new design work; this reproduces an existing layout.
- No content scraping for republishing third-party copy or images without
rights; get permission or replace assets first.
Workflow
- Capture the source: for each route, save full-page screenshots (desktop
plus mobile), HTML, computed fonts, color tokens, and spacing scale.
Record the URL, viewport, and date per capture.
- Inventory assets: list images, fonts, icons, and videos. Download only
licensed or replaceable files into a local vendor folder with a manifest
(source URL -> local path -> license note).
- Define sections: split the page into sections (header, hero, proof,
pricing, FAQ, footer). One section = one work unit with its own
acceptance screenshot.
- Rebuild in parallel: assign one agent per section against the new stack
(Next or React + Tailwind + TS). Shared tokens (colors, type, spacing)
are frozen before agents start.
- Visual diff: compare each rebuilt section against its source screenshot
side by side. Log mismatches (layout, type, spacing, color) and fix in
the section owner only.
- Responsive pass: re-run the diff at mobile width. Fix overflow, tap
targets, and type scale before merging sections.
- WordPress exit (when needed): map posts, pages, and media to repo
content files, redirect old slugs, and verify every migrated URL returns
200 in the new app.
- Ship gate: full-page diff plus link check plus build pass. No merge
while any section diff is open.
Section Acceptance
- Layout matches at desktop and mobile widths.
- Fonts, colors, and spacing use shared tokens, not hard-coded values.
- Images load from the local vendor folder, not hotlinked.
- Links and forms resolve; no dead routes.
Anti-Patterns
- Copying third-party text, images, or fonts without rights.
- One giant agent rebuilding the whole page at once -> slow and blurry.
- Skipping the token freeze -> every section drifts to its own palette.
Exemplo
URL + stack Next/Tailwind/TS → captura (screenshots desktop+mobile, HTML, fontes, tokens)
6 seções, 1 agente cada (tokens congelados) → visual diff por seção → mobile pass
Gate: diff zerado + links 200 + build verde; WordPress: posts→arquivos + redirects
1---2name: site-clone-migration3description: "Use when cloning any existing website into a new stack with Claude Code: extract screenshots plus HTML/fonts/colors, download assets, rebuild section by section with parallel agents, and verify with visual diff. Triggers on \"clone website\", \"site clone\", \"wordpress migration\", \"restack site\". Non-triggers: designing a new site from scratch (use cloud-design-prototyping). Outcome: a Next/React plus Tailwind plus TS repo that matches the source layout section by section."4metadata:5 source: https://skillmd.com/skills/majinmagros/site-clone-migration6 origin: ECC7---89# Site Clone Migration1011Clone any site into a clean, owned stack: extract the source, rebuild it12section by section with parallel agents, verify with visual diff, and ship13a Next/React + Tailwind + TS repo. Includes a WordPress -> repo exit path.1415## When To Activate1617- The user says clone this site, copy this layout, restack, migrate from18 WordPress, or rebuild a page pixel by pixel.19- There is a live URL to reproduce plus a target stack (Next or React with20 Tailwind and TS).21- A visual check is required before calling the clone done.22- The source uses WordPress and the goal is a code repo instead.2324## Non-Goals2526- No brand-new design work; this reproduces an existing layout.27- No content scraping for republishing third-party copy or images without28 rights; get permission or replace assets first.2930## Workflow31321. Capture the source: for each route, save full-page screenshots (desktop33 plus mobile), HTML, computed fonts, color tokens, and spacing scale.34 Record the URL, viewport, and date per capture.352. Inventory assets: list images, fonts, icons, and videos. Download only36 licensed or replaceable files into a local vendor folder with a manifest37 (source URL -> local path -> license note).383. Define sections: split the page into sections (header, hero, proof,39 pricing, FAQ, footer). One section = one work unit with its own40 acceptance screenshot.414. Rebuild in parallel: assign one agent per section against the new stack42 (Next or React + Tailwind + TS). Shared tokens (colors, type, spacing)43 are frozen before agents start.445. Visual diff: compare each rebuilt section against its source screenshot45 side by side. Log mismatches (layout, type, spacing, color) and fix in46 the section owner only.476. Responsive pass: re-run the diff at mobile width. Fix overflow, tap48 targets, and type scale before merging sections.497. WordPress exit (when needed): map posts, pages, and media to repo50 content files, redirect old slugs, and verify every migrated URL returns51 200 in the new app.528. Ship gate: full-page diff plus link check plus build pass. No merge53 while any section diff is open.5455## Section Acceptance5657- Layout matches at desktop and mobile widths.58- Fonts, colors, and spacing use shared tokens, not hard-coded values.59- Images load from the local vendor folder, not hotlinked.60- Links and forms resolve; no dead routes.6162## Anti-Patterns6364- Copying third-party text, images, or fonts without rights.65- One giant agent rebuilding the whole page at once -> slow and blurry.66- Skipping the token freeze -> every section drifts to its own palette.6768## Exemplo6970```text71URL + stack Next/Tailwind/TS → captura (screenshots desktop+mobile, HTML, fontes, tokens)726 seções, 1 agente cada (tokens congelados) → visual diff por seção → mobile pass73Gate: diff zerado + links 200 + build verde; WordPress: posts→arquivos + redirects74```