Skip to content

Clone any website with one command using AI coding agents

docs: simplify Quick Start and keep one README (#116)

JCodesMorec09cf67abb65
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d623e1aa..3c93fee3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,11 +8,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
+- Simplified Quick Start with a copyable agent setup prompt, a template button, and one cloning command example
- Consolidated Claude Code, Codex, Cursor, and OpenCode support around one canonical Agent Skill in `.agents/skills/clone-website/`
- Reduced the Claude Code integration to a thin command bridge that forwards arguments to the canonical skill without creating a duplicate skill in other agents
- Moved the website inspection guide into the canonical skill's on-demand references
### Removed
+- Japanese and Simplified Chinese READMEs; the English README is the single maintained entry point
+- Redundant workflow diagrams from the READMEs
- Generated skill and instruction copies for unsupported or redundant agent platforms
- The agent-rule and skill synchronization scripts and their generated-file CI gate
diff --git a/README.ja.md b/README.ja.md
deleted file mode 100644
index 38b0ca59..00000000
--- a/README.ja.md
+++ /dev/null
@@ -1,180 +0,0 @@
-<div align="center">
-
-# AI ウェブサイトクローンテンプレート
-
-### 1つのコマンドで、あらゆるウェブサイトをクローン
-
-AI コーディングエージェントに URL を渡すだけで、ウェブサイトをクリーンな Next.js アプリとして再現できます。
-
-**最良の結果を得るには [Claude Code](https://docs.anthropic.com/en/docs/claude-code) + Opus 5 を推奨します。Codex、Cursor、OpenCode にも対応しています。**
-
-[![Use this template](https://img.shields.io/badge/Use_this_template-Create_your_copy-2ea44f?style=for-the-badge&logo=github&logoColor=white)](https://github.com/JCodesMore/ai-website-cloner-template/generate) [![Discord](https://img.shields.io/badge/Join_the_community-Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/hrTSX5yTpB)
-
-[クイックスタート](#クイックスタート) · [デモを見る](#デモ) · [対応プラットフォーム](#対応プラットフォーム)
-
-<a href="https://github.com/JCodesMore/ai-website-cloner-template/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License" /></a> <a href="https://github.com/JCodesMore/ai-website-cloner-template"><img src="https://img.shields.io/github/stars/JCodesMore/ai-website-cloner-template?style=flat" alt="Stars" /></a> <img src="https://img.shields.io/endpoint?url=https://gittokens.rsamf.com/badge/JCodesMore/ai-website-cloner-template" alt="tokens" />
-
- <a href="https://trendshift.io/repositories/24302?utm_source=repository-badge&amp;utm_medium=badge&amp;utm_campaign=badge-repository-24302" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/24302" alt="JCodesMore%2Fai-website-cloner-template | Trendshift" width="250" height="55" /></a> <a href="https://www.star-history.com/jcodesmore/ai-website-cloner-template/"><picture><source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template&amp;theme=dark" /><source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template" /><img alt="Star History 世界ランキング" src="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template" width="216" height="55" /></picture></a>
-
-</div>
-
----
-
-## デモ
-
-[![デモを見る](docs/design-references/comparison.png)](https://youtu.be/O669pVZ_qr0)
-
-> 上の画像をクリックすると、YouTube でデモ全編を視聴できます。
-
-## クイックスタート
-
-> **重要:** まず GitHub の **Use this template** ボタンを使用して、自分用のコピーを作成してください。ウェブサイトプロジェクトのためにこのテンプレートリポジトリを直接クローンしたり、生成したウェブサイトのプルリクエストをこのリポジトリに作成したりしないでください。
-
-1. **このテンプレートから自分のリポジトリを作成する**
-
- このプロジェクトの GitHub ページで **Use this template**、続いて **Create a new repository** をクリックします。
-
- 新しいリポジトリに名前を付け、公開または非公開を選択してから **Create repository** をクリックします。GitHub に **Include all branches** オプションが表示された場合は、オフのままでかまいません。
-
- これにより、独立した自分専用のプロジェクトが作成されるため、ウェブサイトへの変更はメインテンプレートに戻されず、自分のアカウント内に保持されます。
-
-2. **新しいリポジトリを自分のコンピューターで開く**
-
- GitHub がコピーを作成したら、その新しいリポジトリを開きます。**Code** をクリックし、好みのコーディングツールで新しいリポジトリを開くかクローンします。
-
- ターミナルを使用する場合、コマンドは次のようになります。
-
- ```bash
- git clone https://github.com/YOUR-USERNAME/YOUR-NEW-REPOSITORY.git
- cd YOUR-NEW-REPOSITORY
- ```
-
-3. **依存関係をインストールする**
- ```bash
- npm install
- ```
-4. **AI エージェントを起動する** — Claude Code を推奨:
- ```bash
- claude --chrome
- ```
-5. **各エージェントの方法でスキルを実行する**:
-
- - Claude Code または Cursor:`/clone-website <target-url1> [<target-url2> ...]`
- - Codex:`$clone-website <target-url1> [<target-url2> ...]`
- - OpenCode:`clone-website スキルを使って <対象URL> をクローンして`
-
-6. **カスタマイズする**(任意)— 基本のクローンが構築された後、必要に応じて変更します
-
-> ワークフローはテンプレートに含まれています。スキルの追加インストールや同期コマンドは不要です。プロジェクトの指示は `AGENTS.md` にあります。
-
-## 対応プラットフォーム
-
-| エージェント | 状態 |
-| ------------------------------------------------------------- | --------------------- |
-| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | **推奨** — Opus 5 |
-| [Codex CLI](https://github.com/openai/codex) | 対応 |
-| [OpenCode](https://opencode.ai/) | 対応 |
-| [Cursor](https://cursor.com/) | 対応 |
-
-## 前提条件
-
-- [Node.js](https://nodejs.org/) 24 以降
-- AI コーディングエージェント([対応プラットフォーム](#対応プラットフォーム)を参照)
-
-## 技術スタック
-
-- **Next.js 16** — App Router、React 19、TypeScript strict
-- **shadcn/ui** — Radix プリミティブ + Tailwind CSS v4
-- **Tailwind CSS v4** — oklch デザイントークン
-- **Lucide React** — デフォルトのアイコン(クローン作成時に抽出した SVG に置き換えられます)
-
-## 仕組み
-
-`/clone-website` スキルは、複数フェーズのパイプラインを実行します。
-
-```mermaid
-flowchart LR
- P1["1. 調査"] --> P2["2. 基盤構築"]
- P2 --> P3["3. コンポーネント仕様"]
- P3 --> P4["4. 並列ビルド"]
- P4 --> P5["5. 統合と QA"]
-```
-
-1. **調査** — スクリーンショット、デザイントークンの抽出、インタラクションの網羅的な確認(スクロール、クリック、ホバー、レスポンシブ)
-2. **基盤構築** — フォント、色、グローバル設定を更新し、すべてのアセットをダウンロード
-3. **コンポーネント仕様** — 正確に算出された CSS 値、状態、動作、コンテンツを含む詳細な仕様ファイルを `docs/research/components/` に作成
-4. **並列ビルド** — セクションまたはコンポーネントごとに 1 つずつ、git worktree 内でビルダーエージェントを実行
-5. **統合と QA** — worktree をマージしてページを接続し、元のサイトとのビジュアル差分を確認
-
-各ビルダーエージェントには、正確な `getComputedStyle()` の値、インタラクションモデル、複数状態のコンテンツ、レスポンシブのブレークポイント、アセットのパスを含む完全なコンポーネント仕様がインラインで渡されます。エージェントが推測で補うことはありません。
-
-## 使用例
-
-- **プラットフォーム移行** — 所有しているサイトを WordPress、Webflow、Squarespace からモダンな Next.js コードベースへ再構築
-- **ソースコードを紛失した場合** — サイトは公開中でも、リポジトリがなくなった、開発者が離任した、または技術スタックが旧式になった場合に、コードをモダンな形式で取り戻す
-- **学習** — 実際のコードを扱いながら、本番サイトが特定のレイアウト、アニメーション、レスポンシブ動作をどのように実現しているかを分解して理解
-
-## 想定していない用途
-
-- **フィッシングまたはなりすまし** — このプロジェクトを、欺瞞的な目的、なりすまし、または法律に違反する活動に使用してはなりません。
-- **他者のデザインを自作と偽ること** — ロゴ、ブランドアセット、オリジナルの文章は、それぞれの所有者に帰属します。
-- **利用規約への違反** — 一部のサイトではスクレイピングや複製が明示的に禁止されています。事前に確認してください。
-
-## プロジェクト構成
-
-```
-src/
- app/ # Next.js ルート
- components/ # React コンポーネント
- ui/ # shadcn/ui プリミティブ
- icons.tsx # 抽出された SVG アイコン
- lib/utils.ts # cn() ユーティリティ
- types/ # TypeScript インターフェース
- hooks/ # カスタム React フック
-public/
- images/ # 対象サイトからダウンロードした画像
- videos/ # 対象サイトからダウンロードした動画
- seo/ # ファビコン、OG 画像
-docs/
- research/ # 調査結果とコンポーネント仕様
- design-references/ # スクリーンショット
-.agents/skills/
- clone-website/ # 正本スキルと検査リファレンス
-.claude/commands/
- clone-website.md # Claude Code 用の薄いブリッジ
-AGENTS.md # エージェント指示(唯一の参照元)
-CLAUDE.md # Claude Code 設定(AGENTS.md を読み込み)
-```
-
-## コマンド
-
-```bash
-npm run dev # 開発サーバーを起動
-npm run build # 本番ビルド
-npm run lint # ESLint チェック
-npm run typecheck # TypeScript チェック
-npm run check # lint + typecheck + build を実行
-```
-
-### Docker を使用する場合
-
-```bash
-docker compose up app --build # アプリをビルドして起動
-docker compose up dev --build # ポート 3001 で開発モードを起動
-```
-
-## エージェント対応
-
-プロジェクトは `.agents/skills/clone-website/` に1つのポータブルな Agent Skill を保持します。Codex、Cursor、OpenCode はこれを直接読み取ります。Claude Code は `.claude/commands/clone-website.md` の小さなコマンドブリッジを使用するため、他のエージェントに重複したスキルを公開せずに `/clone-website` と引数を利用できます。
-
-変更は正本スキルに直接加えてください。プラットフォーム別の生成コピーや同期スクリプトはありません。
-
-## Star History
-
-![Star History Chart](docs/assets/star-history.png)
-
-## ライセンス
-
-MIT
-
-<sub>言語: <a href="README.md">English</a> · 日本語 · <a href="README.zh-CN.md">简体中文</a></sub>
diff --git a/README.md b/README.md
index 09bbae6c..887232e5 100644
--- a/README.md
+++ b/README.md
@@ -28,44 +28,33 @@ Give your AI coding agent a URL and watch it recreate the website as a clean Nex
## Quick Start
-> **Important:** Start by making your own copy with GitHub's **Use this template** button. Do not clone this template repository directly for your website project, and do not open pull requests here with your generated website.
+### 1. Set up your project
-1. **Create your own repository from this template**
+**Recommended: ask your agent.** Paste this into Codex, Claude Code, or your coding agent:
- On the GitHub page for this project, click **Use this template**, then click **Create a new repository**.
-
- Give your new repository a name, choose whether it should be public or private, then click **Create repository**. If GitHub shows an **Include all branches** option, you can leave it off.
-
- This gives you your own separate project to work in, so your website changes stay in your account instead of coming back to the main template.
-
-2. **Open your new repository on your computer**
+```text
+Set up https://github.com/JCodesMore/ai-website-cloner-template
+as a standalone project in a new folder on my computer.
+Ask me where to put it. Clone the repository, remove its origin remote,
+install dependencies, and run npm run check. Leave it ready for me
+to clone a website.
+```
- After GitHub creates your copy, open that new repository. Click **Code** and open or clone your new repository with your preferred coding tool.
+**Or create your own GitHub repository:**
- If you use the terminal, the command will look like this:
+[![Use this template](https://img.shields.io/badge/Use_this_template-Create_your_copy-2ea44f?style=for-the-badge&logo=github&logoColor=white)](https://github.com/JCodesMore/ai-website-cloner-template/generate)
- ```bash
- git clone https://github.com/YOUR-USERNAME/YOUR-NEW-REPOSITORY.git
- cd YOUR-NEW-REPOSITORY
- ```
+Give it a name and click **Create repository**. Then give your agent the new repository's link and ask it to clone it onto your computer, install dependencies, and run `npm run check`.
-3. **Install dependencies**
- ```bash
- npm install
- ```
-4. **Start your AI agent** — Claude Code recommended:
- ```bash
- claude --chrome
- ```
-5. **Run the skill** using your agent's native invocation:
+### 2. Clone a website
- - Claude Code or Cursor: `/clone-website <target-url1> [<target-url2> ...]`
- - Codex: `$clone-website <target-url1> [<target-url2> ...]`
- - OpenCode: `Clone <target-url> using the clone-website skill`
+Open the project in your agent with browser access enabled. In Claude Code or Cursor, run:
-6. **Customize** (optional) — after the base clone is built, modify as needed
+```text
+/clone-website https://example.com
+```
-> The workflow ships with the template. No separate skill installation or synchronization command is required. Project instructions are in `AGENTS.md`.
+Replace the URL with the website you want to recreate. Once it's built, ask your agent for any changes you want.
## Supported Platforms
@@ -92,14 +81,6 @@ Give your AI coding agent a URL and watch it recreate the website as a clean Nex
The `/clone-website` skill runs a multi-phase pipeline:
-```mermaid
-flowchart LR
- P1["1. Reconnaissance"] --> P2["2. Foundation"]
- P2 --> P3["3. Component Specs"]
- P3 --> P4["4. Parallel Build"]
- P4 --> P5["5. Assembly and QA"]
-```
-
1. **Reconnaissance** — screenshots, design token extraction, interaction sweep (scroll, click, hover, responsive)
2. **Foundation** — updates fonts, colors, globals, downloads all assets
3. **Component Specs** — writes detailed spec files (`docs/research/components/`) with exact computed CSS values, states, behaviors, and content
@@ -177,5 +158,3 @@ Edit the canonical skill directly. There are no generated platform copies or syn
## License
MIT
-
-<sub>Translations: <a href="README.ja.md">日本語</a> · <a href="README.zh-CN.md">Simplified Chinese</a></sub>
diff --git a/README.zh-CN.md b/README.zh-CN.md
deleted file mode 100644
index 71185356..00000000
--- a/README.zh-CN.md
+++ /dev/null
@@ -1,180 +0,0 @@
-<div align="center">
-
-# AI Website Cloner Template 中文版
-
-### 一条命令,克隆任意网站
-
-只需给你的 AI 编程代理一个 URL,它就会将该网站重新构建成一个简洁的 Next.js 应用。
-
-**推荐使用 [Claude Code](https://docs.anthropic.com/en/docs/claude-code) + Opus 5 以获得最佳效果,同时支持 Codex、Cursor 和 OpenCode。**
-
-[![Use this template](https://img.shields.io/badge/Use_this_template-Create_your_copy-2ea44f?style=for-the-badge&logo=github&logoColor=white)](https://github.com/JCodesMore/ai-website-cloner-template/generate) [![Discord](https://img.shields.io/badge/Join_the_community-Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/hrTSX5yTpB)
-
-[快速开始](#快速开始) · [观看演示](#演示) · [支持的平台](#支持的平台)
-
-<a href="https://github.com/JCodesMore/ai-website-cloner-template/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License" /></a> <a href="https://github.com/JCodesMore/ai-website-cloner-template"><img src="https://img.shields.io/github/stars/JCodesMore/ai-website-cloner-template?style=flat" alt="Stars" /></a> <img src="https://img.shields.io/endpoint?url=https://gittokens.rsamf.com/badge/JCodesMore/ai-website-cloner-template" alt="tokens" />
-
- <a href="https://trendshift.io/repositories/24302?utm_source=repository-badge&amp;utm_medium=badge&amp;utm_campaign=badge-repository-24302" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/24302" alt="JCodesMore%2Fai-website-cloner-template | Trendshift" width="250" height="55" /></a> <a href="https://www.star-history.com/jcodesmore/ai-website-cloner-template/"><picture><source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template&amp;theme=dark" /><source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template" /><img alt="Star History 全球排名" src="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template" width="216" height="55" /></picture></a>
-
-</div>
-
----
-
-## 演示
-
-[![观看演示](docs/design-references/comparison.png)](https://youtu.be/O669pVZ_qr0)
-
-> 点击上方图片即可在 YouTube 观看完整演示。
-
-## 快速开始
-
-> **重要提示:** 请先使用 GitHub 的 **Use this template** 按钮创建自己的副本。不要直接克隆本模板仓库用于你的实际网站项目,也不要在此提交你生成的网站代码。
-
-1. **从模板创建自己的仓库**
-
- 在本项目的 GitHub 页面点击 **Use this template**,然后点击 **Create a new repository**。
-
- 为新仓库命名,选择公开或私有,再点击 **Create repository**。如果出现 **Include all branches** 选项,可保持关闭。
-
- 这样你就能拥有一个独立的项目空间,你的网站修改会保留在你自己的账号下,而不会回到模板仓库。
-
-2. **在本地打开新仓库**
-
- GitHub 创建副本后,打开该仓库。点击 **Code**,用你喜欢的工具打开或克隆。
-
- 如果使用终端,命令大致如下:
-
- ```bash
- git clone https://github.com/YOUR-USERNAME/YOUR-NEW-REPOSITORY.git
- cd YOUR-NEW-REPOSITORY
- ```
-
-3. **安装依赖**
- ```bash
- npm install
- ```
-4. **启动你的 AI 代理** — 推荐使用 Claude Code:
- ```bash
- claude --chrome
- ```
-5. **使用对应代理的原生方式运行技能**:
-
- - Claude Code 或 Cursor:`/clone-website <目标网址1> [<目标网址2> ...]`
- - Codex:`$clone-website <目标网址1> [<目标网址2> ...]`
- - OpenCode:`使用 clone-website 技能克隆 <目标网址>`
-
-6. **按需定制**(可选) — 基础克隆完成后,可进一步修改。
-
-> 工作流已随模板提供,无需单独安装技能或运行同步命令。项目指令位于 `AGENTS.md`。
-
-## 支持的平台
-
-| 代理 | 状态 |
-| ------------------------------------------------------------- | --------------------------- |
-| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | **推荐** — Opus 5 |
-| [Codex CLI](https://github.com/openai/codex) | 已支持 |
-| [OpenCode](https://opencode.ai/) | 已支持 |
-| [Cursor](https://cursor.com/) | 已支持 |
-
-## 前置要求
-
-- [Node.js](https://nodejs.org/) 24+
-- 一个 AI 编程代理(见[支持的平台](#支持的平台))
-
-## 技术栈
-
-- **Next.js 16** — App Router、React 19、TypeScript strict
-- **shadcn/ui** — Radix 基础组件 + Tailwind CSS v4
-- **Tailwind CSS v4** — oklch 设计 token
-- **Lucide React** — 默认图标(克隆过程中会替换为提取的 SVG)
-
-## 工作原理
-
-`/clone-website` 指令会运行一个多阶段流水线:
-
-```mermaid
-flowchart LR
- P1["1. 侦察"] --> P2["2. 基础搭建"]
- P2 --> P3["3. 组件规格"]
- P3 --> P4["4. 并行构建"]
- P4 --> P5["5. 组装与 QA"]
-```
-
-1. **侦察(Reconnaissance)** — 截图、提取设计 token、扫描交互行为(滚动、点击、悬停、响应式)
-2. **基础搭建(Foundation)** — 更新字体、颜色、全局样式,下载全部资源
-3. **组件规格(Component Specs)** — 编写详细的规格文件(`docs/research/components/`),包含精确的计算 CSS 值、状态、行为和内容
-4. **并行构建(Parallel Build)** — 在 git worktree 中分派构建器代理,每个代理负责一个区块或组件
-5. **组装与 QA(Assembly & QA)** — 合并 worktree、拼接页面、与原站进行视觉对比
-
-每个构建器代理都会收到完整的组件规格内联说明 —— 精确的 `getComputedStyle()` 值、交互模型、多状态内容、响应式断点、资源路径,无需猜测。
-
-## 使用场景
-
-- **平台迁移** — 将你自己拥有的 WordPress / Webflow / Squarespace 站点重建为现代 Next.js 代码库
-- **源码丢失** — 站点仍在线上,但仓库丢失、开发者离职或技术栈过时,用现代格式把代码拿回来
-- **学习研究** — 通过真实代码拆解生产站点如何实现特定布局、动画和响应式行为
-
-## 不适用于
-
-- **钓鱼或冒充** — 本项目严禁用于欺骗、冒充或任何违法活动。
-- **将他人设计据为己有** — 徽标、品牌资产和原始文案均归其所有者所有。
-- **违反服务条款** — 部分站点明确禁止抓取或复制,请先确认相关规定。
-
-## 项目结构
-
-```
-src/
- app/ # Next.js 路由
- components/ # React 组件
- ui/ # shadcn/ui 基础组件
- icons.tsx # 提取的 SVG 图标
- lib/utils.ts # cn() 工具函数
- types/ # TypeScript 接口
- hooks/ # 自定义 React hooks
-public/
- images/ # 从目标站点下载的图片
- videos/ # 从目标站点下载的视频
- seo/ # Favicon、OG 图片
-docs/
- research/ # 提取产物与组件规格
- design-references/ # 截图参考
-.agents/skills/
- clone-website/ # 规范技能与检查参考
-.claude/commands/
- clone-website.md # Claude Code 的轻量桥接文件
-AGENTS.md # 代理指令(单一事实来源)
-CLAUDE.md # Claude Code 配置(引用 AGENTS.md)
-```
-
-## 常用命令
-
-```bash
-npm run dev # 启动开发服务器
-npm run build # 生产构建
-npm run lint # ESLint 检查
-npm run typecheck # TypeScript 检查
-npm run check # 同时运行 lint + typecheck + build
-```
-
-### 使用 Docker
-
-```bash
-docker compose up app --build # 构建并运行应用
-docker compose up dev --build # 在开发模式下运行,端口 3001
-```
-
-## 代理支持
-
-项目在 `.agents/skills/clone-website/` 中维护一份可移植的 Agent Skill。Codex、Cursor 和 OpenCode 会直接读取它。Claude Code 通过 `.claude/commands/clone-website.md` 中的轻量命令桥接文件运行,因此无需向其他代理暴露重复技能也能保留 `/clone-website` 及其参数。
-
-请直接编辑规范技能。本项目不再包含各平台的生成副本或同步脚本。
-
-## Star 历史
-
-![Star History Chart](docs/assets/star-history.png)
-
-## 许可证
-
-MIT
-
-<sub>语言: <a href="README.md">English</a> · <a href="README.ja.md">日本語</a> · 简体中文</sub>