rails-conventions
Installation
SKILL.md
Rails Conventions
Opinionated Rails patterns for clean, maintainable code.
Core Philosophy
-
Duplication > Complexity: Simple duplicated code beats complex DRY abstractions
- "I'd rather have four simple controllers than three complex ones"
-
Testability = Quality: If it's hard to test, structure needs refactoring
-
Adding controllers is never bad. Making controllers complex IS bad.
Turbo Streams
Simple turbo streams MUST be inline in controllers: