url-to-code
ما الذي تفعله
تعيد هذه المهارة بناء موقع أو صفحة تطبيق حية ككود واجهة أمامية محلي. وهي موجهة لمن لديهم إذن بنسخ تصميم موقع يملكونه أو يُسمح لهم بإعادة إنتاجه.
متى تستخدمها
- ✓عندما تريد نسخة محلية مطابقة لموقع تملكه.
- ✓عندما يكون لديك إذن بإعادة إنشاء تخطيط صفحة وسلوكها.
- ✓عندما تريد نسخة واجهة أمامية من صفحة حية تشغّلها على حاسوبك.
رابط المهارة
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/url-to-code/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد إعادة إنشاء صفحة الهبوط الخاصة بشركتي كواجهة أمامية محلية قابلة للتشغيل، تطابق التخطيط والأزرار.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يفتح الوكيل الصفحة، ويلتقط صورًا لنسختي سطح المكتب والجوال، ويفحص بنيتها وأنماطها وتفاعلاتها. ثم يحفظ الأصول المسموح بها محليًا ويبني الواجهة في مشروعك.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
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يساعد وكيلك على جعل واجهات الويب متاحة للجميع، فيضمن أن المواقع والتطبيقات تعمل جيدًا مع قارئات الشاشة والتنقل بلوحة المفاتيح.
frontend-patterns
280kيطبّق وكيلك أنماط تطوير الواجهات الحديثة، فيحسّن الأداء ويدير الحالة ويتبع أفضل الممارسات في React وNext.js.