tool-design
81設計可靠的代理工具
當工具名稱、輸入、輸出或錯誤含糊不清時,代理就會失敗。此技能提供工具描述、結構描述、回應格式與測試的實用模式。
擷取程式庫 API 文件
開發人員經常需要最新的 API 範例,而不想將完整文件載入模型上下文。此技能會擷取 Context7 程式庫文件,並回傳聚焦的範例、簽章與注意事項。
安裝前請停止並請求確認。
請審查安裝計畫,並在變更檔案前取得使用者明確同意。
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "fetching-library-docs" from https://skillstore.io/skills/asmayaseen-fetching-library-docs.md and its manifest at https://skillstore.io/api/skills/asmayaseen-fetching-library-docs/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
正在使用「fetching-library-docs」。 Show me React useState examples.
預期結果:
一段精簡回應,包含從目前 Context7 文件中選出的 useState 範例、相符的 API 簽章與重點注意事項。
正在使用「fetching-library-docs」。 How does Next.js routing work?
預期結果:
簡短的概念概述,搭配幾個 routing 範例,以及相關 routing 概念之間的連結。
正在使用「fetching-library-docs」。 Find Prisma query syntax and important warnings.
預期結果:
針對 query 方法、代表性範例,以及安全或建議用法相關摘錄注意事項的聚焦摘要。
The skill has a legitimate purpose: fetching and filtering library documentation from Context7. Most static findings are false positives from markdown examples, awk output, and expected shell pipeline use, but the bundled generic MCP client exposes direct shell execution through --stdio, and the helper scripts use npx package execution plus predictable /tmp PID files.
這些是真實的本機能力,對此技能而言可能是預期行為,因此需要複核,但不會按已確認的惡意行為計分。
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
https://skillstore.io/skills/asmayaseen-fetching-library-docs/audits/11?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/asmayaseen-fetching-library-docs?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/asmayaseen-fetching-library-docs?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/asmayaseen-fetching-library-docs/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/asmayaseen-fetching-library-docs.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). fetching-library-docs security audit report (audit version 11) [Author version unspecified]. Skillstore. https://skillstore.io/skills/asmayaseen-fetching-library-docs/audits/11@techreport{asmayaseen-asmayaseen-fetching-library-docs-2026,
author = {Asmayaseen},
title = {fetching-library-docs security audit report (audit version 11)},
institution = {Skillstore},
year = {2026},
number = {11},
url = {https://skillstore.io/skills/asmayaseen-fetching-library-docs/audits/11},
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: "fetching-library-docs security audit report (audit version 11)"
version: "unspecified"
type: report
authors:
- name: "Asmayaseen"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/asmayaseen-fetching-library-docs/audits/11"
identifiers:
- type: other
value: "skillstore:asmayaseen-fetching-library-docs:audit:11"
description: "Skillstore immutable audit report identifier"
擷取 React hooks、Next.js routing、Prisma queries 或類似框架功能的聚焦範例。
先從概念性文件開始,再針對同一套件或功能請求程式碼範例。
使用 Shell 篩選,避免將大型文件回應放入模型上下文。
擷取 React useState 的最新文件,並顯示最相關的範例。
使用 library docs skill 尋找 Next.js routing 範例,然後摘要主要模式。
先擷取 Prisma getting started 資訊,接著擷取 query 範例並說明工作流程。
擷取前兩頁的 React hooks 文件,然後識別進階模式與重要注意事項。
作者
Asmayaseen授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
1ffa7643651792ccb4bd3b15d924d2c97edff755
維護新鮮度
2026/7/18
使用量
7 次下載 · 218 次瀏覽
設計可靠的代理工具
當工具名稱、輸入、輸出或錯誤含糊不清時,代理就會失敗。此技能提供工具描述、結構描述、回應格式與測試的實用模式。
有系統地偵錯軟體問題
缺乏結構的錯誤修復會浪費時間,並可能掩蓋真正的失敗原因。此技能會引導 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 識別退化模式,並選擇實用的緩解步驟。
編排技術文件研究
由 727474430
技術文件搜尋可能會消耗上下文並拖慢專注工作。此 skill 會將程式庫與框架問題路由給 Context7 研究 agent,並建議高效率的編排模式。
建構 Claude Code 外掛結構
由 anthropics
外掛作者在新增指令、代理程式、技能、hook 或 MCP 伺服器之前,需要可靠的結構。此技能說明預期的版面配置、資訊清單欄位、命名規則,以及可攜式路徑模式。
產生 API 文件
由 zhangchenlai-dev
手動維護的 API 文件容易落後於程式碼,並讓開發人員感到困惑。此技能可協助根據可用的程式碼或端點詳細資料,產生 OpenAPI 草稿、請求範例,以及 Postman collection 指引。
使用 JSDoc 記錄 TypeScript API
由 AdamManuel-dev
TypeScript 團隊經常撰寫重複型別資訊,或遺漏重要行為的註解。此 skill 會引導針對 API、範例、錯誤與維護備註撰寫聚焦的 JSDoc。
更快速地研究文件
由 0xSero
開發者經常花費時間尋找可靠的 API 詳細資訊和最新範例。此技能會引導 Claude、Codex 和 Claude Code 優先使用官方文件,並產出精簡說明。
建立一致的專案文件
由 sickn33
當專案文件缺乏結構時,團隊會浪費時間。此 skill 提供 README、API 文件、變更記錄、ADR,以及 AI 友善文件的現成範本。