---
title: "=============================================================================" component_type: script version: "1.0.0" audience: contributor status: stable summary: "organize_production.py - Production Folder Organization Script" keywords: ['api', 'backend', 'deployment', 'frontend', 'git'] tokens: ~500 created: 2025-12-22 updated: 2025-12-22 script_name: "organize_production.py" language: python executable: true usage: "python3 scripts/organize_production.py [options]" python_version: "3.10+" dependencies: [] modifies_files: false network_access: false requires_auth: false
organize_production.py - Production Folder Organization Script
Standalone CLI tool for organizing projects to CODITECT production standards. Integrates with production-folder-structure skill and project-organizer agent.
Usage: python3 organize_production.py [options]
Options:
--validate Validation only (no changes)
--dry-run Show plan without executing
--auto-fix Automatically fix issues (requires approval)
--score Show production readiness score only
--type
Examples: # Validate current structure python3 organize_production.py --validate
# Show production readiness score
python3 organize_production.py --score
# Generate organization plan (dry run)
python3 organize_production.py --dry-run
# Execute organization with approval
python3 organize_production.py
# Auto-fix with confirmation
python3 organize_production.py --auto-fix
Version: 1.0.0 Last Updated: 2025-12-04 Author: CODITECT Core Team
File: organize_production.py
Functions
detect_project_type(path)
Detect project type based on file/directory indicators.
validate_structure(path, project_type)
Validate project structure against production standards.
main()
No description
Usage
python organize_production.py