Skip to content

Clone any website with one command using AI coding agents

Refactor cloning process documentation and remove TARGET.md

JCodesMore57f84b40af93
diff --git a/.claude/skills/clone-website/SKILL.md b/.claude/skills/clone-website/SKILL.md
index 528e4b20..54b97650 100644
--- a/.claude/skills/clone-website/SKILL.md
+++ b/.claude/skills/clone-website/SKILL.md
@@ -11,10 +11,21 @@ You are about to reverse-engineer and rebuild **$ARGUMENTS** as a pixel-perfect
This is not a two-phase process (inspect then build). You are a **foreman walking the job site** — as you inspect each section of the page, you write a detailed specification to a file, then hand that file to a specialist builder agent with everything they need. Extraction and construction happen in parallel, but extraction is meticulous and produces auditable artifacts.
+## Scope Defaults
+
+The target is whatever page `$ARGUMENTS` resolves to. Clone exactly what's visible at that URL. Unless the user specifies otherwise, use these defaults:
+
+- **Fidelity level:** Pixel-perfect — exact match in colors, spacing, typography, animations
+- **In scope:** Visual layout and styling, component structure and interactions, responsive design, mock data for demo purposes
+- **Out of scope:** Real backend / database, authentication, real-time features, SEO optimization, accessibility audit
+- **Customization:** None — pure emulation
+
+If the user provides additional instructions (specific fidelity level, customizations, extra context), honor those over the defaults.
+
## Pre-Flight
1. **Chrome MCP is required.** Test it immediately. If it's not available, stop and tell the user to enable it — this skill cannot work without browser automation.
-2. Read `TARGET.md` for URL and scope. If the URL doesn't match `$ARGUMENTS`, update it.
+2. Verify the target URL from `$ARGUMENTS` is valid and accessible via Chrome MCP.
3. Verify the base project builds: `npm run build`. The Next.js + shadcn/ui + Tailwind v4 scaffold should already be in place. If not, tell the user to set it up first.
4. Create the output directories if they don't exist: `docs/research/`, `docs/research/components/`, `docs/design-references/`, `scripts/`.
diff --git a/AGENTS.md b/AGENTS.md
index 7972ad3d..3ca20fe8 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -7,7 +7,7 @@ This version has breaking changes — APIs, conventions, and file structure may
# Website Reverse-Engineer Template
## What This Is
-A reusable template for reverse-engineering any website and rebuilding it as a faithful clone using Claude Code. The Next.js + shadcn/ui + Tailwind v4 base is pre-scaffolded — just fill in TARGET.md and run `/clone-website`.
+A reusable template for reverse-engineering any website and rebuilding it as a faithful clone using Claude Code. The Next.js + shadcn/ui + Tailwind v4 base is pre-scaffolded — just run `/clone-website <url>`.
## Tech Stack
- **Framework:** Next.js 16 (App Router, React 19, TypeScript strict)
@@ -59,4 +59,3 @@ scripts/ # Asset download scripts
- When launching Claude Code agent teams, ALWAYS have each teammate work in their own worktree branch and merge everyone's work at the end, resolving any merge conflicts smartly since you are basically serving the orchestrator role and have full context to our goals, work given, work achieved, and desired outcomes.
@docs/research/INSPECTION_GUIDE.md
diff --git a/README.md b/README.md
index 56b37925..e58947cb 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,6 @@ Point it at a URL, run `/clone-website`, and Claude Code will inspect the site v
```
5. **Customize** (optional) — after the base clone is built, modify as needed
-> **Tip:** You can optionally edit `TARGET.md` before cloning to specify pages, fidelity level, and scope — but it's not required. The `/clone-website` skill will handle everything from just the URL.
## Prerequisites
@@ -76,7 +75,6 @@ docs/
research/ # Extraction output & component specs
design-references/ # Screenshots
scripts/ # Asset download scripts
-TARGET.md # Clone target configuration
AGENTS.md # Agent instructions & code style
```
@@ -88,16 +86,9 @@ npm run build # Production build
npm run lint # ESLint check
```
-## Configuration (Optional)
+## Defaults
-Edit **`TARGET.md`** before cloning if you want fine-grained control:
-
-- **Pages** — which pages to replicate (default: home page)
-- **Fidelity** — pixel-perfect, high fidelity, or structural
-- **Scope** — what's in/out of scope
-- **Customization plans** — modifications to apply after the base clone
-
-If you skip this, `/clone-website <url>` will default to a pixel-perfect clone of the home page.
+`/clone-website <url>` defaults to a pixel-perfect clone of whatever page is at that URL. No extra configuration needed. The skill handles scope, fidelity, and asset extraction automatically.
## Star History
diff --git a/TARGET.md b/TARGET.md
deleted file mode 100644
index 1302b894..00000000
--- a/TARGET.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Target Website
-
-## URL
-<!-- Replace with the URL of the website you're reverse-engineering -->
-https://example.com
-
-## Scope
-
-### Pages to Replicate
-<!-- List every page you want to rebuild. Be specific. -->
-- [ ] Home page
-- [ ] (add more pages here)
-
-### Fidelity Level
-<!-- Choose one -->
-- [ ] **Pixel-perfect** — exact match in colors, spacing, typography, animations
-- [ ] **High fidelity** — visually similar, same layout and feel, minor deviations OK
-- [ ] **Structural** — same layout and components, custom styling acceptable
-
-### In Scope
-<!-- What you're building -->
-- Visual layout and styling
-- Component structure and interactions
-- Responsive design
-- Mock data for demo purposes
-
-### Out of Scope
-<!-- What you're NOT building -->
-- Real backend / database
-- Authentication
-- Real-time features
-- SEO optimization
-- Accessibility audit (unless specifically needed)
-
-## Why
-<!-- Brief explanation of why you're cloning this site -->
-(Fill in your reason — portfolio piece, learning exercise, demo, template for custom features, etc.)
-
-## Customization Plans
-<!-- After the base emulation, what changes do you want to make? -->
-- (List planned modifications or say "none — pure emulation")