- Add environment-specific database selection (SQLite for local, MariaDB for NAS) - Remove edit button from admin detail view modal for cleaner UX - Clean up project files: remove redundant docs and test files - Update deployment script with improved SSH handling - Maintain backward compatibility while supporting both database types 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1.1 KiB
1.1 KiB
allowed-tools, description
allowed-tools | description | ||||||
---|---|---|---|---|---|---|---|
|
Clean up code, remove dead code, and optimize project structure |
/sc:cleanup - Code and Project Cleanup
Purpose
Systematically clean up code, remove dead code, optimize imports, and improve project structure.
Usage
/sc:cleanup [target] [--type code|imports|files|all] [--safe|--aggressive] [--dry-run]
Arguments
target
- Files, directories, or entire project to clean--type
- Cleanup type (code, imports, files, all)--safe
- Conservative cleanup (default)--aggressive
- More thorough cleanup with higher risk--dry-run
- Preview changes without applying them
Execution
- Analyze target for cleanup opportunities
- Identify dead code, unused imports, and redundant files
- Create cleanup plan with risk assessment
- Execute cleanup operations with appropriate safety measures
- Validate changes and report cleanup results
Claude Code Integration
- Uses Glob for systematic file discovery
- Leverages Grep for dead code detection
- Applies MultiEdit for batch cleanup operations
- Maintains backup and rollback capabilities