chat-sdk

Unify chat bot development across Slack, Discord, and GitHub with a TypeScript SDK.

Updated Jul 5, 2026
One-click install
npx skills add https://github.com/xkl2013/lobe --skill chat-sdk-xkl2013
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-sdk
Source: https://github.com/xkl2013/lobe/tree/main/.agents/skills/chat-sdk
Command: npx skills add https://github.com/xkl2013/lobe --skill chat-sdk-xkl2013

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @chat-adapter/slack, @chat-adapter/teams, @chat-adapter/gchat, @chat-adapter/discord, @chat-adapter/github, @chat-adapter/linear, @chat-adapter/state-redis, @chat-adapter/state-ioredis, @chat-adapter/state-memory, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of building chat bots across various platforms like Slack, Teams, Google Chat, Discord, GitHub, and more, eliminating the need for separate bot logic for each platform.

Core Features & Use Cases

  • Unified SDK: A single TypeScript SDK for building bots that can work across multiple platforms.
  • Event Handlers: Customizable event handlers for handling mentions, messages, reactions, actions, and more.
  • State Management: Pluggable state management options to persist bot state.
  • Cards and Modals: Support for creating interactive cards and modals for rich interactions.
  • Use Case: With this Skill, you can quickly create a bot for Slack that handles customer inquiries, updates team members on tasks, and even integrates with AI tools for more advanced capabilities.

Quick Start

Use the chat-sdk skill to create a Slack bot that responds to direct messages with a greeting.

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 chat bot that works across multiple platforms like Slack and Discord?

To build cross-platform chat bots, use a unified TypeScript SDK with platform-specific adapters. This approach handles messaging platforms like Slack, Discord, and Teams using a single bot logic codebase.

Can I manage bot state and interactive cards for Slack using a TypeScript SDK?

Yes, a TypeScript chat bot SDK supports pluggable state management with Redis or memory adapters, and enables creating interactive cards and modals for rich user interactions on Slack.

What platforms are supported by cross-platform chat bot SDK adapters?

Cross-platform chat bot SDK adapters support Slack, Teams, Google Chat, Discord, GitHub, and Linear, allowing unified event handling for mentions, messages, reactions, and actions across these platforms.

Does developing a chat bot with this SDK require TypeScript?

Yes, building chat bots with this unified SDK requires using TypeScript along with relevant platform-specific adapters to handle custom events and interactive card creation effectively.

How do I handle custom event handlers for Discord mentions and messages?

You handle custom event handlers for Discord mentions and messages by configuring the Discord adapter within the TypeScript SDK, mapping platform-specific events to unified bot logic.

What are the limitations of using a unified SDK for chat bot development?

A limitation of using a unified chat bot SDK is the dependency on TypeScript and specific adapters, which may restrict access to highly platform-specific native features outside the unified event handling system.