本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)38k · #7491

clone-website

できること

このスキルは、既存のWebページをあなたのプロジェクト内で動くコードとして再現します。アニメーションのあるページやFramerで作られたページを含め、サイトのローカルで編集可能な版がほしい開発者向けです。

使う場面

  • ✓既存のWebページを、動くローカルのコードとして再現したいとき。
  • ✓ページのレイアウトと操作を、レスポンシブに複製したいとき。
  • ✓同じアプリ内で、1つのサイトの複数のページを再構築したいとき。

スキルのリンク

https://github.com/JCodesMore/ai-website-cloner-template/blob/master/.agents/skills/clone-website/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/JCodesMore/ai-website-cloner-template/blob/master/.agents/skills/clone-website/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このWebサイトの料金ページと会社概要ページを、レイアウトとアニメーションを合わせた動くコードとして、当社のアプリに再構築してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、元のページとそのアセットを対応づけ、ブラウザで開いて見た目と動きを確認します。スクリーンショットやiframeではなく、各ページをプロジェクト自身の構造で編集可能なコードとして作り直します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Clone a website

Recreate the supplied pages in the current app. Match the source before adding a new design direction. Deliver working, editable code: screenshots, iframes, and downloaded production bundles are references, not the implementation.

1. Map the work

Read project instructions, the actual framework/scripts, and existing routes. Open the source URLs with the available browser. Prefer direct HTTP, asset tools, or APIs for extraction when practical; use the browser to establish appearance and behavior.

Record a short source-to-local route map and the files each page owns. Follow the app's conventions; in this template use src/app/, src/components/sites/<site>/, public/sites/<site>/, and docs/research/<site>/. Give origins, pages, and downloads distinct names; add a port or URL hash when readable names collide.

  • A first root clone may replace the untouched template homepage.
  • Preserve source pathnames for multiple pages from one origin. Query/fragment variations usually represent states of the same route; reproduce those states.
  • Preserve existing authored routes/assets. Update them when requested; resolve unrequested route collisions before replacing anything.
  • When adding pages to an existing clone, extend its layout and global styles without replacing the styles used by existing pages.
  • Use separate apps for different origins unless the user wants a combined app. Combined sites need distinct route prefixes and scoped fonts, styles, and layout.
  • Escape literal URL segments that conflict with framework syntax (_, @, brackets, parentheses) using its supported mechanism, then verify the actual requested URL.

Existing clones are useful starting points: compare them with the current source and record what was reused. Finish when every requested URL has a destination and file ownership is clear.

2. Observe before building

Inspect the whole page at desktop and mobile widths. Scroll top to bottom to load lazy media and reveal sticky/pinned scenes. Then exercise menus, tabs, accordions, carousels, hover states, and primary links. Distinguish changes driven by scroll, click, hover, or time; a click imitation of a scroll-driven section is a different product.

Treat each observation as one sample of a rule. Read declared values (computed styles, CSS variables, a library's live options) rather than inferring them from one rendering, and vary viewport width (including wider than the design), viewport height, input, and state until you know what drives each change. Drive the page with the inputs visitors use (wheel, touch, keyboard, pointer); scripted scrolling bypasses behavior attached to them, such as smooth scrolling.

Save source screenshots labeled with viewport, scroll position, and interaction state. Capture alternate-state content/assets. Keep one compact page brief: section order, typography, layout measurements, asset mapping, and interactions. Add section briefs only when they help independent builders.

Read the inspection reference for extraction and state comparison. For Framer-generated pages, sticky scenes, reveal animations, or animated media, read Framer and motion.

Use the source's real text and the files it actually loads: fonts, images, SVGs, and video. A same-named substitute from another provider or icon set has different metrics or shapes. Measure important geometry/computed styles. Inspect layered images and media elements before rebuilding a visual as HTML. Track source URL → local asset path and verify content type/dimensions: a .png URL may return AVIF.

Finish when every section and meaningful state has enough evidence to build, with unavailable details identified. A large DOM dump does not replace looking at the page.

3. Build a complete first pass

Establish fonts, page width, colors, assets, routes, page-wide behavior, and shared components first. Build each shared component with every observed state (hover, focus, breakpoints) so builders reuse it as-is. Reuse fitting components. Prefer CSS for layout/simple motion and an animation library when source behavior needs it.

Build coherent sections with real content. Delegate independent pages/sections after shared files have an owner. Give builders screenshots, relevant measurements/state notes, asset paths, destination files, and a concrete finish line. A concise brief with precise file references is enough; no fixed age

よくある質問

スクリーンショットをコピーするだけですか?

いいえ。スクリーンショットやiframeは参照にすぎず、結果は編集可能なコードになります。

既存のページを上書きしますか?

いいえ。既存のルートとアセットを残し、何かを置き換える前に衝突を解決します。

アニメーションのあるページにも対応していますか?

はい。通常のページと同様に、アニメーションのあるページやFramerのサイトも扱います。

詳細

作者による元の説明

Rebuild existing web pages as working local code, matching their real content, assets, responsive layout, and interactions. Use for website cloning, replication, or reverse engineering, including Framer sites and animated pages.

repo: JCodesMore/ai-website-cloner-template

人気

GitHubのスター
38k
ランキング
#7491
ライセンス
MIT
更新日
2026/10/19

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

似ているスキル