What problem does it solve?
This Skill provides a comprehensive guide and best practices for developing modern Ruby on Rails applications, focusing on service-oriented architecture, robust validation, and efficient background job processing.
Core Features & Use Cases
- Service-Oriented Architecture: Enforces separation of concerns with dedicated services, forms, and filters.
- Validation Contracts: Utilizes Dry-validation for declarative and robust input validation.
- Background Jobs: Integrates with Sidekiq and Solid Queue for asynchronous task processing.
- Hotwire Integration: Supports modern, real-time web interactions with Turbo and Stimulus.
- Use Case: Develop a new feature in a Rails application, ensuring all business logic is in services, user input is validated via contracts, and any long-running tasks are handled by background jobs.
Quick Start
Use the rails skill to generate a new Rails service object for handling user registration.