Deepwiki
This skill should be used when the user mentions a "GitHub repository", provides a "github.com" URL, uses "owner/repo" format, asks to "explain a codebase", "how does this repo work", "what is the architecture of X", "how is X implemented", "tell me about" an open-source project, asks to compare how multiple open-source projects implement a feature, or needs documentation about a library's internals. Also use when the user invokes /deepwiki.From its SKILL.md
npx -y skills add cndoit18/deepwiki --skill deepwikiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.6 KB, as published. Nobody here has run it
DeepWiki - GitHub Repository Documentation
Query documentation for any public GitHub repository using DeepWiki MCP tools. DeepWiki provides auto-generated, AI-powered documentation covering architecture, code structure, and implementation details. No authentication required.
Repository Detection
Extract the repository identifier from user input. Normalize to owner/repo format:
| Input Format | Example | Extracted |
|---|---|---|
| Full URL | https://github.com/vercel/next.js | vercel/next.js |
| Short URL | github.com/facebook/react | facebook/react |
| Shorthand | denoland/deno | denoland/deno |
| With path | github.com/owner/repo/blob/main/src/index.ts | owner/repo |
Strip trailing slashes, query parameters, and path segments beyond owner/repo.
Tool Selection
Choose based on the user's intent:
Broad Exploration
User wants to understand a repository overall, browse docs, or "tell me about X":
- Call
mcp__plugin_deepwiki_deepwiki__read_wiki_structurewithrepoName - Present the outline as a navigable list
- Offer to deep-dive into specific topics
Specific Question
User asks a direct question about a repository:
- Call
mcp__plugin_deepwiki_deepwiki__ask_questionwithrepoNameandquestion - Present the AI-powered answer
Deep Reading
User wants comprehensive docs on a repository:
- Call
mcp__plugin_deepwiki_deepwiki__read_wiki_contentswithrepoName - Present and summarize the documentation content
Prefer ask_question for specific queries
When the user asks "how does X work" or "what is the architecture of Y", use ask_question directly. It provides the most targeted, context-grounded answers.
Slash Command Handling
When invoked via /deepwiki:
- With repo + question (
/deepwiki vercel/next.js how does routing work?): useask_question - With repo only (
/deepwiki vercel/next.js): useread_wiki_structureto show the outline - No arguments (
/deepwiki): ask the user which repository to query
Response Format
Structure all responses:
- State the repository (
owner/repo) - Present information organized by topic or relevance
- Include architecture descriptions and code references when available
- Suggest follow-up queries when appropriate
Guidelines
- Always extract
owner/repobefore making any tool call - Do not fabricate repository information -- rely solely on DeepWiki tool results
- If a tool call fails, suggest verifying the repository name and that it is public
- For multi-repo comparisons, call tools for each repo and synthesize
- When the user mentions a well-known library without specifying the repo, infer the GitHub repo if confident (e.g., "React" →
facebook/react, "Next.js" →vercel/next.js)
Additional Resources
Reference Files
references/tool-usage.md- Complete parameter reference, usage examples, workflow patterns, and error handling for all three DeepWiki MCP tools