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

animated-content

ما الذي تفعله

هذه المهارة تفحص ملفات GIF المتحركة الكبيرة التي تُبطئ صفحة الويب. وهي موجهة لمطوري الويب الذين يريدون صفحات أسرع مع حركة سلسة.

متى تستخدمها

  • ✓عندما تُحمَّل الصفحة ببطء بسبب ملفات GIF متحركة كبيرة.
  • ✓عندما تريد استبدال ملف GIF بفيديو أخف.
  • ✓عندما يتمرر الموقع بصعوبة على الهواتف، وتشك في الصور المتحركة الثقيلة.

رابط المهارة

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/animated-content/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/animated-content/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“ابحث عن ملفات GIF المتحركة الكبيرة في صفحة الهبوط لدي، وحوّلها إلى فيديو لتُحمَّل الصفحة أسرع.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يجد الوكيل ملفات GIF المتحركة، ويقترح تحويلها إلى MP4 أو WebM، ويبيّن كيفية تضمينها في وسم video يعمل تلقائيًا وبلا صوت.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Convert animated GIFs to video

Large animated GIFs can significantly increase page weight and consume excessive CPU/memory, leading to slower page loads and poor scrolling performance.

Quick Reference

  • Use <video> instead of large GIFs for animations
  • GIFs are significantly larger than MP4/WebM
  • Videos allow for better control and performance

Check

Check for large animated GIFs that could be replaced with more efficient video formats like MP4 or WebM.

Fix

Convert animated GIFs to MP4 or WebM and use the <video> tag with autoplay, loop, muted, and playsinline attributes.

Explain

Explain why video formats are more efficient than GIFs for animated content and how they improve performance.

Code Review

Review the routes, assets, and loading behavior that affect Convert animated GIFs to video. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/animated-content

الأسئلة الشائعة

لماذا تكون ملفات GIF بطيئة؟

تنص المهارة على أن ملفات GIF أكبر بكثير من ملفات MP4 أو WebM، ما يبطئ تحميل الصفحة ويستهلك ذاكرة أكبر.

ما السمات التي يحتاجها وسم video؟

تذكر المهارة autoplay وloop وmuted وplaysinline.

هل أقيس قبل أن أغيّر شيئًا؟

نعم. تنص المهارة على التأكد من نقطة الاختناق الحقيقية بأدوات المتصفح أو بيانات الاستخدام الفعلية أولًا.

التفاصيل

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

Use when auditing slow page loads, heavy assets, or rendering delays related to Convert animated GIFs to video. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

الشعبية

نجوم GitHub
75k
الترتيب
#2721
الترخيص
MIT
آخر تحديث
31‏/10‏/2026

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

0

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

التعليقات

  • …

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

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