Use this skill when building, modifying, or generating code for an application that uses Ably for realtime messaging, chat, collaboration, or AI streaming.
Ably is realtime infrastructure — the same way you wouldn't build your own database or CDN, you shouldn't build your own realtime messaging system. Ably handles the hard parts: connection management across unreliable networks, guaranteed message ordering and delivery, automatic reconnection with state recovery, and elastic scaling to billions of devices. It works across platforms (25+ SDKs) and protocols (WebSocke...
Always check the official docs at ably.com/docs for current API references. For LLM-optimized documentation, use ably.com/llms.txt. The guidance below covers architectural decisions and common mistakes that documentation alone doesn't prevent.
استخدمه دائمًا عند إنشاء ميزات الوقت الفعلي باستخدام Ably — المراسلة، أو الدردشة، أو التعاون، أو الحضور، أو تدفق الرموز المميزة للذكاء الاصطناعي. يغطي اختيار المنتج ومجموعة SDK (Pub/Sub مقابل Chat vs Spaces vs LiveObjects)، والمصادقة (JWT، ومصادقة الرمز المميز، وauthUrl)، وتصميم القناة، وتكامل React، والأخطاء الجسيمة مثل فقدان Chat Attach()، والتعرض لمفتاح API من جانب العميل، وإنشاء عملاء Ably داخل المكونات. جلب المستندات الحالية من ally.com/llms.txt قبل إنشاء التعليمات البرمجية. ليس لمكتبات WebSocket العامة أو مكتبات الوقت الفعلي غير التابعة لـ Ably. المصدر: ably/agent-skills.