-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCore Files
More file actions
50 lines (50 loc) · 1.58 KB
/
Core Files
File metadata and controls
50 lines (50 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
ai-refactoring-assistant/
│
├── refactor_assistant/
│ ├── __init__.py
│ ├── main.py # Main entry point
│ ├── analyzer.py # Code analysis logic
│ ├── refactor.py # Refactoring execution
│ ├── rules_engine.py # Rule management
│ ├── safety_checker.py # Safety validation
│ ├── ai_model/ # AI components
│ │ ├── __init__.py
│ │ ├── pattern_detector.py
│ │ └── suggestion_engine.py
│ ├── languages/ # Language-specific handlers
│ │ ├── __init__.py
│ │ ├── python_handler.py
│ │ ├── javascript_handler.py
│ │ └── base_handler.py
│ └── utils/
│ ├ ── __init__.py
│ ├── ast_parser.py
│ ├── code_formatter.py
│ └── vcs_integration.py
│
├── tests/
│ ├── __init__.py
│ ├── test_analyzer.py
│ ├── test_refactor.py
│ └── test_rules_engine.py
│
├── plugins/ # Plugin system
│ ├── __init__.py
│ └── example_plugin.py
│
├── config/
│ ├── default_rules.yaml # Default refactoring rules
│ └── language_config.yaml # Language-specific settings
│
├── docs/
│ ├── api.md
│ ├── rules.md
│ └── plugins.md
│
├── requirements.txt
├── setup.py
├── pyproject.toml
├── .pre-commit-config.yaml
├── .gitignore
├── LICENSE
└── README.md