researching-with-deepwiki
Research GitHub, GitLab, and Bitbucket repositories using DeepWiki MCP server. Use when exploring unfamiliar codebases, understanding project architecture, or asking questions about how a specific open-source project works. Provides AI-powered repo analysis and RAG-based Q&A about source code. NOT for fetching library API docs (use fetching-library-docs instead) or local files.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o researching-with-deepwiki.zip https://jpskill.com/download/17314.zip && unzip -o researching-with-deepwiki.zip && rm researching-with-deepwiki.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17314.zip -OutFile "$d\researching-with-deepwiki.zip"; Expand-Archive "$d\researching-with-deepwiki.zip" -DestinationPath $d -Force; ri "$d\researching-with-deepwiki.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
researching-with-deepwiki.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
researching-with-deepwikiフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 2
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
DeepWiki を用いた調査
DeepWiki MCP サーバーを使用して、コードベースを調査し理解します。
MCP サーバーのセットアップ
Claude Code の設定に追加します。
claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
または、settings.json に追加します。
{
"mcpServers": {
"deepwiki": {
"type": "http",
"url": "https://mcp.deepwiki.com/mcp"
}
}
}
プライベートリポジトリ
プライベートリポジトリの場合は、認証付きで Devin.ai エンドポイントを使用します。
{
"mcpServers": {
"deepwiki": {
"type": "http",
"url": "https://mcp.devin.ai/deepwiki/mcp",
"headers": {
"Authorization": "Bearer YOUR_DEVIN_API_KEY"
}
}
}
}
DeepWiki を使用するべき時
| シナリオ | DeepWiki を使用しますか? |
|---|---|
| 不慣れなオープンソースのコードベースを探索する | はい |
| プロジェクトのアーキテクチャを理解する | はい |
| 機能がどのように実装されているかを見つける | はい |
| リポジトリのドキュメントを生成する | はい |
| 自分のローカルコードを扱う | いいえ - Glob/Grep を使用 |
| 既知の構造でファイルをすばやく検索する | いいえ - Read ツールを使用 |
主要な機能
1. リポジトリの分析
DeepWiki に任意の公開リポジトリの分析を依頼します。
"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. コード構造の理解
プロジェクトの構成に関する洞察を得ます。
"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. 機能の調査
特定の機能がどのように動作するかを理解します。
"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. アーキテクチャの可視化
DeepWiki は Mermaid ダイアグラムを生成できます。
"Generate an architecture diagram for github.com/prisma/prisma"
"Show the data flow in github.com/trpc/trpc"
ベストプラクティス
1. 具体的な質問をする
# 良い例 - 具体的な質問
"How does the caching system work in github.com/vercel/swr?"
# あまり効果的ではない例 - 広すぎる
"Tell me about github.com/vercel/swr"
2. 特定のパスを参照する
# 良い例 - ターゲットを絞った調査
"Explain the src/core directory in github.com/pmndrs/zustand"
# これも良い例 - 機能に焦点を当てる
"How is the middleware pattern implemented in github.com/pmndrs/zustand?"
3. 実装を比較する
"Compare how github.com/tanstack/query and github.com/vercel/swr handle cache invalidation"
4. 人気のあるプロジェクトから学ぶ
"What patterns from github.com/shadcn-ui/ui should I follow for my component library?"
一般的なユースケース
新しいフレームワークを学ぶ
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"
統合の問題をデバッグする
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?"
貢献の準備をする
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?"
サポートされているプラットフォーム
| プラットフォーム | URL 形式 |
|---|---|
| GitHub | github.com/owner/repo |
| GitLab | gitlab.com/owner/repo |
| Bitbucket | bitbucket.org/owner/repo |
制限事項
- レート制限: パブリックエンドポイントには使用制限があります
- プライベートリポジトリ: Devin.ai API キーが必要です
- 大規模なリポジトリ: 分析に時間がかかる場合があります
- リアルタイムの変更: キャッシュされた分析は最新のコミットを反映していない場合があります
検証
実行: python3 scripts/verify.py
期待される結果: ✓ DeepWiki MCP server configured
検証に失敗した場合
- 確認: MCP サーバーが設定に構成されているか確認します
- テスト: "analyze github.com/anthropics/anthropic-sdk-python" のような簡単なクエリを試してください
- それでも失敗する場合は 停止して報告 してください
参考文献
- DeepWiki - メインサービス
- MCP endpoint - パブリック MCP サーバー
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Researching with DeepWiki
Research and understand codebases using the DeepWiki MCP server.
MCP Server Setup
Add to your Claude Code settings:
claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
Or add to settings.json:
{
"mcpServers": {
"deepwiki": {
"type": "http",
"url": "https://mcp.deepwiki.com/mcp"
}
}
}
Private Repositories
For private repos, use the Devin.ai endpoint with authentication:
{
"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
- Check: MCP server is configured in settings
- Test: Try a simple query like "analyze github.com/anthropics/anthropic-sdk-python"
- Stop and report if still failing
References
- DeepWiki - Main service
- MCP endpoint - Public MCP server
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (5,111 bytes)
- 📎 scripts/verify.py (1,488 bytes)