Langsung ke konten
Skillpedia
Website & UI (frontend)14k · #11345

url-to-code

Fungsinya

Skill ini membangun ulang situs web atau halaman aplikasi langsung sebagai kode frontend lokal. Skill ini ditujukan untuk orang yang memiliki izin untuk menyalin desain situs yang mereka miliki atau yang boleh mereka buat ulang.

Kapan dipakai

  • ✓Saat Anda ingin salinan lokal yang setia dari situs web yang Anda miliki.
  • ✓Saat Anda punya izin untuk membuat ulang tata letak dan perilaku sebuah halaman.
  • ✓Saat Anda ingin versi frontend dari halaman langsung yang bisa dijalankan di komputer Anda.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/url-to-code/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Saya ingin membuat ulang halaman arahan perusahaan saya sendiri sebagai frontend lokal yang bisa dijalankan, dengan tata letak dan tombol yang sama.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membuka halaman, menangkap tampilan desktop dan ponsel, lalu memeriksa strukturnya, gayanya, dan interaksinya. Agent menyimpan aset yang diizinkan secara lokal dan membangun frontend di proyek Anda.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum

Apakah saya perlu izin terlebih dahulu?

Ya. Skill ini mengingatkan Anda untuk memiliki izin dan mengikuti ketentuan situs sebelum menyalin.

Bagaimana jika situs memerlukan login?

Skill ini berhenti jika halaman berada di balik layar login atau menampilkan error, karena ia tidak bisa mendasarkan teksnya.

Apakah ia memakai ulang gambar dari situs asli?

Skill ini menyimpan aset yang diizinkan secara lokal alih-alih menautkannya, dan mengungkapkan penggantian apa pun yang dilakukannya.

Detail

Deskripsi asli dari pembuat

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

repo: XiaomiMiMo/MiMo-Code

Popularitas

Bintang GitHub
14k
Peringkat
#11345
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa