AgentSkillsCN

deepwiki

检索并探索 DeepWiki 为公共 GitHub 仓库生成的文档。适用于列出仓库文档主题、阅读 DeepWiki 页面,或就代码库提出针对性问题——例如,需要了解当前仓库结构、架构注解,或获取组件说明。

SKILL.md
--- frontmatter
name: deepwiki
description: >
  Retrieve and explore DeepWiki-generated documentation for public GitHub
  repositories. Use when listing repository documentation topics, reading
  DeepWiki pages, or asking focused questions about a codebase that needs
  current repository structure, architecture notes, or component explanations.

DeepWiki

Overview

The DeepWiki skill uses the mcporter CLI to query DeepWiki’s public repository documentation endpoint. Suitable for exploring a GitHub repo: listing documentation topics, reading documentation content, and asking questions about the codebase.

Endpoint:

text
https://mcp.deepwiki.com/mcp

Workflow

Step 1: Inspect tool signatures

List available tools and their parameters:

bash
bunx mcporter list https://mcp.deepwiki.com/mcp --all-parameters

Step 2: List documentation topics

bash
bunx mcporter call https://mcp.deepwiki.com/mcp.read_wiki_structure \
  repoName:owner/repo

Parameters:

  • repoName (required): GitHub repository in owner/repo format.

Step 3: Read documentation content

bash
bunx mcporter call https://mcp.deepwiki.com/mcp.read_wiki_contents \
  repoName:owner/repo

Parameters:

  • repoName (required): GitHub repository in owner/repo format.

Step 4: Ask a repo question

bash
bunx mcporter call https://mcp.deepwiki.com/mcp.ask_question \
  repoName:owner/repo \
  question:"How does the routing layer work?"

Parameters:

  • repoName (required): GitHub repository in owner/repo format.
  • question (required): The question to answer about the repo.

Examples

List topics for React

bash
bunx mcporter call https://mcp.deepwiki.com/mcp.read_wiki_structure \
  repoName:facebook/react

Read documentation for React

bash
bunx mcporter call https://mcp.deepwiki.com/mcp.read_wiki_contents \
  repoName:facebook/react

Ask a question about React

bash
bunx mcporter call https://mcp.deepwiki.com/mcp.ask_question \
  repoName:facebook/react \
  question:"How is the rendering pipeline structured?"

Tips

  • Always start with mcporter list to confirm parameter names and defaults.
  • Use precise, repo-specific questions for better answers.
  • Only public GitHub repositories are supported.