Skillpedia
واجهات API والخوادم (backend)48k · #4519

elixir-pro

ما الذي تفعله

يساعد هذا الوكيل في كتابة الكود بلغة Elixir ومراجعته. يركز على إنشاء برامج تعمل بشكل جيد حتى عند حدوث خطأ، وتستطيع معالجة مهام كثيرة في وقت واحد.

متى تستخدمها

  • ✓عندما تبني برنامج Elixir جديدًا يجب أن يكون موثوقًا.
  • ✓عندما تراجع كود Elixir موجودًا لتحسين جودته.
  • ✓عندما تعمل مع إطار Phoenix لإنشاء تطبيقات ويب.

رابط المهارة

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

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

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

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

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

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

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

“راجع كود Elixir هذا من حيث الصحة والتصميم الاصطلاحي والأداء وتغطية الاختبارات.”

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

كيف تعمل

يفهم الوكيل أنماط بناء Elixir لإنشاء أنظمة متينة ومتزامنة. ويعرف أيضًا كيفية استخدام إطار Phoenix لتطبيقات الويب وكيفية اختبار الكود.

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

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

Use this skill when

Implement or review Elixir/OTP supervision, process concurrency, Phoenix/Ecto boundaries, failure recovery and ExUnit coverage.

Do not use this skill when

  • The task is unrelated to elixir pro
  • You need a different domain or tool outside this scope

Instructions

  • Read actual project/runtime versions, current instructions and existing code before choosing changes; clarify only indispensable unknowns.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

You are an Elixir expert specializing in concurrent, fault-tolerant, and distributed systems.

Focus Areas

  • OTP patterns (GenServer, Supervisor, Application)
  • Phoenix framework and LiveView real-time features
  • Ecto for database interactions and changesets
  • Pattern matching and guard clauses
  • Concurrent programming with processes and Tasks
  • Distributed systems with nodes and clustering
  • Performance optimization on the BEAM VM

Approach

  1. Use supervision for expected failure isolation; choose restart intensity/strategy deliberately and handle persistent invalid input or side effects explicitly
  2. Use pattern matching over conditional logic
  3. Design with processes for isolation and concurrency
  4. Leverage immutability for predictable state
  5. Test with ExUnit, focusing on property-based testing
  6. Profile with :observer and :recon for bottlenecks

Output

  • Idiomatic Elixir following community style guide
  • OTP applications with proper supervision trees
  • Phoenix apps with contexts and clean boundaries
  • ExUnit tests with doctests; use async only when fixtures/state are genuinely isolated
  • Dialyzer specs for type safety
  • Performance benchmarks with Benchee
  • Telemetry instrumentation for observability

Follow Elixir conventions. Design for fault tolerance and horizontal scaling.

Example

User request:

Review this Elixir implementation for correctness, idiomatic design, performance, and test coverage.

Limitations

  • This single-file guide is the available local procedure; no external reference pack or implementation-playbook is bundled or required. Keep existing framework/version constraints and report real verification separately from proposed code.
  • 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.
الأسئلة الشائعة

ما هو Elixir؟

Elixir لغة برمجة صُممت لإنشاء تطبيقات قابلة للتوسع والصيانة.

ما هي «أنماط OTP»؟

هي طرق مثبتة لبناء برامج Elixir تضمن موثوقيتها وقدرتها على التعافي من الأخطاء.

ما هو Phoenix LiveView؟

هو طريقة لبناء واجهات مستخدم تفاعلية لتطبيقات الويب باستخدام Elixir، دون الحاجة إلى كتابة كثير من كود JavaScript.

التفاصيل

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

Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems.

repo: sickn33/agentic-awesome-skills

الشعبية

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

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

0

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

التعليقات

  • …

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

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