概要
The Rails Refactorer skill transforms complex or legacy Rails codebases into maintainable, production-grade applications by enforcing strict architectural standards. It systematically refactors thick controllers into service objects, cleans up models using concerns and scopes, and applies Sandi Metz's rules for object-oriented design. By proactively analyzing test coverage before making changes, this skill ensures that every optimization preserves existing functionality while significantly improving code readability, performance, and long-term scalability.