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 建立即時功能時始終使用 — 訊息傳遞、聊天、協作、狀態或 AI 令牌流。涵蓋產品和 SDK 選擇(Pub/Sub、Chat、Spaces、LiveObjects)、身份驗證(JWT、令牌 auth、authUrl)、通道設計、React 整合以及關鍵錯誤,例如缺少 Chat Attach()、客戶端 API 金鑰暴露以及在元件內建立 Ably 用戶端。在產生程式碼之前從 ively.com/llms.txt 取得目前文件。不適用於一般 WebSocket 或非 Ably 實時庫。 來源:ably/agent-skills。