+Added Ruby file extension support to the code simplification pipeline, enabling the tool to properly identify and process `.rb`, `.rake`, `.gemspec`, `.ru`, and `.erb` files (#44). A comprehensive Ruby code simplification skill has been introduced, targeting Ruby 3.4+ and Rails 8, covering modern idioms (pattern matching, endless methods, hash shorthand), Rails-specific patterns (model macros, Strong Parameters, Solid Queue), and best practices for clarity and maintainability. The skill emphasizes preserving functionality while reducing complexity through guard clauses, guard clauses, eliminating dead code, and leveraging standard library methods—backed by automated tooling (RuboCop, Brakeman, Rails test suite) for verification.
0 commit comments