What problem does it solve? Connecting AI agents to external chat platforms like Discord, Slack, Telegram, Feishu, Lark, QQ, and WeChat requires handling webhooks, message routing, credentials, and platform-specific quirks. This Skill maps the entire bot architecture so you can work on inbound webhooks, agent execution, and gateway lifecycle without getting lost. ## Core Features & Use Cases - Inbound Message Routing: Understand how webhooks flow through the Chat SDK, BotMessageRouter, and AgentBridgeService to reach AiAgentService and back out via per-platform clients. - Execution & Connection Modes: Navigate in-memory vs queue (QStash) execution modes and webhook/websocket/polling connection modes, including the gateway cron lifecycle for persistent platforms. - Platform Extension: Follow the documented steps to add a new platform with definition, schema, client factory, and protocol spec. - Use Case: When a Slack bot stops replying after a credentials update, use this Skill to trace cache invalidation via BotMessageRouter.invalidateBot and the TRPC update mutation. ## Quick Start Use the bot skill to explain how an inbound Discord mention flows from the webhook route to the agent reply.