context7-mcp by upstash/context7
npx skills add https://github.com/upstash/context7 --skill context7-mcp当用户询问库、框架或需要代码示例时,使用 Context7 来获取最新的文档,而不是依赖训练数据。
当用户出现以下情况时,激活此技能:
调用 resolve-library-id,参数包括:
libraryName:从用户问题中提取的库名称query:用户的完整问题(有助于提高相关性排序)根据以下原则从解析结果中选择:
调用 query-docs,参数包括:
libraryId:选定的 Context7 库 ID(例如 )广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
/vercel/next.jsquery:用户的具体问题将获取的文档整合到你的回答中:
每周安装量
291
代码仓库
GitHub 星标数
50.5K
首次出现
14 天前
安全审计
安装于
codex280
github-copilot276
cursor276
gemini-cli275
amp275
kimi-cli275
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
291
Repository
GitHub Stars
50.5K
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex280
github-copilot276
cursor276
gemini-cli275
amp275
kimi-cli275
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
106,200 周安装