通过 Context7 MCP 搜索技术文档。「查文档」「查看官方文档」「库怎么用?」等触发。
Scanned 9/7/2026
Install to Claude Code
npx -y skills add wasabeef/claude-code-cookbook --skill context7 --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Context7?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/wasabeef-context7-c63d6724)More formats (shields.io, HTML) on the badges page.
---
description: "通过 Context7 MCP 搜索技术文档。「查文档」「查看官方文档」「库怎么用?」等触发。"
allowed-tools:
- mcp__Context7__resolve-library-id
- mcp__Context7__query-docs
---
# 通过 Context7 MCP 搜索技术文档
使用 MCP 的 Context7 搜索技术文档。
## 使用方法
```bash
# 以请求 Claude 的形式
"用 context7 搜索 [搜索关键词]"
```
## 基本示例
```bash
# React hooks 调研
"用 context7 搜索 React hooks"
# 错误解决方法搜索
"用 context7 查找 TypeScript 的类型错误"
```
## 与 Claude 的协作
```bash
# 技术调研请求
"用 context7 查找 Rust 的所有权系统,并以初学者友好的方式解释"
# 错误解决请求
"用 context7 搜索 Python 的 ImportError 常见原因和解决方法"
# 最佳实践确认
"用 context7 查找 React 性能优化的最佳实践"
```
## 详细示例
```bash
# 从多个角度调研
"用 context7 从以下角度调研 GraphQL:
1. 基本概念和与 REST API 的区别
2. 实现方法和最佳实践
3. 常见问题和解决方法"
# 特定版本或环境的调研
"用 context7 搜索 Next.js 14 的新功能,重点说明 App Router 的使用方法"
```
## 注意事项
如果 Context7 找不到信息,Claude 会自动建议其他方法,如 Web 搜索等。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!