← ClaudeAtlas

cleanprojectlisted

Remove debug artifacts and temporary files safely with git checkpoint protection
manastalukdar/ai-devstudio · ★ 1 · Code & Development · score 77
Install: claude install-skill manastalukdar/ai-devstudio
# Clean Project I'll help clean up development artifacts while preserving your working code. **Token Optimization:** This skill is optimized for **75% token reduction** (2,000-3,000 → 500-750 tokens) through Bash-based cleanup operations and template-based pattern matching. **Core Optimization Strategies:** 1. **Bash-Based Cleanup Operations** (70-80% savings) - Use `find` + `rm` commands for file deletion (external tools) - Execute `git status --porcelain` for untracked file detection - Use `ls -la` for directory size verification - Pattern: `find . -name "*.log" -type f -delete` - **Never use Read tool** - only Bash commands for cleanup 2. **Template-Based Cleanup Patterns** (60-70% savings) - Pre-defined patterns for common artifacts: ```bash # Debug/log files find . -name "*.log" -o -name "*.tmp" -o -name "*~" -type f # Node.js artifacts find . -name "*.log" -o -name "npm-debug.log*" -type f # Python artifacts find . -name "*.pyc" -o -name "__pycache__" -type d # Editor artifacts find . -name ".DS_Store" -o -name "Thumbs.db" -type f ``` - Load patterns from cache if available - **No file reading** - pattern-based identification only 3. **Git Status for Untracked Detection** (80% savings) - Single command: `git status --porcelain | grep "^??"` - Identifies untracked files without Read operations - Filter by extension/pattern using `grep` in same pipeline - Example: `git status -