·llm-streaming-response-handler
!

llm-streaming-response-handler

使用服务器发送事件、实时令牌显示、取消、错误恢复构建生产 LLM 流式 UI。处理 OpenAI/Anthropic/Claude 流 API。用于聊天机器人、人工智能助手、实时文本生成。在“LLM流”、“SSE”、“令牌流”、“聊天UI”、“实时AI”上激活。不适用于批处理、非流式 API 或 WebSocket 双向聊天。

12安装·0热度·@curiositech

安装

$npx skills add https://github.com/curiositech/some_claude_skills --skill llm-streaming-response-handler

如何安装 llm-streaming-response-handler

通过命令行快速安装 llm-streaming-response-handler AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/curiositech/some_claude_skills --skill llm-streaming-response-handler
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:curiositech/some_claude_skills。

SKILL.md

查看原文

Expert in building production-grade streaming interfaces for LLM responses that feel instant and responsive.

| OpenAI | SSE | data: {"choices":[{"delta":{"content":"token"}}]} | | Anthropic | SSE | data: {"type":"contentblockdelta","delta":{"text":"token"}} | | Claude (API) | SSE | data: {"delta":{"text":"token"}} | | Vercel AI SDK | SSE | Normalized across providers |

Problem: Stream fails mid-response, user sees partial text with no indication of failure.

使用服务器发送事件、实时令牌显示、取消、错误恢复构建生产 LLM 流式 UI。处理 OpenAI/Anthropic/Claude 流 API。用于聊天机器人、人工智能助手、实时文本生成。在“LLM流”、“SSE”、“令牌流”、“聊天UI”、“实时AI”上激活。不适用于批处理、非流式 API 或 WebSocket 双向聊天。 来源:curiositech/some_claude_skills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/curiositech/some_claude_skills --skill llm-streaming-response-handler
分类
!安全工具
认证
收录时间
2026-03-09
更新时间
2026-03-10

Browse more skills from curiositech/some_claude_skills

快速解答

什么是 llm-streaming-response-handler?

使用服务器发送事件、实时令牌显示、取消、错误恢复构建生产 LLM 流式 UI。处理 OpenAI/Anthropic/Claude 流 API。用于聊天机器人、人工智能助手、实时文本生成。在“LLM流”、“SSE”、“令牌流”、“聊天UI”、“实时AI”上激活。不适用于批处理、非流式 API 或 WebSocket 双向聊天。 来源:curiositech/some_claude_skills。

如何安装 llm-streaming-response-handler?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/curiositech/some_claude_skills --skill llm-streaming-response-handler 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/curiositech/some_claude_skills