chat-sdk

Unify multi-platform chat bot development across Slack, Teams, Discord, Telegram, GitHub, Linear, and WhatsApp.

1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Moisesjr20/gueclaw --skill chat-sdk-moisesjr20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-sdk
Source: https://github.com/Moisesjr20/gueclaw/tree/main/.agents/skills/chat-sdk
Command: npx skills add https://github.com/Moisesjr20/gueclaw --skill chat-sdk-moisesjr20

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers consolidate platform-specific chat bot implementations into a single TypeScript codebase, removing duplication and simplifying event, webhook, and state management across Slack, Teams, Discord, Telegram, GitHub, Linear, and WhatsApp.

Core Features & Use Cases

  • Unified Adapters: Use adapter factories to run the same bot logic across multiple messaging platforms.
  • Streaming & AI Integration: Stream AI responses into threads and support result.fullStream semantics for progressive updates.
  • State & Webhooks: Provide state adapters for persistence (Redis/Postgres/Memory), webhook routing patterns, and thread/message APIs for subscriptions and dedupe.
  • Use Case: Build a support bot that handles mentions, slash commands, cards, and modal interactions once and deploys it to Slack, Teams, and Telegram without rewriting handlers.

Quick Start

Use the chat-sdk skill to scaffold a multi-platform TypeScript bot that listens for mentions, routes events through adapters, and streams AI responses to threads.

Frequently Asked Questions about chat-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a multi-platform chatbot that works across Slack, Discord, and Teams?

To build a multi-platform chatbot, use adapter-based event routing in a single TypeScript codebase. This normalizes events across Slack, Teams, Discord, Telegram, and WhatsApp so your bot logic runs everywhere without rewriting handlers.

What is the best way to stream AI responses into chatbot threads?

Streaming AI responses into chatbot threads uses result.fullStream semantics for progressive updates. The chatbot SDK integrates with AI SDKs to push incremental message updates into active platform threads.

Can I use Redis or Postgres for chatbot state and webhook persistence?

Yes, you can use Redis or Postgres for chatbot state persistence. The SDK provides state adapters to manage subscriptions and dedupe events, ensuring consistent webhook routing across platforms.

Does TypeScript support adapter factories for normalizing cross-platform chat events?

Yes, TypeScript supports adapter factories for normalizing cross-platform chat events. The SDK uses adapter factories to route webhooks and normalize messages, cards, and modal interactions across Slack, Teams, and Discord.

How do I handle slash commands and modal interactions across multiple chat platforms?

Handling slash commands and modal interactions across multiple chat platforms is done through unified Thread and Message APIs. These APIs route platform-specific card and interaction events into a single processing pipeline.