Pular para o conteúdo
Skillpedia
Sites e telas (frontend)14 mil · #11345

url-to-code

O que ela faz

Esta skill reconstrói um site ou uma página de app ao vivo como código de front-end local. Ela é para quem tem permissão para copiar o design de um site que possui ou que tem autorização para reproduzir.

Quando usar

  • ✓Quando você quiser uma cópia local fiel de um site que você possui.
  • ✓Quando tiver permissão para recriar o layout e o comportamento de uma página.
  • ✓Quando quiser uma versão em front-end de uma página ao vivo que possa rodar no seu computador.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/url-to-code/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Quero recriar a página inicial da minha própria empresa como um front-end local executável, combinando o layout e os botões.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente abre a página, captura as visões de desktop e de celular e inspeciona a sua estrutura, os estilos e as interações. Ele salva localmente os ativos permitidos e constrói o front-end no seu projeto.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.
Perguntas frequentes

Preciso de permissão antes?

Sim. A skill lembra você de ter permissão e de seguir os termos do site antes de copiar.

E se um site exigir login?

A skill para se a página estiver atrás de um login ou mostrar um erro, pois não consegue embasar a cópia.

Ela vai reaproveitar imagens do site original?

Ela salva localmente os ativos permitidos em vez de criar links para eles, e informa quaisquer substituições que faça.

Detalhes

Descrição original do autor

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

repo: XiaomiMiMo/MiMo-Code

Popularidade

Estrelas no GitHub
14 mil
Posição no ranking
#11345
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas