chat-sdk

Build multi-platform chat bots with a unified TypeScript SDK.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill simplifies the creation of chat bots that can operate across multiple platforms like Slack, Microsoft Teams, Google Chat, Discord, GitHub, and Linear, by providing a unified SDK.

Core Features & Use Cases

  • Unified Bot Development: Write bot logic once and deploy it across various chat platforms.
  • Event Handling: Respond to mentions, messages, slash commands, reactions, and more.
  • Interactive Elements: Create and send rich cards, buttons, and modals within chat interfaces.
  • Streaming Responses: Integrate with AI SDKs to stream responses directly into chat threads.
  • Platform Adapters: Supports Slack, Teams, Google Chat, Discord, GitHub, and Linear.

Quick Start

Use the chat sdk to create a slack bot that responds to mentions 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 cross-platform chat bot that works on both Slack and Discord?

You can build a cross-platform chat bot by writing your bot logic once in a unified TypeScript SDK, which then deploys the same event handlers and responses across Slack, Discord, Teams, and other supported chat platforms.

What types of chat events and interactions can I handle with a unified bot SDK?

A unified bot SDK allows you to handle mentions, messages, slash commands, and reactions. It also supports creating interactive elements like rich cards, buttons, and modals within the chat interfaces.

Can I stream AI responses directly into a Slack or Teams chat thread?

Yes, you can stream AI responses directly into chat threads. The SDK integrates with AI SDKs to stream responses into Slack, Teams, or Discord conversations while maintaining the chat platform context.

Does this TypeScript chat bot SDK support webhook handlers for platform integration?

Yes, the TypeScript chat bot SDK includes webhook handlers for platform integration. These handlers process incoming events from Slack, Teams, Google Chat, Discord, GitHub, and Linear to trigger your bot logic.

What is the best way to manage bot commands across Microsoft Teams and Google Chat?

The best way to manage slash commands across Microsoft Teams and Google Chat is using a unified SDK. It normalizes command inputs from different platforms into a single format, letting you execute the same bot logic everywhere.

Are there limitations when sending interactive modals through a cross-platform chat bot SDK?

When sending interactive modals through a cross-platform SDK, limitations depend on the target chat platform. While the SDK supports modals and cards, each platform like Slack or Teams may render interactive elements differently.