repo-scanner
Analyze repository structure and generate comprehensive index. Use to understand codebase organization or create repo-index.md.
📖 中文导读:Analyze repository structure and generate comprehensive index. Use to understand codebase organization or create repo-index.md. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: repo-scanner description: Analyze repository structure and generate comprehensive index. Use to understand codebase organization or create repo-index.md.
Repository Scanner Skill
Analyze the repository structure and generate a comprehensive index.
Output
Generate .prompt/repo-index.md with:
Project Metadata
- Name, type, languages, package manager
Directory Structure (2 levels)
- Key directories with one-sentence descriptions
Key Files Index
- File paths with line ranges and purposes
Entry Points
- Main entry, CLI entry, config locations
Commands
- Install, build, test, lint commands
Constraints
- Output under 200 lines
- Use file links
[name](path#L1-L50) - Reference over copy - don't include file contents
- Respect
.gitignorebut include.claude/,.github/
Rainze Project Structure
src/rainze/ # Python main code
├── core/ # Core module, contracts
├── agent/ # UCM, scene classifier
├── ai/ # LLM integration
├── gui/ # PyQt6 GUI
├── memory/ # Memory & retrieval
├── animation/ # Animation system
└── state/ # State management
rainze_core/ # Rust performance module
config/ # JSON configuration
.github/prds/ # PRD documents
Workflow
- Use
findorls -Rto discover structure - Read key files (pyproject.toml, Cargo.toml, etc.)
- Identify entry points and dependencies
- Generate structured index with links