What problem does it solve?
This Skill eliminates inconsistent Rails code, misplaced business logic, and deviation from framework defaults that lead to hard-to-maintain, fragile applications.
Core Features & Use Cases
- Full-stack Rails convention guidance: Covers architecture, models, controllers, database migrations, testing, Hotwire, Inertia, routing, and i18n for end-to-end Rails development.
- Code review and refactoring support: Provides concrete rules to identify anti-patterns like overly broad models, misplaced business logic in controllers, and unnecessary abstractions during reviews or refactors.
- Use Case: Use this when building a new Rails app, refactoring legacy Rails code, or reviewing pull requests for Rails projects to ensure all code adheres to Rails defaults and domain-driven best practices.
Quick Start
Use the rails skill to review your Rails app's controller and model structure for adherence to framework conventions and proper layer separation.