-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathproject_extract.py
More file actions
45 lines (35 loc) · 1.46 KB
/
project_extract.py
File metadata and controls
45 lines (35 loc) · 1.46 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
# MIT LICENSE - Copyright 2025 Jay Baleine (https://github.com/Varietyz https://banes-lab.com)
"""
Project Structure Extraction Tool for AI Collaboration
USAGE:
python project_extract.py
CONFIGURATION:
Edit the settings in src/config.py to customize output:
SEPARATE_FILES:
- False: Single THE_PROJECT.md file (recommended for small codebases)
- True: Multiple files per directory (recommended for large codebases)
INCLUDE_PATHS:
- List directories/files to analyze
- Add new paths as needed for your project structure
EXCLUDE_PATTERNS:
- Patterns to skip (cache dirs, build artifacts, etc.)
- Prevents cluttering output with generated files
OUTPUT_DIR/OUTPUT_FILE:
- Where extracted files are saved
- Change if you need different output location
PURPOSE:
Generates structured project snapshots for systematic AI collaboration.
Provides complete file contents and structure for AI context sharing.
Enforces documentation discipline through automated extraction.
Use this to:
1. Share complete project state with AI systems
2. Track architectural compliance (file sizes, structure)
3. Generate systematic documentation for methodology adherence
4. Create focused development context for AI sessions
"""
from src.extraction.extractor import ProjectExtractor
def main():
extractor = ProjectExtractor()
extractor.extract()
if __name__ == '__main__':
main()