streaming-sse-setup

maneeshanif's avatarfrom maneeshanif

DEPRECATED - Use chatkit-backend skill instead. SSE streaming is now part of the chatkit-backend skill for ChatKit integration.

0stars🔀0forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill facilitates the implementation of Server-Sent Events (SSE) for real-time data streaming in AI applications. Although now deprecated and consolidated into the 'chatkit-backend' skill, it provides the essential logic for delivering token-by-token AI responses, managing connection persistence, and handling streaming event formats (text, tool calls, and errors) to ensure a responsive and natural user experience in chat interfaces.

Use Cases

  • Setting up Server-Sent Events (SSE) to enable real-time, asynchronous streaming of AI-generated content.
  • Building backend endpoints that follow the ChatKit event format for seamless integration with modern chat frontends.
  • Migrating legacy streaming implementations to a consolidated backend architecture for improved scalability and error handling.
  • Implementing response chunking and message persistence for AI agent interactions.
namestreaming-sse-setup
descriptionDEPRECATED - Use chatkit-backend skill instead. SSE streaming is now part of the chatkit-backend skill for ChatKit integration.
allowed-toolsBash, Write, Read, Edit, Glob
deprecatedtrue

Streaming SSE Setup (DEPRECATED)

This skill has been deprecated and consolidated into chatkit-backend.

Please use the chatkit-backend skill instead for all SSE streaming implementation.

Migration

Use the consolidated skill:

.claude/skills/chatkit-backend/SKILL.md

The chatkit-backend skill includes:

  • Complete SSE streaming endpoint for ChatKit
  • ChatKit-compatible SSE event format (text, tool_call, tool_result, done)
  • Conversation and Message model persistence
  • AI agent integration with streaming
  • Response chunking for natural UX
  • Error handling with SSE error events
  • Comprehensive examples

See Also