用途:该技能用于访问公开 GitHub 仓库的文档。它连接 DeepWiki MCP 服务器(基础地址 https://mcp.deepwiki.com/mcp),可检索仓库 Wiki、获取文档结构,并基于仓库文档进行 AI 问答。
主要能力:
- 提问:就某个 GitHub 仓库提出任意问题,返回基于上下文的 AI 回答。
- 读取 Wiki 结构:获取某仓库的文档主题列表。
- 读取 Wiki 内容:查看仓库 Wiki 中指定路径的文档。
使用方式:需运行本地脚本 ./scripts/deepwiki.js,命令形式如下:
- 提问:node ./scripts/deepwiki.js ask <owner/repo> "your question"
- 结构:node ./scripts/deepwiki.js structure <owner/repo>
- 内容:node ./scripts/deepwiki.js contents <owner/repo> <path>
示例: node ./scripts/deepwiki.js ask cognitionlabs/devin "How do I use MCP?" node ./scripts/deepwiki.js structure facebook/react
限制:仅适用于公开仓库,无需认证。其他细节暂未提供。