Community Ruby Refactoring Best Practices Comprehensive refactoring guide for Ruby applications, maintained by the community. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation. When to Apply Reference these guidelines when: - Refactoring Ruby code to reduce complexity and improve design - Extracting methods, classes, or value objects from large units - Simplifying complex conditionals and deep nesting - Reducing coupling between classes and modules - Adopting idiomatic Ruby patterns and modern Ruby 3.x features Rule Categories by P…