

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1<!-- BEGIN:nextjs-agent-rules -->23# This is NOT the Next.js you know45This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.67This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.89<!-- END:nextjs-agent-rules -->1011# Website Reverse-Engineer Template1213## What This Is14A reusable template for reverse-engineering any website into a clean, modern Next.js codebase using AI coding agents. The Next.js + shadcn/ui + Tailwind v4 base is pre-scaffolded — just run `/clone-website <url1> [<url2> ...]`.1516## Tech Stack17- **Framework:** Next.js 16 (App Router, React 19, TypeScript strict)18- **UI:** shadcn/ui (Radix primitives, Tailwind CSS v4, `cn()` utility)19- **Icons:** Lucide React (default — will be replaced/supplemented by extracted SVGs)20- **Styling:** Tailwind CSS v4 with oklch design tokens21- **Deployment:** Vercel2223## Commands24- `npm run dev` — Start dev server25- `npm run build` — Production build26- `npm run lint` — ESLint check27- `npm run typecheck` — TypeScript check28- `npm run check` — Run lint + typecheck + build2930## Code Style31- TypeScript strict mode, no `any`32- Named exports, PascalCase components, camelCase utils33- Tailwind utility classes, no inline styles34- 2-space indentation35- Responsive: mobile-first3637## Design Principles38- **Pixel-perfect emulation** — match the target's spacing, colors, typography exactly39- **No personal aesthetic changes during emulation phase** — match 1:1 first, customize later40- **Real content** — use actual text and assets from the target site, not placeholders41- **Beauty-first** — every pixel matters4243## Project Structure44```45src/46 app/ # Next.js routes47 components/ # React components48 ui/ # shadcn/ui primitives49 icons.tsx # Extracted SVG icons as React components50 lib/51 utils.ts # cn() utility (shadcn)52 types/ # TypeScript interfaces53 hooks/ # Custom React hooks54public/55 images/ # Downloaded images from target site56 videos/ # Downloaded videos from target site57 seo/ # Favicons, OG images, webmanifest58docs/59 research/ # Inspection output (design tokens, components, layout)60 design-references/ # Screenshots and visual references61scripts/ # Asset download scripts62```6364## MOST IMPORTANT NOTES65- 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.66- After editing `AGENTS.md`, run `bash scripts/sync-agent-rules.sh` to regenerate platform-specific instruction files.67- After editing `.claude/skills/clone-website/SKILL.md`, run `node scripts/sync-skills.mjs` to regenerate the skill for all platforms.6869@docs/research/INSPECTION_GUIDE.md70
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| JCodesMore/ai-website-cloner-template.clinerules · 32k | Cline rules | buildlint-formatstylearch+3 | 97/100 | 7 days ago | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 32k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 7 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| code-yeongyu/oh-my-openagentpackages/web/AGENTS.md · 68k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 13 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 14 days ago | |
| aaif-goose/gooseAGENTS.md · 53k | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 8 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| deepseek-ai/deepseek-harnessnative/landlock-run/AGENTS.md · 104k | AGENTS.md | setupteststylearch+3 | 100/100 | today | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | today | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 201k | AGENTS.md | buildteststylearch+3 | 100/100 | 14 days ago | |
| elastic/elasticsearchx-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/AGENTS.md · 78k | AGENTS.md | buildtestlint-formatstyle+2 | 100/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/jcodesmore-ai-website-cloner-template-agents)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.