What problem does it solve?
Large, monolithic code files across Rust, Python, C++, JavaScript, and Markdown can be hard to maintain, measure, and refactor; code-shorters automates modularization and restructuring to improve readability and maintainability.
Core Features & Use Cases
- Scans repositories to count lines (including comments), detects language by extension and content, and classifies files into warning (130-249 lines) or critical (≥250 lines) categories.
- Validates Git environment before performing changes, then sequentially triggers language-specific sub-skills to refactor files while preserving behavior.
- Generates a prioritized plan and visualization reports, and can batch-refactor multiple files across languages in one pass.
Quick Start
Run the main dispatcher to analyze a repository and automatically refactor long files by delegating to language-specific sub-skills.