documentation-lookup by upstash/context7
npx skills add https://github.com/upstash/context7 --skill documentation-lookup当用户询问库、框架或需要代码示例时,使用 Context7 来获取最新的文档,而不是依赖训练数据。
当用户出现以下情况时,激活此技能:
调用 resolve-library-id,参数包括:
libraryName:从用户问题中提取的库名称query:用户的完整问题(有助于提高相关性排名)根据以下原则从解析结果中选择:
调用 query-docs,参数包括:
libraryId:选定的 Context7 库 ID(例如 )广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
/vercel/next.jsquery:用户的具体问题将获取的文档整合到你的回答中:
每周安装量
1.3K
代码仓库
GitHub 星标数
50.5K
首次出现
Jan 20, 2026
安全审计
安装于
opencode1.1K
gemini-cli1.0K
codex1.0K
github-copilot923
claude-code801
cursor799
When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.
Activate this skill when the user:
Call resolve-library-id with:
libraryName: The library name extracted from the user's questionquery: The user's full question (improves relevance ranking)From the resolution results, choose based on:
Call query-docs with:
libraryId: The selected Context7 library ID (e.g., /vercel/next.js)query: The user's specific questionIncorporate the fetched documentation into your response:
Weekly Installs
1.3K
Repository
GitHub Stars
50.5K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode1.1K
gemini-cli1.0K
codex1.0K
github-copilot923
claude-code801
cursor799
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装