Technical Debt Cleanup
Audits and resolves technical debt by removing debugging statements, unused imports, and identifying duplicate code patterns.
The Technical Debt Cleanup skill is designed to maintain high code quality by automating the identification and removal of common codebase 'smells' before concluding a development session. It scans your repository for console logs, debugger statements, unused imports, and 'any' type declarations, providing a structured report of potential issues. Beyond simple cleanup, it detects duplicate logic across files and flags functions that exceed complexity thresholds, allowing developers to refactor proactively and keep the codebase maintainable and performant.
Key Features
01Automated removal of console.log and debugger statements
02Complexity reporting for long functions and deep nesting
03Detection of unused imports and variables across multiple files
04Audit of TypeScript 'any' types and magic numbers
05122 GitHub stars
06Identification of duplicate code logic for utility extraction
Use Cases
01Final cleanup of debugging artifacts before submitting a pull request
02Routine codebase auditing to reduce technical debt and complexity
03Refactoring legacy code by identifying unused dependencies and duplicate logic