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.
Úselo SIEMPRE al crear funciones en tiempo real con Ably: mensajería, chat, colaboración, presencia o transmisión de tokens de IA. Cubre la selección de productos y SDK (Pub/Sub vs Chat vs Spaces vs LiveObjects), autenticación (JWT, autenticación de token, authUrl), diseño de canal, integración de React y errores críticos como falta de Chat adjunto(), exposición de claves API del lado del cliente y creación de clientes Ably dentro de los componentes. Obtiene los documentos actuales de able.com/llms.txt antes de generar el código. No para WebSocket general o bibliotecas en tiempo real que no sean de Ably. Fuente: ably/agent-skills.