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.
IMMER verwenden, wenn Sie Echtzeitfunktionen mit Ably erstellen – Messaging, Chat, Zusammenarbeit, Präsenz oder AI-Token-Streaming. Behandelt die Produkt- und SDK-Auswahl (Pub/Sub vs. Chat vs. Spaces vs. LiveObjects), Authentifizierung (JWT, token auth, authUrl), Kanaldesign, React-Integration und kritische Fehler wie fehlendes Chat attachment(), clientseitige Offenlegung von API-Schlüsseln und die Erstellung von Ably-Clients innerhalb von Komponenten. Ruft aktuelle Dokumente von ably.com/llms.txt ab, bevor Code generiert wird. Nicht für allgemeine WebSocket- oder Nicht-Ably-Echtzeitbibliotheken. Quelle: ably/agent-skills.