使用 MCP 的 Context7 搜索技術文檔。
Searches technical documentation using Context7 MCP to find solutions and implementation details.
/plugin marketplace add wasabeef/claude-code-cookbook/plugin install cook-zh-tw@claude-code-cookbook使用 MCP 的 Context7 搜索技術文檔。
# 以請求 Claude 的形式
"用 context7 搜索 [搜索關鍵詞]"
# React hooks 調研
"用 context7 搜索 React hooks"
# 錯誤解決方法搜索
"用 context7 查找 TypeScript 的類型錯誤"
# 技術調研請求
"用 context7 查找 Rust 的所有權系統,並以初學者友好的方式解釋"
# 錯誤解決請求
"用 context7 搜索 Python 的 ImportError 常見原因和解決方法"
# 最佳實践確認
"用 context7 查找 React 性能優化的最佳實践"
# 從多個角度調研
"用 context7 從以下角度調研 GraphQL:
1. 基本概念和與 REST API 的區別
2. 實現方法和最佳實践
3. 常見問題和解決方法"
# 特定版本或環境的調研
"用 context7 搜索 Next.js 14 的新功能,重點說明 App Router 的使用方法"
如果 Context7 找不到資訊,Claude 會自動建議其他方法,如 Web 搜索等。