What problem does it solve?
Many Rails projects drift away from best‑practice conventions, leading to hard‑to‑maintain code, hidden bugs, and unnecessary infrastructure complexity. This Skill helps teams stay aligned with Rails idioms and modern Rails 7/8 conventions.
Core Features & Use Cases
- Iron Laws: Enforces core Rails principles such as controller responsibility, explicit parameter shaping, and boring callbacks.
- Solid Stack Guidance: Recommends Solid Queue, Solid Cache, and Solid Cable alternatives to Redis for moderate‑throughput workloads.
- Quick Reference & References: Provides ready‑to‑use code snippets, pattern checklists, and extensive markdown references covering controllers, callbacks, Active Record scopes, async queries, authentication, testing, deployment, and more.
- Use Case Example: When adding a new controller, run this Skill to verify that callbacks are simple, parameters are strongly permitted, and background jobs use the appropriate queue.
Quick Start
Use the rails-idioms skill to analyze your Rails app and suggest idiomatic improvements.