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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
- Remind the user that they must have permission and follow the target site's terms.
- 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.
- Capture the full desktop page and a representative mobile viewport. Inspect small scroll increments so sticky, lazy-loaded, and animated content is not missed.
- Inspect the DOM and visible behavior for text, links, controls, component states, images, icons, fonts, colors, spacing, dimensions, breakpoints, and interaction behavior.
- Test important interactions one at a time and return to the starting state between tests. Preserve evidence for changed states.
- 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.
- 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.
- Build only from captured evidence. Implement the visible desktop/mobile layouts and primary interactions without inventing unrelated design choices or backend behavior.
- Run and inspect the local implementation with a real browser. Compare the same viewport and states against the source.
- Run
../design-qa/SKILL.md, savedesign-qa.md, fix blocking and high-impact mismatches, and hand off only afterfinal result: passedor 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
コメント
- …
このリポジトリの他のスキル
effect
14kエージェントが、Effect TypeScriptフレームワークに関する質問に、記憶に頼らず、ソースコードとドキュメントを確認して答えられるよう支援します。
arxiv
14kエージェントが、arXivの学術論文を検索、閲覧、引用、追跡できるよう支援します。要約、BibTeXの引用、PDFのダウンロード、引用リンクを扱います。
claude-code
14kエージェントが、Claude Codeのコマンドラインツールにコーディング作業を任せられるよう支援します。一回だけの実行、対話セッション、バックグラウンドのジョブのいずれにも対応します。
codex
14kエージェントが、チャット画面なしでOpenAI Codexのコマンドラインツールを実行できるよう支援します。コーディングの作業、スクリプト、自動化されたパイプラインに使えます。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。