What problem does it solve?
This Skill automates comprehensive codebase maintenance and technical-debt remediation by locating and removing dead weight, running duplication and linting scans, fixing safe issues, and surfacing items that require human judgment across JS/TS and Python projects.
Core Features & Use Cases
- Automated scans and fixes: runs jscpd, knip/vulture, madge, ESLint/Biome, or ruff and applies safe auto-fixes where possible.
- Dead code elimination and cleanup: identifies legacy code, stubs, AI-generated slop, noisy comments, and removes them in a separate commit to preserve history.
- Structural analysis and modernization (full mode): detects oversized files, circular dependencies, React anti-patterns, duplicate types, and proposes extraction or consolidation plans while enforcing small, reviewable change batches.
- Use case: ideal for periodic maintenance days, preparing a repository for upgrades, or reducing noise before major feature development.
Quick Start
Run the refactor skill in quick mode to scan and auto-fix linting, duplication, and dead-code issues in the repository.