rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
CQS (Command-Query Separation) principle - methods should be either queries or commands, rarely both.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
CQS (Command-Query Separation) principle - methods should be either queries or commands, rarely both.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
Always perform changes in really small steps, modifying one file at a time at most.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
Law of Demeter - avoid calling methods on objects returned by other method calls.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
Ruby service object pattern with private new method and public call method.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
Ruby testing conventions with matching spec files and TDD workflow.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
Sandi Metz rules for developers - method length, arguments, class size, and Rails controller structure.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
Separate structural from behavioral changes - never do both types at the same time.
rodrigovilina/ruby_cursor_rules
Cursor rule Cursor
TDD workflow with single test additions and minimal code changes.