Skillpedia
المواقع والواجهات (frontend)14k · #11345

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) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/product-design/workflows/url-to-code/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أريد إعادة إنشاء صفحة الهبوط الخاصة بشركتي كواجهة أمامية محلية قابلة للتشغيل، تطابق التخطيط والأزرار.”

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

  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.
الأسئلة الشائعة

هل أحتاج إلى إذن أولًا؟

نعم. تذكّرك المهارة بالحصول على إذن واتباع شروط الموقع قبل النسخ.

ماذا لو يتطلب الموقع تسجيل دخول؟

تتوقف المهارة إذا كانت الصفحة خلف تسجيل دخول أو تعرض خطأ، لأنها لا تستطيع تأسيس المحتوى.

هل ستعيد استخدام صور من الموقع الأصلي؟

تحفظ الأصول المسموح بها محليًا بدلًا من ربطها، وتذكر أي بدائل تستخدمها.

التفاصيل

الوصف الأصلي من المؤلف

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

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة