tool-design
81設計可靠的代理工具
當工具名稱、輸入、輸出或錯誤含糊不清時,代理就會失敗。此技能提供工具描述、結構描述、回應格式與測試的實用模式。
建置互動式聊天小工具
純文字聊天無法支援豐富的任務工作流程。這項技能可協助團隊設計互動式小工具、動作、實體標記和伺服器處理常式。
安裝前請停止並請求確認。
請審查安裝計畫,並在變更檔案前取得使用者明確同意。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "building-chat-widgets" from https://skillstore.io/skills/asmayaseen-building-chat-widgets.md and its manifest at https://skillstore.io/api/skills/asmayaseen-building-chat-widgets/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「building-chat-widgets」。 產品團隊需要帶有按鈕的訂單狀態小工具。
預期結果:
正在使用「building-chat-widgets」。 後端工程師需要表單提交行為。
預期結果:
驗證 payload 欄位、處理表單、替換小工具並傳送清楚助理回應的伺服器工作流程。
正在使用「building-chat-widgets」。 團隊想在聊天中提及人員和文章。
預期結果:
包含搜尋行為、顯示欄位、點擊處理和安全內容轉換指引的實體標記計畫。
All static alerts are false positives from Markdown syntax, Python imports, ordinary payload fields, or a same-origin request. Three semantic risks remain: hidden context injection, an unauthorized database mutation pattern, and raw exception disclosure.
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/asmayaseen-building-chat-widgets/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/asmayaseen-building-chat-widgets?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/asmayaseen-building-chat-widgets?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/asmayaseen-building-chat-widgets/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/asmayaseen-building-chat-widgets.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Asmayaseen. (2026). building-chat-widgets security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/asmayaseen-building-chat-widgets/audits/9@techreport{asmayaseen-asmayaseen-building-chat-widgets-2026,
author = {Asmayaseen},
title = {building-chat-widgets security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/asmayaseen-building-chat-widgets/audits/9},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "building-chat-widgets security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "Asmayaseen"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/asmayaseen-building-chat-widgets/audits/9"
identifiers:
- type: other
value: "skillstore:asmayaseen-building-chat-widgets:audit:9"
description: "Skillstore immutable audit report identifier"
為核准、任務清單、產品選擇或引導式決策建立聊天小工具。
將小工具按鈕對應到導覽、本機狀態變更和後續聊天訊息。
規劃會更新資料、替換小工具並串流助理回應的伺服器動作。
為 [task] 建置聊天小工具計畫。包含小工具類型、可見欄位、按鈕和用戶端動作名稱。
為此小工具設計由用戶端處理的動作:[describe widget]。包含 payload 欄位、UI 更新和導覽行為。
為 [workflow] 建立伺服器動作設計。包含驗證、狀態變更、小工具替換和面向使用者的回應行為。
檢閱此聊天小工具工作流程的生產就緒程度:[paste summary]。檢查 payload 驗證、授權、實體處理和備援行為。
作者
Asmayaseen授權
MIT
Skillstore 修訂
r2
版本提示
作者未聲明版本。
引用
89edfdc710d0846129dcee6a929477b04f08052c
維護新鮮度
2026/7/29
使用量
10 次下載 · 181 次瀏覽
檔案結構
設計可靠的代理工具
當工具名稱、輸入、輸出或錯誤含糊不清時,代理就會失敗。此技能提供工具描述、結構描述、回應格式與測試的實用模式。
有系統地偵錯軟體問題
缺乏結構的錯誤修復會浪費時間,並可能掩蓋真正的失敗原因。此技能會引導 Claude、Codex 和 Claude Code 進行以證據為基礎的根本原因分析。
提升生產服務可靠性
生產團隊需要明確的可靠性目標與可重複執行的事故處理實務。此技能提供適用於 SLO、錯誤預算、告警與事後檢討的 SRE 範本。
在 Next.js 中建置 shadcn/ui 介面
React 團隊需要能與現代 Next.js 搭配運作的一致 UI 模式。此技能提供 shadcn/ui 設定指南、元件範例、表單驗證、資料表、側邊欄,以及深色模式模式。
建置串流式 AI 聊天介面
當使用者無法看到進度、回應狀態或 UI 變更時,即時 AI 聊天體驗會顯得不完整。此技能為 Claude、Codex 和 Claude Code 提供串流生命週期、進度事件、用戶端效果與用戶端工具的模式。
診斷上下文退化
長時間 AI 工作階段在上下文變長、出現衝突或包含干擾材料時,準確性可能下降。此技能可協助 Claude、Codex 和 Claude Code 識別退化模式,並選擇實用的緩解步驟。
提升 Playwright 測試覆蓋率
由 C0ntr0lledCha0s
當設定、定位器和 fixtures 不一致時,Playwright 測試套件可能會變得不穩定。此技能提供可靠瀏覽器測試、除錯和可重用 page objects 的實用模式。
建構可靠的 Async Python
由 0xDarkMatter
Async Python 程式碼經常因阻塞呼叫、未受限制的任務,以及薄弱的清理機制而失敗。此 skill 提供可重複使用的 asyncio 模式、範例與參考資料,用於打造穩健的並行服務。
使用可重用模式建置 FastAPI API
由 0xDarkMatter
FastAPI 專案需要在驗證、依賴項、middleware 和背景工作方面做出一致的選擇。這項技能為 Claude、Codex 和 Claude Code 提供可重用模式,用於實務 Python API 開發。
新增 Python 型別安全模式
由 0xDarkMatter
Python 型別註解在實際專案中可能難以一致套用。此 skill 為 Claude、Codex 和 Claude Code 提供實用模式,用於撰寫更安全的 typed Python code。
Audit NestJS Code with Evidence-Backed Findings
由 amirtaherkhani
NestJS repositories can hide boundary flaws and runtime risks that lint results alone cannot reveal. This skill combines local evidence collection and semantic review into one prioritized report.
使用 starknet.js 建置 Starknet 應用程式
由 internet-court
Starknet 整合需要精確處理提供者、帳戶、交易與費用。此技能為 Claude、Codex 與 Claude Code 提供實用的 starknet.js v9 模式。