This repository includes the skill-seekers codebase analyzer for generating comprehensive AI skills from any codebase.
make installThis creates a Python virtual environment and installs skill-seekers.
# Analyze avni-client
make analyze-avni-client
# Analyze avni-models
make analyze-avni-models# Basic usage
make analyze REPO=/path/to/repository
# Custom output location
make analyze REPO=/path/to/repository OUTPUT=skills/my-skill-nameEach analysis creates a comprehensive skill with:
- SKILL.md - Main skill overview with statistics and quick reference
- code_analysis.json - Raw analysis data
- Complete API documentation for all classes, functions, and modules
- Method signatures, parameters, return types
- Extracted from source code comments and structure
- dependency_graph.json - Full dependency relationships
- dependency_graph.dot - GraphViz format
- dependency_graph.mmd - Mermaid diagram format
- statistics.json - Dependency metrics
- detected_patterns.json - Factory, Singleton, Observer, Strategy, etc.
- Confidence scores for each pattern
- File locations and evidence
- test_examples.json - Extracted test code examples
- test_examples.md - Formatted examples with complexity scores
- Real-world usage patterns
- config_patterns.json - Configuration analysis
- config_patterns.md - Formatted config documentation
- Settings extraction from JSON, YAML, TOML, ENV files
- architectural_patterns.json - MVC, MVVM, Layered, etc.
- Component mapping (Models, Views, Controllers)
- Confidence scores and evidence
- documentation_index.json - Catalog of all docs
- Extracted markdown files organized by category
- README, guides, and other documentation
# Clone or locate the repository
cd /path/to/repositories
# Generate skill
cd /path/to/agent-skills
make analyze REPO=/path/to/repositories/my-project OUTPUT=skills/my-project
# Commit the generated skill
git add skills/my-project/
git commit -m "Add my-project skill"
git pushThe Makefile uses --depth full which includes:
- ✅ API Reference extraction
- ✅ Dependency graph generation
- ✅ Design pattern detection
- ✅ Test example extraction
- ✅ Configuration pattern analysis
- ✅ Architectural pattern detection
- ✅ Project documentation extraction
Typical skill sizes:
- avni-client: ~16MB (566 files, 564 API refs)
- avni-models: ~2MB (178 files, 178 API refs)
Remove the virtual environment:
make cleanFor custom analysis options, use the analyzer directly:
source venv/bin/activate
skill-seekers-codebase --helpAvailable options:
--depth {surface,deep,full}- Analysis depth--languages- Filter by languages--file-patterns- Filter by file patterns--skip-*- Skip specific analysis steps--verbose- Detailed logging
make installCheck that the repository path is correct and accessible:
ls -la /path/to/repositoryRequires Python 3.8+:
python3 --versionGenerated skills can be used with:
- Claude Code - Via skills.sh integration
- Windsurf - Local skill loading
- Custom AI tools - JSON/Markdown format
The comprehensive documentation enables AI assistants to understand your codebase deeply and provide accurate, context-aware assistance.