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.
TOUJOURS utiliser lors de la création de fonctionnalités en temps réel avec Ably : messagerie, chat, collaboration, présence ou streaming de jetons IA. Couvre la sélection de produits et de SDK (Pub/Sub vs Chat vs Spaces vs LiveObjects), l'authentification (JWT, token auth, authUrl), la conception des canaux, l'intégration de React et les erreurs critiques telles que l'absence de Chat attach(), l'exposition de la clé API côté client et la création de clients Ably à l'intérieur des composants. Récupère les documents actuels sur ably.com/llms.txt avant de générer du code. Pas pour les bibliothèques générales WebSocket ou en temps réel non Ably. Source : ably/agent-skills.