Clean Project
Remove build artifacts and temporary files.
What to Clean
Python:
__pycache__/ directories
*.pyc, *.pyo files
.pytest_cache/
.ruff_cache/
dist/, build/, *.egg-info/
Rust:
target/ directory (cargo clean)
Go:
bin/ directory (if exists)
go clean -cache (optional, ask first)
Node.js:
node_modules/ (ask first - takes time to reinstall)
dist/, build/
.next/, .nuxt/ (framework caches)
General:
.DS_Store files
*.log files
tmp/, temp/ directories
Safety
- Always confirm before deleting
node_modules/
- Show what will be deleted before executing
- Never delete
.git/ or source files