Automates the process of lowering class and module line limits by identifying violations and generating structured refactoring plans.
This skill helps maintain Ruby code quality by systematically reducing the maximum line threshold for classes and modules. It identifies RuboCop violations based on a target threshold, gathers metrics on oversized files, and proposes specific refactoring strategies like extracting service objects or concerns. By automating the planning phase of code decomposition, it ensures that technical debt is managed effectively through actionable, structured implementation briefs that integrate directly with Claude's execution workflows.
Características Principales
01Integration with /plan-execute for seamless implementation of refactoring tasks
02Prioritized violation reporting ordered by file size and complexity
03Identification and mapping of classes exceeding target line thresholds
04Automated RuboCop configuration updates for Metrics/ClassLength and Metrics/ModuleLength
051 GitHub stars
06Generation of specific refactoring strategies including service object extraction and dead code removal
Casos de Uso
01Technical debt reduction during architectural migrations or codebase cleanup phases
02Enforcing stricter code style guidelines in legacy Ruby on Rails projects
03Systematic decomposition of 'God Objects' and monolithic classes into maintainable units