Skills.MD
# Researching with DeepWiki
Research and understand codebases using the DeepWiki MCP server.
## MCP Server Setup
Add to your Claude Code settings:
```bash
claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
```
Or add to `settings.json`:
```json
{
"mcpServers": {
"deepwiki": {
"type": "http",
"url": "https://mcp.deepwiki.com/mcp"
}
}
}
```
### Private Repositories
For private repos, use the Devin.ai endpoint with authentication:
```json
{
"mcpServers": {
"deepwiki": {
"type": "http",
"url": "https://mcp.devin.ai/deepwiki/mcp",
"headers": {
"Authorization": "Bearer YOUR_DEVIN_API_KEY"
}
}
}
}
```
---
## When to Use DeepWiki
| Scenario | Use DeepWiki? |
|----------|---------------|
| Exploring unfamiliar open-source codebase | Yes |
| Understanding project architecture | Yes |
| Finding how a feature is implemented | Yes |
| Generating documentation for a repo | Yes |
| Working with your own local code | No - use Glob/Grep |
| Quick file lookups in known structure | No - use Read tool |
---
## Core Capabilities
### 1. Repository Analysis
Ask DeepWiki to analyze any public repository:
```
"Analyze the architecture of github.com/vercel/next.js"
"How is the routing system implemented in github.com/remix-run/react-router?"
"What design patterns are used in github.com/anthropics/anthropic-sdk-python?"
```
### 2. Code Structure Understanding
Get insights into project organization:
```
"Explain the directory structure of github.com/langchain-ai/langchain"
"What are the main modules in github.com/fastapi/fastapi?"
"How are tests organized in github.com/pytest-dev/pytest?"
```
### 3. Feature Investigation
Understand how specific features work:
```
"How does streaming work in github.com/openai/openai-python?"
"Where is authentication handled in github.com/better-auth/better-auth?"
"How are middleware implemented in github.com/honojs/hono?"
```
### 4. Architecture Visualization
DeepWiki can generate Mermaid diagrams:
```
"Generate an architecture diagram for github.com/prisma/prisma"
"Show the data flow in github.com/trpc/trpc"
```
---
## Best Practices
### 1. Be Specific with Questions
```
# Good - specific question
"How does the caching system work in github.com/vercel/swr?"
# Less effective - too broad
"Tell me about github.com/vercel/swr"
```
### 2. Reference Specific Paths
```
# Good - targeted investigation
"Explain the src/core directory in github.com/pmndrs/zustand"
# Also good - feature-focused
"How is the middleware pattern implemented in github.com/pmndrs/zustand?"
```
### 3. Compare Implementations
```
"Compare how github.com/tanstack/query and github.com/vercel/swr handle cache invalidation"
```
### 4. Learn from Popular Projects
```
"What patterns from github.com/shadcn-ui/ui should I follow for my component library?"
```
---
## Common Use Cases
### Learning a New Framework
```
1. "Explain the core concepts of github.com/honojs/hono"
2. "How do I add middleware in github.com/honojs/hono?"
3. "Show example route handlers from github.com/honojs/hono"
```
### Debugging Integration Issues
```
1. "How does github.com/drizzle-team/drizzle-orm handle connection pooling?"
2. "What error types are thrown by github.com/drizzle-team/drizzle-orm?"
```
### Preparing for Contributions
```
1. "What's the contribution workflow for github.com/anthropics/claude-code?"
2. "How are issues labeled in github.com/anthropics/claude-code?"
3. "What testing patterns are used in github.com/anthropics/claude-code?"
```
---
## Supported Platforms
| Platform | URL Format |
|----------|------------|
| GitHub | `github.com/owner/repo` |
| GitLab | `gitlab.com/owner/repo` |
| Bitbucket | `bitbucket.org/owner/repo` |
---
## Limitations
- **Rate limits**: Public endpoint has usage limits
- **Private repos**: Requires Devin.ai API key
- **Large repos**: May take time to analyze
- **Real-time changes**: Cached analysis may not reflect latest commits
---
## Verification
Run: `python3 scripts/verify.py`
Expected: `✓ DeepWiki MCP server configured`
## If Verification Fails
1. Check: MCP server is configured in settings
2. Test: Try a simple query like "analyze github.com/anthropics/anthropic-sdk-python"
3. **Stop and report** if still failing
## References
- [DeepWiki](https://deepwiki.com) - Main service
- [MCP endpoint](https://mcp.deepwiki.com/mcp) - Public MCP server
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「researching-with-deepwiki」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次