Install this skill
npx skills add sopaco/deepwiki-rsWorks across Claude Code, Cursor, Codex, Copilot & Antigravity
What this skill does
- β’Automatic extraction of architectural relationships from source code
- β’Generation of standardized C4 model documentation
- β’Support for multi-language repository analysis
- β’Dual-model processing for balancing speed and analytical depth
- β’Customizable output formatting for project wikis
When to use it
- βGenerating architectural documentation for onboarding new engineers
- βCreating C4 diagrams for complex microservice systems
- βUpdating legacy codebases that lack maintained technical specs
- βPreparing internal project wikis during CI/CD pipelines
When not to use it
- βSmall projects where the documentation overhead exceeds the codebase size
- βHighly ephemeral scripts that undergo daily, radical structure changes
- βProjects requiring manual, highly personalized technical storytelling
How to invoke it
Example prompts that trigger this skill:
- βAnalyze the current directory and generate documentation to the default output folder.β
- βRun a deep analysis on the /src folder using both an efficient and a powerful AI model.β
- βPerform a quick scan of the codebase without full architectural research.β
- βGenerate full project documentation, skipping the initial preprocessing phase for speed.β
- βCreate a C4-compliant architectural summary of the entire repository.β
Example workflow
- Install the binary using 'cargo install deepwiki-rs'.
- Navigate to the root directory of the project target.
- Execute 'deepwiki-rs -p .' to initiate the initial scan.
- Refine results by specifying models with '--model-efficient' and '--model-powerful'.
- Review the generated 'litho.docs' folder for C4 diagrams and markdown reports.
Prerequisites
- βRust toolchain (cargo)
- βAPI keys for supported LLM providers
- βInternet access for AI research and analysis
Pitfalls & limitations
- !Large codebases may encounter API rate limits if not properly batch-configured.
- !Preprocessing phase can be memory-intensive on limited hardware.
- !Requires careful configuration to ensure generated diagrams align with specific company standards.
FAQ
How it compares
Unlike writing documentation manually, Litho ensures technical specs stay synchronized with the actual codebase implementation by generating them directly from source analysis.
Source & trust
From the source: β# Litho (deepwiki-rs) - AI-Powered Documentation Generation ## Quick Start Guide **Use Litho when you need to:** - Analyze entire codebases and generate architecture documentation - Create C4 model diagrams (Context, Container, Component, Code) - Understand complex software systems and module relatiβ¦β
View the full SKILL.md source
# Litho (deepwiki-rs) - AI-Powered Documentation Generation
## Quick Start Guide
**Use Litho when you need to:**
- Analyze entire codebases and generate architecture documentation
- Create C4 model diagrams (Context, Container, Component, Code)
- Understand complex software systems and module relationships
- Generate comprehensive technical specifications
- Document architecture evolution and design decisions
**Core Workflow:**
```bash
# Basic codebase analysis
deepwiki-rs -p ./src
# Complete C4 documentation with dual models
deepwiki-rs -p ./project --model-efficient gpt5-mini --model-powerful gpt5
```
## Decision Tree
### π **Comprehensive Documentation** β Use "Full Litho Workflow"
Generate complete C4 model documentation with architecture diagrams and technical specs.
### β‘ **Quick Code Analysis** β Use "Basic Analysis Mode"
Fast code insights without full documentation pipeline.
### ποΈ **Architecture Understanding** β Use "Advanced C4 Generation"
Deep architectural analysis with detailed component relationships.
### π **CI/CD Integration** β Use "Automated Pipeline"
Continuous documentation generation for development workflows.
## Key Capabilities
### Multi-Language Support
- Rust, Python, Java, Go, C#, JavaScript/TypeScript
- Any language with recognizable code structure
### Documentation Structure
```
project-docs/
βββ 1. Project Overview
βββ 2. Architecture Overview
βββ 3. Workflow Overview
βββ 4. Deep Dive/
βββ Topic1.md
βββ Topic2.md
```
### Essential Parameters
- `-p, --path`: Source directory
- `-o, --output`: Output location (default: ./litho.docs)
- `--model-efficient`: Fast model for quick analysis
- `--model-powerful`: Capable model for deep analysis
- `--skip-preprocessing`: Skip initial scanning phase
- `--skip-research`: Skip AI research phase
## Advanced Resources
For detailed configuration, troubleshooting, and advanced patterns:
- See [configuration.md](./configuration.md) for comprehensive setup guides
- See [examples.md](./examples.md) for real-world usage patterns
- See [integration.md](./integration.md) for CI/CD and automation
- See [troubleshooting.md](./troubleshooting.md) for common issues
## Security & Performance Notes
- Install only from trusted sources
- Use `--model-efficient` for large codebases
- Batch processing helps avoid API rate limits
- Memory-constrained environments: use `--skip-preprocessing`
## Installation
```bash
# Install from crates.io (recommended)
cargo install deepwiki-rs
# Build from source
git clone https://github.com/sopaco/deepwiki-rs.git && cd deepwiki-rs && cargo build --release
```
Quoted from sopaco/deepwiki-rs for reference β see the original for the authoritative, latest version.
How to Use This Skill Unit
Option A: Project-Specific (Recommended)
- Click "Download" above
- In your project, create the directory:
.agent/skills/skill-litho/ - Save the file as
SKILL.md - The agent will automatically discover the skill based on its description.
Option B: Global Installation (All Agents)
Save the file to these locations to make it available across all projects:
- Claude Code:
~/.claude/skills/sopaco/deepwiki-rs/skill-litho/SKILL.md - Cursor:
~/.cursor/skills/sopaco/deepwiki-rs/skill-litho/SKILL.md - Antigravity:
~/.gemini/antigravity/skills/sopaco/deepwiki-rs/skill-litho/SKILL.md
π Install with CLI:npx skills add sopaco/deepwiki-rs