.claude/skills/researching-with-deepwiki/SKILL.md
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.
npx skillsauth add Asmayaseen/hackathon-2 researching-with-deepwikiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Research and understand codebases using the DeepWiki MCP server.
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"
}
}
}
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"
}
}
}
}
| 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 |
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?"
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?"
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?"
DeepWiki can generate Mermaid diagrams:
"Generate an architecture diagram for github.com/prisma/prisma"
"Show the data flow in github.com/trpc/trpc"
# 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"
# 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?"
"Compare how github.com/tanstack/query and github.com/vercel/swr handle cache invalidation"
"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?"
| Platform | URL Format |
|----------|------------|
| GitHub | github.com/owner/repo |
| GitLab | gitlab.com/owner/repo |
| Bitbucket | bitbucket.org/owner/repo |
Run: python3 scripts/verify.py
Expected: ✓ DeepWiki MCP server configured
development
Systematic methodology for debugging bugs, test failures, and unexpected behavior. Use when encountering any technical issue before proposing fixes. Covers root cause investigation, pattern analysis, hypothesis testing, and fix implementation. Use ESPECIALLY when under time pressure, "just one quick fix" seems obvious, or you've already tried multiple fixes. NOT for exploratory code reading.
development
Build beautiful, accessible UIs with shadcn/ui components in Next.js. Use when creating forms, dialogs, tables, sidebars, or any UI components. Covers installation, component patterns, react-hook-form + Zod validation, and dark mode setup. NOT when building non-React applications or using different component libraries.
tools
Implement real-time streaming UI patterns for AI chat applications. Use when adding response lifecycle handlers, progress indicators, client effects, or thread state synchronization. Covers onResponseStart/End, onEffect, ProgressUpdateEvent, and client tools. NOT when building basic chat without real-time feedback.
tools
Builds AI agents using OpenAI Agents SDK with async/await patterns and multi-agent orchestration. Use when creating tutoring agents, building agent handoffs, implementing tool-calling agents, or orchestrating multiple specialists. Covers Agent class, Runner patterns, function tools, guardrails, and streaming responses. NOT when using raw OpenAI API without SDK or other agent frameworks like LangChain.