# AI CONTEXT - cli
Automatically generated by Ai-Context-Core

## 📁 PROJECT STRUCTURE

./
    .ai_context_cache.json
    AI_CONTEXT.md
    PROJECT_SUMMARY.md
    __init__.py
    interactive.py
    project_context.json
    commands/
        __init__.py
        analysis.py
        analyze.py
        base.py
        clean.py
        compare.py
        deps.py
        ... (+15 more)

## 🎯 ENTRY POINTS

## 📈 COMPLEXITY AND METRICS
- **Total Modules**: 25
- **Source Lines (SLOC)**: 1,139
- **Total Physical Lines**: 1,566
- **Functions**: 79
- **Classes**: 7
- **Average Complexity**: 6.9
- **Avg Maintenance Index**: 45.3
- **Most Complex Modules**: commands/doctor.py, commands/fix.py, interactive.py

## 🏗️ DETECTED PATTERNS
No clear design patterns detected.

## 🔗 PRIMARY DEPENDENCIES
### Third Party (most frequent):
- `ai_context_core` (7 imports)
- `rich` (7 imports)
- `maintenance` (6 imports)
- `base` (5 imports)
- `analysis` (3 imports)
- `reports` (3 imports)
- `specialized` (3 imports)
- `analyze` (1 imports)
- `clean` (1 imports)
- `click` (1 imports)
- `compare` (1 imports)
- `deps` (1 imports)
- `doctor` (1 imports)
- `fix` (1 imports)
- `git` (1 imports)

## ⚠️ UNUSED IMPORTS
- **commands/doctor.py**: rich.panel.Panel

## 🕸️  DEPENDENCY STRUCTURE
- **Nodes**: 25
- **Edges**: 4
- **Density**: 0.007

## 🕸️ DEPENDENCY DIAGRAM (Conceptual)
```mermaid
graph TD
    init --> py
    interactive --> py
    classDef module fill:#f9f,stroke:#333,stroke-width:2px;
    report
    class report module;
    base
    class base module;
    init
    class init module;
    qgis
    class qgis module;
    interactive
    class interactive module;
    roadmap
    class roadmap module;
    clean
    class clean module;
    compare
    class compare module;
    analyze
    class analyze module;
    graph
    class graph module;
    reports
    class reports module;
    analysis
    class analysis module;
    deps
    class deps module;
    init
    class init module;
    inspect
    class inspect module;
    fix
    class fix module;
    doctor
    class doctor module;
    init
    class init module;
    git
    class git module;
    maintenance
    class maintenance module;
```

## 💡 OPTIMIZATION RECOMMENDATIONS
### commands/doctor.py
- **complexity_refactoring**: Consider breaking down large logic
### interactive.py
- **complexity_refactoring**: Consider breaking down large logic

## 🔄 GIT AND EVOLUTION
### Top Hotspots:
- `src/ai_context_core/analyzer/engine.py` (26 commits)
- `src/ai_context_core/analyzer/fs_utils.py` (24 commits)
- `src/ai_context_core/cli.py` (21 commits)
- `src/ai_context_core/analyzer/issues.py` (21 commits)
- `src/ai_context_core/analyzer/reporting.py` (21 commits)
### Recent Churn (30 days):
- Total lines changed: 168935

## 🔑 PROJECT KEYWORDS
- **Technologies**: .py, .md, .json