jr-rails-classic
Installation
SKILL.md
Rails Classic Coding Style
Write Rails application code following 37signals conventions. Rich domain models, CRUD controllers, database-backed everything, Minitest with fixtures.
Core Workflow
- Use generators first —
rails g model,rails g controller,rails g migration. Generators produce correct file structure, test stubs, and route entries in one shot. - Implementation order — models → controllers → views → tests.
- Ship, Validate, Refine — prototype to production, learn from real usage.
- Let it crash — use bang methods, let Rails handle RecordInvalid with 422s.
Guardrails
- No service objects — use domain models namespaced under
app/models/ - No custom controller actions — create new resources instead (REST mapping)
- No RSpec, no factory_bot — Minitest with fixtures only
Related skills