tool-design
81设计可靠的智能体工具
当工具名称、输入、输出或错误信息含糊不清时,智能体就会失败。此技能为工具描述、schema、响应格式和测试提供实用模式。
获取库 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”。 给我展示 React useState 示例。
预期结果:
一个简洁的响应,包含精选的 useState 示例、匹配的 API 签名,以及来自当前 Context7 文档的关键注释。
正在使用“fetching-library-docs”。 Next.js 路由是如何工作的?
预期结果:
一个简短的概念性概述,包含几个路由示例,并说明相关路由概念之间的联系。
正在使用“fetching-library-docs”。 查找 Prisma 查询语法和重要警告。
预期结果:
对查询方法、代表性示例,以及关于安全或推荐用法的提取注释进行聚焦总结。
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 路由、Prisma 查询或类似框架功能的聚焦示例。
先从概念性文档开始,然后请求同一包或功能的代码示例。
使用 shell 过滤,避免将大型文档响应放入模型上下文。
获取 React useState 的当前文档,并展示最相关的示例。
使用库文档技能查找 Next.js 路由示例,然后总结主要模式。
先获取 Prisma 入门信息,然后获取查询示例并解释工作流。
获取前两页的 React hooks 文档,然后识别高级模式和重要注意事项。
作者
Asmayaseen许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
1ffa7643651792ccb4bd3b15d924d2c97edff755
维护新鲜度
2026/7/21
使用量
7 次下载 · 218 次浏览
设计可靠的智能体工具
当工具名称、输入、输出或错误信息含糊不清时,智能体就会失败。此技能为工具描述、schema、响应格式和测试提供实用模式。
系统化调试软件问题
无结构的错误修复会浪费时间,并可能掩盖真正的故障。此技能会引导 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
技术文档搜索可能会消耗上下文,并拖慢专注工作的节奏。此技能会将库和框架问题路由给 Context7 研究代理,并建议高效的编排模式。
构建 Claude Code 插件结构
由 anthropics
插件作者在添加 commands、agents、skills、hooks 或 MCP servers 之前,需要一个可靠的结构。此技能说明预期布局、manifest 字段、命名规则和可移植路径模式。
生成 API 文档
由 zhangchenlai-dev
手动编写的 API 文档往往落后于代码,并给开发者造成困惑。此技能可根据可用代码或端点详情,帮助生成 OpenAPI 草稿、请求示例和 Postman collection 指南。
使用 JSDoc 记录 TypeScript API
由 AdamManuel-dev
TypeScript 团队经常编写重复类型信息或遗漏重要行为的注释。此技能会指导你为 API、示例、错误和维护说明编写聚焦的 JSDoc。
更快研究文档
由 0xSero
开发者常常会把时间浪费在查找可靠的 API 细节和最新示例上。此技能会指导 Claude、Codex 和 Claude Code 优先使用官方文档,并生成简洁的解释。
创建一致的项目文档
由 sickn33
当项目文档缺乏结构时,团队会浪费时间。此技能为 README、API 文档、变更日志、ADR 和 AI 友好型文档提供现成模板。