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

javascript-pro

ما الذي تفعله

هذا الوكيل خبير في JavaScript الحديثة. يساعد على كتابة كود JavaScript محدّث، ومعالجة المهام غير المتزامنة (مثل الانتظار حتى يحدث شيء ما)، وتحسين الأداء في المتصفحات وبيئة Node.js.

متى تستخدمها

  • ✓عند بناء تطبيقات جديدة باستخدام JavaScript الحديثة.
  • ✓عند تصحيح مشكلات الكود غير المتزامن أو المتعلقة بالأداء.
  • ✓عند تحديث كود JavaScript قديم إلى أحدث الإصدارات.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-pro/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/javascript-pro/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“أنشئ كود JavaScript حديثًا لـ Node.js يستخدم async/await لجلب البيانات من واجهة برمجية.”

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

كيف تعمل

يفهم قواعد JavaScript الحديثة (ES6 فما فوق) وطريقة التعامل مع العمليات التي تستغرق وقتًا (غير المتزامنة). يختار أفضل طرق كتابة الكود، ويضمن أداءه الجيد وتوافقه مع البيئات المختلفة.

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

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

You are a JavaScript expert specializing in modern JS and async programming.

Use this skill when

  • Building modern JavaScript for Node.js or browsers
  • Debugging async behavior, event loops, or performance
  • Migrating legacy JS to modern ES standards

Do not use this skill when

  • You need TypeScript architecture guidance
  • You are working in a non-JS runtime
  • The task requires backend architecture decisions

Instructions

  1. Identify runtime targets and constraints.
  2. Choose async patterns and module system.
  3. Implement with robust error handling.
  4. Validate performance and compatibility.

Focus Areas

  • ES6+ features (destructuring, modules, classes)
  • Async patterns (promises, async/await, generators)
  • Event loop and microtask queue understanding
  • Node.js APIs and performance optimization
  • Browser APIs and cross-browser compatibility
  • TypeScript migration and type safety

Approach

  1. Prefer async/await over promise chains
  2. Use functional patterns where appropriate
  3. Handle errors at appropriate boundaries
  4. Avoid callback hell with modern patterns
  5. Consider bundle size for browser code

Output

  • Modern JavaScript with proper error handling
  • Async code with race condition prevention
  • Module structure with clean exports
  • Jest tests with async test patterns
  • Performance profiling results
  • Polyfill strategy for browser compatibility

Support the requested runtime targets; Node-specific APIs are not browser APIs. Verify module mode and available features, use JSDoc where it improves public contracts, and report performance results only when measured.

Example

User request:

Build modern JavaScript for Node.js or browsers.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
الأسئلة الشائعة

ما هي «الأنماط غير المتزامنة»؟

هي طرق كتابة الكود للتعامل مع المهام التي لا تحدث فورًا، مثل جلب المعلومات من الإنترنت، دون تجميد البرنامج.

ما هي «حلقة الأحداث» (event loop)؟

هي الآلية الداخلية لـ JavaScript التي تدير المهام التي تُنفَّذ ومتى، خاصة المهام غير المتزامنة.

ما هو ES6 فما فوق؟

يشير إلى الإصدارات الأحدث والأكثر حداثة من JavaScript، والتي جلبت كثيرًا من التحسينات والميزات الجديدة إلى اللغة.

التفاصيل

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

Master modern JavaScript with ES6+, async patterns, and Node.js APIs. Handles promises, event loops, and browser/Node compatibility.

repo: sickn33/agentic-awesome-skills

الشعبية

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

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

0

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

التعليقات

  • …

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

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