What problem does it solve?
This Skill provides comprehensive guidance on writing idiomatic, maintainable, and efficient Ruby code, helping developers adhere to best practices and community standards.
Core Features & Use Cases
- Idiomatic Ruby: Learn best practices for blocks, procs, lambdas, symbols vs. strings, and more.
- Gems and Bundler: Understand
Gemfile best practices and essential bundle commands.
- Style Guide: Follow RuboCop standards for code layout, naming, and method organization.
- Performance Patterns: Optimize for memory, efficient iteration, and string manipulation.
- Error Handling: Implement robust error handling with custom exceptions and rescue best practices.
- Design Patterns: Explore Service Objects, Form Objects, Decorators, Query Objects, Policy Objects, and Value Objects.
- Testing Patterns: Learn RSpec best practices for writing effective tests.
- Key Principles: Understand core Ruby development philosophies.
Quick Start
Use the ruby-patterns skill to learn about using symbols versus strings in Ruby.