skills/smithery.ai/rails-conventions

rails-conventions

SKILL.md

Rails Conventions

Comprehensive guide to Ruby on Rails conventions, the Rails Way philosophy, and best practices for organizing Rails 7+ applications.

Core Philosophy

Rails follows "Convention over Configuration" - sensible defaults reduce decision fatigue and boilerplate. Learn the conventions to write less code and collaborate effectively.

The Rails Way Principles

  1. DRY (Don't Repeat Yourself) - Extract duplication into helpers, concerns, or services
  2. Convention over Configuration - Follow naming patterns, get automatic wiring
  3. Fat Models, Skinny Controllers - Business logic in models, controllers handle HTTP
  4. RESTful Design - Resources map to standard CRUD actions

File Structure (Rails 7+)

Installs
2
First Seen
Mar 26, 2026