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」。 詢問即時通知動態消息應使用哪種傳輸方式。
預期結果:
正在使用「streaming-api-patterns」。 要求串流 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 endpoint。包含 keepalive 訊息、中斷連線清理和用戶端解析步驟。
檢視這個串流設計:[design]。找出重新連線、逾時、背壓和資源清理的缺口。
稽核這個正式環境串流架構:[architecture]。涵蓋驗證、速率限制、訊息驗證、可觀測性和失敗復原。
作者
AI Agent Hub授權
MIT
作者版本
v1.0.0
Skillstore 修訂
r2
引用
89edfdc710d0846129dcee6a929477b04f08052c
維護新鮮度
2026/7/26
使用量
7 次下載 · 278 次瀏覽
檔案結構
建立架構決策紀錄
團隊成員流動後,架構決策很難被保存下來。此技能提供範本、範例與審查檢查項目,協助撰寫清晰的 ADR。
設計正式環境就緒的 API 契約
團隊在設計 API 時,常會出現資源、錯誤與版本控管不一致的情況。此技能為 REST、GraphQL、gRPC、OpenAPI 和 AsyncAPI 工作提供模式、檢查清單與範本。
將想法精煉成實用設計
早期產品與技術想法通常缺乏明確的限制條件、取捨與成功標準。此技能會透過問題、選項與經驗證的設計章節,引導 Claude、Codex 和 Claude Code。
透過結構化手冊改善程式碼審查
不一致的審查會漏掉缺陷,並讓作者收到不清楚的回饋。此技能提供檢查清單、留言格式和範本,協助進行可靠的 pull request 審查。
設計可靠的資料庫結構描述
不良的結構描述會拖慢團隊並造成資料缺陷。此技能會引導正規化模型、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 設定在 provider、計費與串流方面有差異,容易設定錯誤。此技能會引導 Claude、Codex 或 Claude Code 完成 CloudBase 前置檢查與 wx.cloud.extend.AI 使用方式。
最佳化研究代理效能
由 BenderFendor
研究代理可能會浪費 API 配額、網頁搜尋失敗,並顯示不清楚的進度。此技能為 Claude、Codex 和 Claude Code 提供聚焦的計畫,以提升可靠性與來源呈現。
分析 Harness Model Protocols
由 Dowwie
代理程式框架稽核經常漏掉內部狀態與提供者 API 之間的轉譯層。這項技能會引導 Claude、Codex 和 Claude Code 檢視訊息格式、工具呼叫、串流事件與提供者抽象層。