deepwiki
1
总安装量
1
周安装量
#54688
全站排名
安装命令
npx skills add https://github.com/lambda610/skills --skill deepwiki
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
claude-code
1
Skill 文档
DeepWiki â Local Codebase Documentation Generator
AI-powered local documentation generator for codebases. Generate comprehensive Markdown documentation from your codebase.
Overview
DeepWiki analyzes your codebase and generates:
- Architecture Overview â System design and components
- API Documentation â Endpoints, interfaces, and contracts
- Module Relationships â Dependencies and data flow
- Code Patterns â Architectural decisions and patterns used
Claude Code Usage
Simply describe what you need:
"Analyze this codebase structure"
"Generate documentation for this project"
"Document the API and modules"
"Scan the code and create architecture docs"
The skill will automatically trigger and help you generate comprehensive documentation.
OpenClaw Usage
Quick Scan
/deepwiki-scan [project-path]
Full Documentation
/deepwiki-generate
Specific Module
/deepwiki-module [module-path]
For Detailed Guidance
See SCAN_GUIDE.md for scan workflow details. See GENERATE_GUIDE.md for generate workflow details.
Workflows
1. Scan
Analyze codebase structure:
- Directory tree
- Key files identification
- Technology detection
- Entry points discovery
2. Generate
Create comprehensive docs:
- Architecture section
- API documentation
- Module breakdown
- Code relationships
- File inventory
3. Export
Output formats:
- Markdown files
- Structured JSON
- Documentation index
Output Structure
docs/
âââ README.md # Project overview
âââ ARCHITECTURE.md # System design
âââ API.md # API reference
âââ MODULES.md # Module breakdown
âââ FILE_INVENTORY.md # Complete file list
âââ .deepwiki/ # Internal analysis
Configuration
Options
deepwiki:
scan:
depth: "full" # full, medium, shallow
ignore: # patterns to skip
- "**/node_modules/**"
- "**/.git/**"
- "**/dist/**"
output:
format: "markdown" # markdown, json
include: # sections to include
- architecture
- api
- modules
- file-inventory
Examples
Basic
/deepwiki-generate --depth=full --output=docs
Specific Focus
/deepwiki-generate --focus=api --output=api-docs.md
Exclude Patterns
/deepwiki-scan --ignore="**/test/**,**/migrations/**"
Best Practices
For Large Codebases
- Start with scan to get overview
- Generate module-by-module for better results
- Use depth=shallow for initial analysis
For Small Projects
- Use
depth=fullfor complete analysis - Generate all sections
For API-Focused Docs
/deepwiki-generate --focus=api --include=endpoints,interfaces
Tips
- Be specific about what you want to document
- Iterative approach works best for large projects
- Review generated docs and add missing context
- Use as a starting point â refine as needed
Integration
With Claude Code
DeepWiki works great with Claude Code for:
- Context injection
- Code understanding
- Documentation updates
With Git
Generate docs on:
- New releases
- Major PRs
- Project milestones
Credits
Inspired by DeepWiki (deepwiki.com) and Devin by CognitionAI.