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

url-to-code

できること

このスキルは、生きているWebサイトやアプリのページを、ローカルのフロントエンドのコードとして作り直します。所有しているサイト、またはその複製が許可されているサイトのデザインを扱う人向けです。

使う場面

  • ✓所有しているWebサイトの、忠実なローカルのコピーがほしいとき。
  • ✓あるページのレイアウトと動作を再現する許可があるとき。
  • ✓生きているページのフロントエンド版を、自分のパソコンで動かしたいとき。

スキルのリンク

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/url-to-code/SKILL.md

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

使い方

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

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/url-to-code/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“自社のランディングページを、レイアウトとボタンを合わせて、動くローカルのフロントエンドとして再現してください。”

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

仕組み

エージェントは、ページを開き、デスクトップとモバイルの表示を撮ります。構造、スタイル、操作を確認します。許可のある素材はローカルに保存し、プロジェクトの中にフロントエンドを作ります。

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

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

URL to Code

Use this workflow only when the user asks to clone or faithfully recreate a live site they own or have permission to reproduce. For redesign, improvement, or a loosely inspired result, route through ../index/SKILL.md to context and ideation instead.

Read ../index/SKILL.md, ../../references/critical-overrides.md, and relevant saved context before building.

Workflow

  1. Remind the user that they must have permission and follow the target site's terms.
  2. Open the source with the browser selected by the index. Stop if it resolves to a wrong page, login wall, error, unrelated redirect, or other surface that cannot ground the requested clone.
  3. Capture the full desktop page and a representative mobile viewport. Inspect small scroll increments so sticky, lazy-loaded, and animated content is not missed.
  4. Inspect the DOM and visible behavior for text, links, controls, component states, images, icons, fonts, colors, spacing, dimensions, breakpoints, and interaction behavior.
  5. Test important interactions one at a time and return to the starting state between tests. Preserve evidence for changed states.
  6. Save permitted source assets locally. Do not hotlink them in the final result. When an asset cannot be obtained, use an available generation tool or an appropriate open replacement and disclose the substitution.
  7. Inspect the target repository and use its existing framework and conventions. React is not required. If no app exists, create the smallest suitable frontend supported by the harness; plain HTML/CSS/JavaScript is acceptable.
  8. Build only from captured evidence. Implement the visible desktop/mobile layouts and primary interactions without inventing unrelated design choices or backend behavior.
  9. Run and inspect the local implementation with a real browser. Compare the same viewport and states against the source.
  10. Run ../design-qa/SKILL.md, save design-qa.md, fix blocking and high-impact mismatches, and hand off only after final result: passed or a clearly documented verification blocker.

Hard rules

  • Capture source evidence before scaffolding or editing.
  • Do not infer hidden states when source evidence is available.
  • Do not use screenshots alone when DOM/style/interaction evidence can be inspected.
  • Do not leave placeholder assets or improvised icon glyphs in the final implementation.
  • Build success and server health are not visual verification.
  • Publish only when the user asks and the host exposes an authorized deployment tool.
よくある質問

先に許可が必要ですか?

はい。複製の前に、許可を得ていて、サイトの利用規約に従うことを求めています。

サイトにログインが必要な場合はどうしますか?

ページがログイン画面の後ろにあるか、エラーを表示している場合は止まります。内容の根拠を示せないためです。

元のサイトの画像を再利用しますか?

元のサイトにリンクせず、許可された素材をローカルに保存します。行った置き換えは開示します。

詳細

作者による元の説明

Recreate an authorized live website or app URL as a faithful, runnable, frontend-only local implementation.

repo: XiaomiMiMo/MiMo-Code

人気

GitHubのスター
14k
ランキング
#11345
ライセンス
MIT
更新日
2026/11/2

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

0

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

コメント

  • …

このリポジトリの他のスキル

似ているスキル