url-to-code
What it does
This skill rebuilds a live website or app page as local frontend code. It is for people who have permission to copy the design of a site they own or are allowed to reproduce.
When to use it
- ✓When you want a faithful local copy of a website you own.
- ✓When you have permission to recreate a page's layout and behavior.
- ✓When you want a frontend version of a live page that you can run on your computer.
Skill link
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/url-to-code/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want to recreate my own company landing page as a runnable local frontend, matching the layout and buttons.”
5 new skills a week. 1 minute to read.
How it works
The agent opens the page, captures desktop and mobile views, and inspects its structure, styles, and interactions. It saves the permitted assets locally and builds the frontend in your project.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Do I need permission first?
Yes. The skill reminds you to have permission and to follow the site's terms before cloning.
What if a site needs a login?
The skill stops if the page is behind a login wall or shows an error, since it cannot ground the copy.
Will it reuse images from the original site?
It saves permitted assets locally instead of linking to them, and it discloses any substitutions it makes.
Details
Original description by the author
Recreate an authorized live website or app URL as a faithful, runnable, frontend-only local implementation.
repo: XiaomiMiMo/MiMo-Code
Popularity
- GitHub stars
- 14k
- Ranking position
- #11345
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
effect
14kHelps your agent answer questions about the Effect TypeScript framework by checking its source code and docs instead of relying on memory.
arxiv
14kHelps your agent search, read, cite, and track academic papers on arXiv, including abstracts, BibTeX citations, PDF downloads, and citation links.
claude-code
14kHelps your agent hand a coding task to the Claude Code command line tool, as a one-shot run, an interactive session, or a background job.
codex
14kHelps your agent run the OpenAI Codex command line tool without a chat window, for coding tasks, scripts, and automated pipelines.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.