Wiki Qa skill for Claude
Answers questions about a code repository using source file analysis.
When Claude uses it
Use when the user asks a question about how something works, wants to understand a component, or needs help navigating the codebase.
Wiki Qa SKILL.md
The full skill file from microsoft/skills (MIT).
Wiki Q&A
Answer repository questions grounded entirely in source code evidence.
When to Activate
- User asks a question about the codebase
- User wants to understand a specific file, function, or component
- User asks "how does X work" or "where is Y defined"
Source Repository Resolution (MUST DO FIRST)
Before answering any question, you MUST determine the source repository context:
- Check for git remote: Run
git remote get-url originto detect if a remote exists - Ask the user: "Is this a local-only repository, or do you have a source repository URL (e.g., GitHub, Azure DevOps)?"
- Remote URL provided → store as
REPO_URL, use linked citations:[file:line](REPO_URL/blob/BRANCH/file#Lline) - Local-only → use local citations:
(file_path:line_number)
- Remote URL provided → store as
- Determine default branch: Run
git rev-parse --abbrev-ref HEAD - Do NOT proceed until source repo context is resolved
Procedure
- Resolve source repo context (see above)
- Detect the language of the question; respond in the same language
- Search the codebase for relevant files
- Read those files to gather evidence
- Synthesize an answer with inline linked citations
Response Format
- Use
##headings, code blocks with language tags, tables, bullet lists - Cite sources inline using resolved format:
- Remote:
[src/path/file.ts:42](REPO_URL/blob/BRANCH/src/path/file.ts#L42) - Local:
(src/path/file.ts:42)
- Remote:
- Include a "Key Files" table mapping files to their roles (with linked citations in the "File" column)
- Include at least 1 Mermaid diagram when the answer involves architecture, data flow, or relationships — a diagram makes the answer 10x more useful
- Use tables for any structured data in the answer (component lists, API endpoints, config options, comparisons)
- If information is insufficient, say so and suggest files to examine
Rules
- ONLY use information from actual source files
- NEVER invent, guess, or use external knowledge
- Think step by step before answering
How to install Wiki Qa
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-qa#main ~/.claude/skills/wiki-qaCodex
npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-qa#main ~/.codex/skills/wiki-qaClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Wiki Qa skill do?
Answers questions about a code repository using source file analysis. Use when the user asks a question about how something works, wants to understand a component, or needs help navigating the codebase.
+How do I install Wiki Qa in Claude Code?
Copy the skill folder into ~/.claude/skills/wiki-qa, for example with "npx degit microsoft/skills/.github/plugins/deep-wiki/skills/wiki-qa#main ~/.claude/skills/wiki-qa". Claude Code loads it automatically and uses it when a task matches.
+Does Wiki Qa work with ChatGPT or Codex?
Yes. Wiki Qa uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/wiki-qa. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Wiki Qa free?
Wiki Qa is published on GitHub by microsoft under the MIT license, which allows free use.