architecture-decision-record
80创建架构决策记录
团队成员变动后,架构决策很难被完整保留下来。此技能提供模板、示例和审查检查项,用于编写清晰的 ADR。
构建流式 API
当流式传输模式遗漏背压、重连和清理时,实时功能会失败。此技能为 Claude、Codex 和 Claude Code 提供 SSE、WebSocket 和 ReadableStream 模式。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "streaming-api-patterns" from https://skillstore.io/skills/ariegoldkin-streaming-api-patterns.md and its manifest at https://skillstore.io/api/skills/ariegoldkin-streaming-api-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“streaming-api-patterns”。 询问实时通知 feed 应使用哪种传输方式。
预期结果:
正在使用“streaming-api-patterns”。 请求 streamed LLM 响应的生产检查清单。
预期结果:
正在使用“streaming-api-patterns”。 询问如何加固 WebSocket 聊天功能。
预期结果:
此技能返回关于身份验证、origin 检查、heartbeat 处理、重连、消息限制和内容验证的指导。
Static command findings are false positives caused by Markdown fences and TypeScript template literals; no shell execution exists. Network calls are expected examples for a streaming API skill and use local, relative, or standards documentation URLs. Two separate medium-risk example defects remain: unescaped error serialization and an unauthenticated, unvalidated WebSocket broadcast.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/ariegoldkin-streaming-api-patterns/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/ariegoldkin-streaming-api-patterns?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/ariegoldkin-streaming-api-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/ariegoldkin-streaming-api-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/ariegoldkin-streaming-api-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>AI Agent Hub. (2026). streaming-api-patterns security audit report (audit version 9) [Author version 1.0.0]. Skillstore. https://skillstore.io/skills/ariegoldkin-streaming-api-patterns/audits/9@techreport{ai-agent-hub-ariegoldkin-streaming-api-patterns-2026,
author = {AI Agent Hub},
title = {streaming-api-patterns security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/ariegoldkin-streaming-api-patterns/audits/9},
note = {Author version 1.0.0}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "streaming-api-patterns security audit report (audit version 9)"
version: "1.0.0"
type: report
authors:
- name: "AI Agent Hub"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/ariegoldkin-streaming-api-patterns/audits/9"
identifiers:
- type: other
value: "skillstore:ariegoldkin-streaming-api-patterns:audit:9"
description: "Skillstore immutable audit report identifier"
为 token 传递、完成标记和客户端解析选择 SSE 或 ReadableStream 模式。
使用 keepalive 消息、重连行为和断开连接时的清理,实现服务器到客户端通知。
使用检查清单评估身份验证、消息限制、背压、测试和故障处理。
我正在使用 [traffic level] 构建 [feature]。比较 SSE、WebSockets 和 ReadableStream,然后推荐一种模式。
为 [data source] 创建一个 Next.js SSE 端点。包括 keepalive 消息、断开连接清理和客户端解析步骤。
审查此流式传输设计:[design]。识别重连、超时、背压和资源清理方面的缺口。
审计此生产流式传输架构:[architecture]。覆盖身份验证、速率限制、消息验证、可观测性和故障恢复。
作者
AI Agent Hub许可证
MIT
作者版本
v1.0.0
Skillstore 修订
r2
引用
89edfdc710d0846129dcee6a929477b04f08052c
维护新鲜度
2026/7/25
使用量
7 次下载 · 278 次浏览
文件结构
创建架构决策记录
团队成员变动后,架构决策很难被完整保留下来。此技能提供模板、示例和审查检查项,用于编写清晰的 ADR。
设计生产就绪的 API 契约
团队在设计 API 时常常存在资源、错误和版本控制不一致的问题。此技能为 REST、GraphQL、gRPC、OpenAPI 和 AsyncAPI 工作提供模式、清单和模板。
将想法细化为实用设计
早期产品和技术想法往往缺少清晰的约束、权衡和成功标准。此技能通过问题、选项和经过验证的设计章节,引导 Claude、Codex 和 Claude Code 完成设计梳理。
用结构化手册改进代码审查
不一致的审查会遗漏缺陷,并给作者造成不清晰的反馈。此技能提供清单、评论格式和模板,用于可靠的拉取请求审查。
设计可靠的数据库模式
糟糕的模式会拖慢团队并造成数据缺陷。此技能可指导规范化模型、NoSQL 权衡、索引、约束和安全迁移。
根据 DevPrep 标准审查代码
DevPrep AI 项目需要一致的 TypeScript、导入、命名和架构标准。此技能会运行本地检查,并针对修复质量违规提供聚焦指导。
构建流式 AI 聊天界面
由 Asmayaseen
当用户看不到进度、响应状态或 UI 变化时,实时 AI 聊天体验会显得不完整。此技能为 Claude、Codex 和 Claude Code 提供流式生命周期、进度事件、客户端效果和客户端工具的模式。
构建流式多智能体工作流
由 DNYoussef
顺序式 AI 工作流经常会在步骤之间丢失上下文。此技能定义了 stream-chain 模式,可将每一步的结果传递给下一个任务。
将 CloudBase AI 模型添加到 Web 应用
由 tencentcloudbase
当模型组、身份验证或 Token Credits 尚未准备好时,浏览器 AI 集成可能会失败。此技能为 Web 应用提供 CloudBase 预检、模型启用和 SDK 调用指导。
构建微信小程序 AI 调用
由 tencentcloudbase
微信小程序 AI 设置在提供商、计费和流式传输方面存在差异,容易配置错误。此技能会指导 Claude、Codex 或 Claude Code 完成 CloudBase 预检并使用 wx.cloud.extend.AI。
优化研究代理性能
由 BenderFendor
研究代理可能会浪费 API 配额、Web 搜索失败,并显示不清晰的进度。此技能为 Claude、Codex 和 Claude Code 提供一个专注的计划,用于提升可靠性和来源呈现效果。
分析 Harness 模型协议
由 Dowwie
智能体框架审计常常遗漏内部状态与提供商 API 之间的转换层。此技能指导 Claude、Codex 和 Claude Code 分析消息格式、工具调用、流式事件和提供商抽象。